1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Adding board scratch space.

- Including ability to define custom defaults as char[] that is baked into the build
- removed unnecessary size of custom defaults header parsing (defines provided by build process or in board.h for devs).
This commit is contained in:
blckmn 2022-10-23 12:43:31 +11:00
parent ea45f9a5b9
commit b6b76d1b88
9 changed files with 31 additions and 55 deletions

View file

@ -30,8 +30,10 @@
#define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
#ifndef BOARD_NAME
#define BOARD_NAME FC_FIRMWARE_NAME
#ifndef __BOARD__
#define BOARD_NAME FC_FIRMWARE_NAME
#else
#define BOARD_NAME __BOARD__
#endif
#ifndef MANUFACTURER_ID