boards: CUAV Nora enable UAVCAN

This commit is contained in:
gitfishup 2020-09-02 09:16:17 +08:00 committed by GitHub
parent e56dfe6497
commit f3579e473b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -9,7 +9,8 @@ px4_add_board(
ROMFSROOT px4fmu_common ROMFSROOT px4fmu_common
BUILD_BOOTLOADER BUILD_BOOTLOADER
TESTING TESTING
# UAVCAN_INTERFACES 2 - No H7 or FD can support in UAVCAN UAVCAN_INTERFACES 2
UAVCAN_TIMER_OVERRIDE 2
SERIAL_PORTS SERIAL_PORTS
GPS1:/dev/ttyS0 GPS1:/dev/ttyS0
TEL1:/dev/ttyS1 TEL1:/dev/ttyS1
@ -53,7 +54,7 @@ px4_add_board(
telemetry # all available telemetry drivers telemetry # all available telemetry drivers
test_ppm test_ppm
tone_alarm tone_alarm
# uavcan - No H7 or FD can support in UAVCAN yet uavcan
MODULES MODULES
airspeed_selector airspeed_selector
attitude_estimator_q attitude_estimator_q

View File

@ -4,7 +4,7 @@
"description": "Firmware for the CUAV Nora board", "description": "Firmware for the CUAV Nora board",
"image": "", "image": "",
"build_time": 0, "build_time": 0,
"summary": "NOra", "summary": "Nora",
"version": "0.1", "version": "0.1",
"image_size": 0, "image_size": 0,
"image_maxsize": 1966080, "image_maxsize": 1966080,

View File

@ -193,6 +193,9 @@
#define STM32_RCC_D3CCIPR_SPI6SRC RCC_D3CCIPR_SPI6SEL_PLL2 /* SPI6 clock source */ #define STM32_RCC_D3CCIPR_SPI6SRC RCC_D3CCIPR_SPI6SEL_PLL2 /* SPI6 clock source */
#define STM32_RCC_D2CCIP2R_USBSRC RCC_D2CCIP2R_USBSEL_PLL3 /* USB 1 and 2 clock source */ #define STM32_RCC_D2CCIP2R_USBSRC RCC_D2CCIP2R_USBSEL_PLL3 /* USB 1 and 2 clock source */
#define STM32_RCC_D3CCIPR_ADCSEL RCC_D3CCIPR_ADCSEL_PLL2 /* ADC 1 2 3 clock source */ #define STM32_RCC_D3CCIPR_ADCSEL RCC_D3CCIPR_ADCSEL_PLL2 /* ADC 1 2 3 clock source */
#define STM32_RCC_D2CCIP1R_FDCANSEL RCC_D2CCIP1R_FDCANSEL_HSE /* FDCAN 1 2 clock source */
#define STM32_FDCANCLK STM32_HSE_FREQUENCY
/* FLASH wait states */ /* FLASH wait states */
#define BOARD_FLASH_WAITSTATES 2 #define BOARD_FLASH_WAITSTATES 2

View File

@ -10,7 +10,7 @@ px4_add_board(
BUILD_BOOTLOADER BUILD_BOOTLOADER
TESTING TESTING
UAVCAN_INTERFACES 2 UAVCAN_INTERFACES 2
UAVCAN_TIMER_OVERRIDE 2 UAVCAN_TIMER_OVERRIDE 2
SERIAL_PORTS SERIAL_PORTS
GPS1:/dev/ttyS0 GPS1:/dev/ttyS0
TEL1:/dev/ttyS1 TEL1:/dev/ttyS1