Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few small pic32 fixes #3165

Merged
merged 4 commits into from
Mar 16, 2024
Merged

Few small pic32 fixes #3165

merged 4 commits into from
Mar 16, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Mar 15, 2024

  • I2C_4 was incorrectly initialized
  • added missing hal_gpio_deinit() function
  • added support for link_tables.ld.h
  • fix of .sdata2 section placement

kasjer added 4 commits March 15, 2024 14:42
One of hal_gpio functions was not implemented and
now it is added like for other MCU's

Signed-off-by: Jerzy Kasenberg <[email protected]>
This add support for link tables.
Linker script now includes newt generated include file
into .rodata section.

Signed-off-by: Jerzy Kasenberg <[email protected]>
.sdata2. section is meant to be placed in RAM not in
flash.

Now .sdata2 has no destination specified and is manged
by linker internally.

Signed-off-by: Jerzy Kasenberg <[email protected]>
For I2C_4 (if enabled) configuration was using i2c_3_cfg data
instead of i2c_4_cfg, it is now corrected.

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer requested a review from sjanc March 15, 2024 13:44
@kasjer kasjer merged commit 17e9a52 into apache:master Mar 16, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/pic32-fixes branch March 16, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants