mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 15:13:34 +08:00
boards: ARK Pi6X Initial Commit
This commit is contained in:
@@ -71,6 +71,14 @@ const mcu_rev_t silicon_revs[] = {
|
||||
{MCU_REV_Z, 'Z'}, /* Revision Z */
|
||||
};
|
||||
|
||||
/*
|
||||
* If APP_RESERVATION_SIZE is greater than 0 and
|
||||
* FLASH_BASED_PARAMS is defined, throw a compile error
|
||||
*/
|
||||
#if defined(FLASH_BASED_PARAMS) && (APP_RESERVATION_SIZE <= 0)
|
||||
# error "APP_RESERVATION_SIZE must be greater than 0 if FLASH_BASED_PARAMS is defined"
|
||||
#endif
|
||||
|
||||
#define APP_SIZE_MAX (BOARD_FLASH_SIZE - (BOOTLOADER_RESERVATION_SIZE + APP_RESERVATION_SIZE))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user