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:
parent
ea45f9a5b9
commit
b6b76d1b88
9 changed files with 31 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue