diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef-bl.dat index c9b65a069f..e048f428f4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef-bl.dat @@ -15,8 +15,8 @@ APJ_BOARD_ID 1064 # setup build for a peripheral firmware env AP_PERIPH 1 -# crystal frequency set to 0 to use internal clock -OSCILLATOR_HZ 0 +# crystal frequency set to 0 to use internal clock; currently configured for external crystal 12MHZ +OSCILLATOR_HZ 12000000 # assume 1024K flash part FLASH_SIZE_KB 1024 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat index ce9333e202..26a794ca83 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat @@ -16,8 +16,10 @@ APJ_BOARD_ID 1064 # setup build for a peripheral firmware env AP_PERIPH 1 -# crystal frequency set to 0 to use internal clock -OSCILLATOR_HZ 0 +# crystal frequency set to 0 to use internal clock; currently configured for external crystal 12MHZ +OSCILLATOR_HZ 12000000 + +define AP_CUSTOM_FIRMWARE_STRING "CarboPilot V5.0.1-dev" #MCU F405 Flash 1024 FLASH_SIZE_KB 1024 @@ -115,33 +117,9 @@ define HAL_NO_MONITOR_THREAD define AP_PARAM_MAX_EMBEDDED_PARAM 512 -define CAN_APP_NODE_NAME "org.ardupilot.CarbonixF405" - -define HAL_PERIPH_ENABLE_MAG -define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_RC_OUT # enable ESC control define HAL_SUPPORT_RCOUT_SERIAL 1 -define HAL_WITH_ESC_TELEM 1 - -# enable GPS -define HAL_PERIPH_ENABLE_GPS -define HAL_PERIPH_GPS_PORT_DEFAULT 2 -#define HAL_PERIPH_ENABLE_NOTIFY -#define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY - -# default ADSB off by setting 0 baudrate -define HAL_PERIPH_ENABLE_ADSB -define HAL_PERIPH_ADSB_PORT_DEFAULT 3 -define HAL_PERIPH_ADSB_BAUD_DEFAULT 57600 - -BARO MS56XX I2C:0:0x76 -COMPASS MMC5XX3 I2C:0:0x30 false ROTATION_NONE - -define AP_COMPASS_QMC5883P_ENABLED 1 -COMPASS QMC5883P I2C:0:0x2C false ROTATION_YAW_180 - - - +define HAL_PERIPH_ARM_MONITORING_ENABLE 1 \ No newline at end of file