Closed laurijamsa closed 8 years ago
why don't use custom_board.h ?? and #ifdef RUUVITAG_HW_REV_XXX inside that? that way no patching (endless) is required.
Because no custom_board.h exists...
how about creating one :smile:
custom_board.h
#ifdef BOARD_RUUVITAG_B1
#include "ruuvitag_b1.h"
#endif
and defining both BOARD_CUSTOM
and BOARD_RUUVITAG_B1
for build ?
the SDK includes are sooooo bad... (once again)
At the moment SDK requires some patching to compile example FW project correctly:
1) in SDK/examples/bsp/boards.h #elif defined(BOARD_CUSTOM) #include "custom_board.h" to #elif defined(BOARD_RUUVITAG_B1) #include "../../../ruuvitag_b1.h"
2) "Set the maximum number of characteristic client descriptors in the file device_manager_cnfg.h (located in \components\ble\device_manager\config):" #define DM_GATT_CCCD_COUNT 4