bigger partitions, port to -v5 boards

This commit is contained in:
Thaddeus Hughes
2026-04-21 15:14:14 -05:00
parent b0b317a0fe
commit a775999c87
60 changed files with 1164 additions and 22 deletions

18
main/board_config.h Normal file
View File

@@ -0,0 +1,18 @@
/*
* board_config.h — hardware revision selection
*
* V5 is the active board. V4 builds are kept working as an afterthought;
* comment BOARD_V5 and uncomment BOARD_V4 to build V4 firmware.
*/
#ifndef MAIN_BOARD_CONFIG_H_
#define MAIN_BOARD_CONFIG_H_
#define BOARD_V5
// #define BOARD_V4
#if defined(BOARD_V5) == defined(BOARD_V4)
#error "Define exactly one of BOARD_V5 or BOARD_V4 in board_config.h"
#endif
#endif /* MAIN_BOARD_CONFIG_H_ */