The Make.defs compisition is ARCHWARNINGS = $(PX4_ARCHWARNINGS) ARCHCWARNINGS = $(PX4_ARCHWARNINGS) $(PX4_ARCHCWARNINGS) ARCHWARNINGSXX = $(ARCHWARNINGS) $(PX4_ARCHWARNINGSXX) so the pieces from nuttx-configs/PX4_Warnings.mk should not be combined.
Reinstate unused checks.
cmake combine NuttX copy and export -NuttX wasn't recopying if it fails to compile