Change the way we switch between cc2530 models
The switch is now performed through a configuration define, which has also been renamed to better match Contiki's naming conventions
This commit is contained in:
parent
1b0470687b
commit
f30d92b101
12 changed files with 29 additions and 19 deletions
|
@ -1,6 +1,3 @@
|
|||
# To build for the cc2531 USB stick:
|
||||
DEFINES+=MODEL_CC2531=1,
|
||||
|
||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
||||
|
||||
# We need uIPv6, therefore we also need banking
|
||||
|
|
|
@ -53,4 +53,7 @@
|
|||
|
||||
#define UIP_FALLBACK_INTERFACE slip_interface
|
||||
|
||||
/* Change to 0 to build for the SmartRF + cc2530 EM */
|
||||
#define MODELS_CONF_CC2531_USB_STICK 1
|
||||
|
||||
#endif /* PROJECT_CONF_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue