boards/cc2538dk: allow the application's makefile to override the UPDATE_CCA parameter, for example:

CFLAGS += -DUPDATE_CCA=0
This commit is contained in:
Ian Martin 2014-11-10 14:14:46 -05:00
parent 037571445c
commit 93290ddec1

View File

@ -81,7 +81,11 @@ extern "C" {
* @name Flash Customer Configuration Area (CCA) parameters * @name Flash Customer Configuration Area (CCA) parameters
* @{ * @{
*/ */
#ifndef UPDATE_CCA
#define UPDATE_CCA 1 #define UPDATE_CCA 1
#endif
#define CCA_BACKDOOR_ENABLE 1 #define CCA_BACKDOOR_ENABLE 1
#define CCA_BACKDOOR_PORT_A_PIN 3 /**< Select button */ #define CCA_BACKDOOR_PORT_A_PIN 3 /**< Select button */
#define CCA_BACKDOOR_ACTIVE_LEVEL 0 /**< Active low */ #define CCA_BACKDOOR_ACTIVE_LEVEL 0 /**< Active low */