mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:23:35 +08:00
Adding zubaxgnss-v1 bootloader
This commit is contained in:
committed by
Lorenz Meier
parent
276bf47865
commit
1b17bc74b2
@@ -0,0 +1,30 @@
|
||||
include(nuttx/px4_impl_nuttx)
|
||||
|
||||
px4_nuttx_configure(HWCLASS m3 CONFIG bootloader)
|
||||
|
||||
set(px4_src_base ${CMAKE_SOURCE_DIR}/src/)
|
||||
set(px4_bootloader_base ${px4_src_base}drivers/bootloaders/)
|
||||
set(px4_module_base ${px4_src_base}modules/)
|
||||
|
||||
#
|
||||
# UAVCAN boot loadable Module ID
|
||||
|
||||
#
|
||||
# Bring in common uavcan hardware identity definitions
|
||||
#
|
||||
|
||||
include(configs/uavcan_board_ident/zubaxgnss-v1)
|
||||
|
||||
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-none-eabi.cmake)
|
||||
|
||||
set(config_module_list
|
||||
|
||||
drivers/boards/zubaxgnss-v1/bootloader
|
||||
|
||||
)
|
||||
|
||||
#
|
||||
# Bootloaders use a compact vector table not
|
||||
# from the lib, but exported in startup
|
||||
#
|
||||
set(nuttx_startup_files stm32_vectors.o)
|
||||
Reference in New Issue
Block a user