Add more to Voxl2 build and fix associated build errors (#20821)

- Do not pull in PWM parameters when DISABLE_PARAMS_MODULE_SCOPING is TRUE since VOXL2 has no PWM nor any of the required timer_config files that go along with that
 - Replace non-standard M_PI constants with PX4 defined M_PI_F constants
 - Include missing header file for function hrt_absolute_time declaration
 - Add new PX4_SOC_ARCH_ID for the VOXL2 board
This commit is contained in:
Eric Katzfey
2022-12-22 15:44:19 -05:00
committed by GitHub
parent 35a9dba6e6
commit c3e70b03aa
11 changed files with 42 additions and 4 deletions
@@ -351,6 +351,8 @@ typedef enum PX4_SOC_ARCH_ID_t {
PX4_SOC_ARCH_ID_BBBLUE = 0x1008,
PX4_SOC_ARCH_ID_VOXL2 = 0x100A,
} PX4_SOC_ARCH_ID_t;