Open bpmooch opened 3 years ago
Fun find: Changing the CMAKE_BUILD_TYPE
to anything but Release
will break the px4_fmu-v5 target from compiling (typically with a stack overflow Wframe-larger-than
error). This is because the Release
target by default injects two compiler flags for gcc: -Os
and -DNDEBUG
.
-Os
sets gcc's Optimize Options to optimize for size. Ref-DNDEBUG
disables all assert() functions. Ref and RefAppending these two compiler flags onto the px4_fmu-v5 target solves the issue of not being able to compile.
This ticket captures the implementation details requirements coming out the delivered Flight Controller STIG
Internal spreadsheet view of PX4 STIG
PX4 STIG Deliverable spreadsheet
PX4-Autopilot Acceptance Criteria
xmlrpc
lib which can be removed from nuttx-apps repo (reference issue)"Turbotax" Acceptance Criteria