Hi All.
In "Creating a Custom Board File" says:
"Duplicate existing board files from existing CC26X2R1_LAUNCHXL
board files. These files can be found at: <SDK_INSTALL_DIR>\source\ti\boards\CC26X2R1_LAUNCHXL. Create a copy of the
CC26X2R1_LAUNCHXL
directory and give it a unique meaningful name for your development platform."
Ok.
In this folder we see list of files:
Board.h
Board.html
CC1352R1_LAUNCHXL.c
CC1352R1_LAUNCHXL.h
CC1352R1_LAUNCHXL_fxns.c
CC1352R1_LAUNCHXL_NoRTOS.cmd
CC1352R1_LAUNCHXL_NoRTOS.icf
CC1352R1_LAUNCHXL_NoRTOS.lds
CC1352R1_LAUNCHXL_TIRTOS.cmd
CC1352R1_LAUNCHXL_TIRTOS.icf
CC1352R1_LAUNCHXL_TIRTOS.lds
Read the article further : "In the MYBOARD
directory, rename CC26X2R1_LAUNCHXL.c
and CC26X2R1_LAUNCHXL.h
to their MYBOARD.c
and MYBOARD.h
respectively."
Question 1: Do I need to rename the rest of the files (*.cmd, *.icf, *.lds and *fxns.c)?
If we open <SDK_INSTALL_DIR>
\source\ti\ble5stack\target\cc1352r1lp\cc1352r1lp_board.c file
in string
#include "../../boards/CC1352R1_LAUNCHXL/CC1352R1_LAUNCHXL.c"
refers to file in ti/ble5stack/boards/CC26X2R1_LAUNCHXL folder
,
but in our implementation they offer to refer to "ti/boards/..."
folder.
Question 2: May be we need to duplicate "<SDK_INSTALL_DIR>/source/ti/ble5stack/boards/
CC26X2R1_LAUNCHXL
" folder?
Question 3: why do you need a folder "<SDK_INSTALL_DIR>\source\ti\ble5stack\boards\
" if we have "<SDK_INSTALL_DIR>\source\ti\boards\" folder.
Thanks!