mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 15:03:34 +08:00
Support for Raspberry PI RP2040 MCU (#18083)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
set(cpu_flags "-mcpu=cortex-m0plus -mthumb -mfloat-abi=soft") # Nuttx toochain uses -mfloat-abi=soft
|
||||
|
||||
set(CMAKE_C_FLAGS "${cpu_flags}" CACHE STRING "" FORCE)
|
||||
set(CMAKE_CXX_FLAGS "${cpu_flags}" CACHE STRING "" FORCE)
|
||||
set(CMAKE_ASM_FLAGS "${cpu_flags} -D__ASSEMBLY__" CACHE STRING "" FORCE)
|
||||
Reference in New Issue
Block a user