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

MAX32690 (and others) Reference .ld files #1273

Open
rhempel opened this issue Nov 17, 2024 · 1 comment
Open

MAX32690 (and others) Reference .ld files #1273

rhempel opened this issue Nov 17, 2024 · 1 comment

Comments

@rhempel
Copy link

rhempel commented Nov 17, 2024

Is there a single place where we can find reference linker scripts for MAX32xxx devices?

I am updating my multi-target build system (https://github.com/rhempel/adaptabuild-example) to support the MAX32690FTHR and to simplify the setup, I am using source files from the hal_adi repo.

Here I can find the source for all of the peripheral drivers, C runtime startup, etc.

But there is no default linker script (*.ld) for these devices for either RAM or FLASH based debugging.

I have found a few random.ld files on the web and in the analogdevicesinc group or repos but would be happier if there was a canonical source from AD.

The little PICO debugger works great under Linux and I can communicate with the 32690FTHR board - the driver library builds clean, I just need a few missing parts like a good linker script to get it all working.

@rhempel
Copy link
Author

rhempel commented Nov 18, 2024

I can see that there are .pack files available here:

https://www.keil.arm.com/packs/?q=&pack-search=&vendor=maxim&sort_by=

... but would it be possible to put the contents of each of these .pack files into a separate repo here on GitHub?

ST has separate diver and CMSIS repos for each of their STM32 families, but I still had to reach into the CUBEMX repos to get sample linker scripts - so that's not perfect either.

A good compromise (for me) would be to either have separate repos for the .pack files, or to add the contents to the "hal_adi" repo as a reference.

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

No branches or pull requests

1 participant