SWRA446 February 2015 CC1310 , CC1310 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA
The file called ‘makedefs’ defines project independent variables, which are explained in this section. The file is included in the makefile.
CC | This variable should defines the compiler command for your GCC compiler |
OBJCOPY | This variable should define the compiler command for copying a binary file. |
CHIP_ID | This variable should define the device that is used. |
If using Linux, the complete path to the above commands is required. ‘makedefs’ includes a section that can be commented out in order to solve this. You must then update the COMPILERPATH variable to your GCC compiler installation path.
The next variables are defined differently whether the makefile is run on Windows or Linux.
RMDIR | Command for deleting a directory. |
RM | Command for deleting a file. |
SLASH | This variable is need where windows require backslashes and Linux require forward slashes. |