raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.24k stars 837 forks source link

Improve Arm Compiler 6 compatibility #1710

Open will-v-pi opened 1 month ago

will-v-pi commented 1 month ago

Add some more #ifndefs to improve compatibility with Arm Compiler 6. This branch of the SDK has been used in the RP2xxx_DFP

Additionally AC6 doesn't use the same linker scripts, so is missing the preinit_array and init_array definitions, along with some clock_t libraries used in runtime.c.

GorgonMeducer commented 1 month ago

Please also add the following changes to be compatible with cmsis 6.1.0:

image

will-v-pi commented 1 month ago

Have added those changes in - thanks