From 93290ddec1fd60d707689c002e24dbef8cdc463c Mon Sep 17 00:00:00 2001 From: Ian Martin Date: Mon, 10 Nov 2014 14:14:46 -0500 Subject: [PATCH] boards/cc2538dk: allow the application's makefile to override the UPDATE_CCA parameter, for example: CFLAGS += -DUPDATE_CCA=0 --- boards/cc2538dk/include/board.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/cc2538dk/include/board.h b/boards/cc2538dk/include/board.h index ec11e588bb..80731fd736 100644 --- a/boards/cc2538dk/include/board.h +++ b/boards/cc2538dk/include/board.h @@ -81,7 +81,11 @@ extern "C" { * @name Flash Customer Configuration Area (CCA) parameters * @{ */ + +#ifndef UPDATE_CCA #define UPDATE_CCA 1 +#endif + #define CCA_BACKDOOR_ENABLE 1 #define CCA_BACKDOOR_PORT_A_PIN 3 /**< Select button */ #define CCA_BACKDOOR_ACTIVE_LEVEL 0 /**< Active low */