boards: ARK Pi6X Initial Commit

This commit is contained in:
alexklimaj
2024-04-12 14:44:01 -04:00
committed by Daniel Agar
parent 65cc153d47
commit 528ad1e87d
34 changed files with 3862 additions and 4 deletions
@@ -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))