Closed HokageM closed 3 months ago
Thanks for the report, we'll investigate but did you set BAREMETAL=1? One of BAREMETAL, UNIX_USERSPACE and UNIX_KERNEL needs to be set, the default is UNIX_USERSPACE - I don't believe it's clever enough to detect that it's cross-compiling for M-profile.
Testing with "make BAREMETAL=1 CROSS_COMPILE=arm-none-eabi- ARCH=arm" hit a few compiler warnings (mostly around uint32_t), these should now be fixed. I'll leave this open in case anything else shows up.
Thank you for your fast answer! This solves the Problem.
I tried to build the library for a Cortex-M board with a ARMv7e-M architecture.
I set
ARCH=arm
andCROSS_COMPILE=Path/to/arm-none-eabi-
(gcc).The build failed with: