Tool/software: Code Composer Studio
Hello,
I have ported my SaBLE-x-R2 development board and built it and debugged it. When I start the debugging sequence and the stop it, i find out that the program is using the CC2640R2_LAUNCHXL.c board file, and not my SABLEXR2_DEV_BOARD.c . What could be the problem? The path in the main board.c file is well defined:
------------------------------------------------------------
#if defined(CC2640R2DK_CXS) || defined (CC2640R2DK_4XS) \
|| defined (CC2640R2DK_5XD) || defined (CC2640R2DK_7ID)
#include "./cc2640r2em/cc2640r2em_board.c"
#elif defined(CC2640R2_LAUNCHXL)
#include "./cc2640r2lp/cc2640r2lp_board.c"
#elif defined(CC2640R2_RC)
#include "./cc2640r2rc/cc2640r2rc_board.c"
#elif defined(CC26X2R1_LAUNCHXL)
#include "./cc2652r1lp/cc2642r1lp_board.c"
#elif defined(CC13X2R1_LAUNCHXL)
#include "./cc1352r1lp/cc1352r1lp_board.c"
#elif defined(SABLEXR2_DEV_BOARD)
#include "./sablexr2_module/sablexr2_module_board.c"
#else // unknown board
#error "***ERROR*** Invalid Board Specified! Please see board.h for options."
#endif
-------------------------------------------------------
Regards,
Alen




