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

Unify linker scripts #443

Merged
merged 17 commits into from
Mar 20, 2023
Merged

Unify linker scripts #443

merged 17 commits into from
Mar 20, 2023

Conversation

MabezDev
Copy link
Member

@MabezDev MabezDev commented Mar 20, 2023

This PR doesn't address MCUboot or direct boot, but @bjoernQ has some good ideas in #431 for that.

Adding H2 should hopefully be straight forward and require minimal fixups (just like the C6).

@MabezDev MabezDev marked this pull request as ready for review March 20, 2023 15:07
Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for taking care of this!

@MabezDev
Copy link
Member Author

With the CI green this is ready for review! If/When we merge this could we please make sure we squash and merge, the commit history is messy, but might be somewhat useful when reviewing.

@jessebraham jessebraham merged commit 9a5a546 into esp-rs:main Mar 20, 2023
MabezDev added a commit to MabezDev/esp-hal that referenced this pull request Mar 31, 2023
* esp32 & esp32s2 sharing scripts

* add wokwi files

* Add fixup section for esp32s2, fix ordering of sectino includes

* Remove debug asm file

* Use shared linker scripts for s3 with fixups

* Add external.x sections back

* Move ld scripts into esp-hal-common

* esp32c3 unified linker scripts

- rework original c3 script to use the xtensa named sections
  (e.g, _SECTIONNAME_start)
- Add fixups in esp32c3 specific linker
- Remove useless text section start and end (not required when using any
  form of bootloader)

* Add RTC alias'. Move some shared fixups to a file

* comment and cleanup

* unify c2 linker script

* unify c6 linker script

* remove debug configs

* use new esp-riscv-rt

* fmt

* align db symbol names

* fix s3 db
i404788 pushed a commit to i404788/esp-hal that referenced this pull request Jul 22, 2023
* esp32 & esp32s2 sharing scripts

* add wokwi files

* Add fixup section for esp32s2, fix ordering of sectino includes

* Remove debug asm file

* Use shared linker scripts for s3 with fixups

* Add external.x sections back

* Move ld scripts into esp-hal-common

* esp32c3 unified linker scripts

- rework original c3 script to use the xtensa named sections
  (e.g, _SECTIONNAME_start)
- Add fixups in esp32c3 specific linker
- Remove useless text section start and end (not required when using any
  form of bootloader)

* Add RTC alias'. Move some shared fixups to a file

* comment and cleanup

* unify c2 linker script

* unify c6 linker script

* remove debug configs

* use new esp-riscv-rt

* fmt

* align db symbol names

* fix s3 db
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