diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/param/CUAV_V6X_defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/param/CUAV_V6X_defaults.parm new file mode 100644 index 0000000000..1d631c5328 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/param/CUAV_V6X_defaults.parm @@ -0,0 +1,3 @@ +BATT_MONITOR=8 +CAN_P1_DRIVER=1 +CAN_P2_DRIVER=1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index 6c48918ae9..98c0d5383b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -2941,6 +2941,7 @@ write_hwdef_header(os.path.join(outdir, "hwdef.h")) write_ldscript(os.path.join(outdir, "ldscript.ld")) romfs_add_dir(['scripts']) +romfs_add_dir(['param']) write_ROMFS(outdir)