How to get ARM target SDRAM and FLASH before compilation?

Is there a trivial source I can use to get the SDRAM and FLASH sizes of ARM microcontrollers? The targets,json file in mbed_os was my first thought however, no dice.

The idea is to create a list of possible targets which would support an applications requirements, rather than trying to fit the application onto a specific device.

I’m using mbed cli and arm-none-eabi-gcc tools also. Happy for the data to be pulled from online sources or from the compilers help details via command line operations.

Thoughts?

The linker scripts contain this information.

1 Like

Perfect. Thanks