![]() |
Contiki-NG
|
Configuration for the Zoul-based platforms. More...
#include <stdint.h>#include <string.h>#include <inttypes.h>#include "cc2538-def.h"#include "board.h"#include "cc2538-conf.h"Go to the source code of this file.
Macros | |
Serial Boot Loader Backdoor configuration | |
| #define | FLASH_CCA_CONF_BOOTLDR_BACKDOOR 1 |
| Enable the boot loader backdoor. | |
| #define | FLASH_CCA_CONF_BOOTLDR_BACKDOOR_PORT_A_PIN 3 |
| Pin PA_3 (user button), activates the boot loader. | |
| #define | FLASH_CCA_CONF_BOOTLDR_BACKDOOR_ACTIVE_HIGH 0 |
| A logic low level activates the boot loader. | |
CC2538 System Control configuration | |
| #define | SYS_CTRL_CONF_OSC32K_USE_XTAL 1 |
| Use the on-board 32.768-kHz crystal. | |
Radio Configuration | |
LPM configuration | |
| #define | LPM_CONF_ENABLE 1 |
| Set to 0 to disable LPM entirely. | |
| #define | LPM_CONF_MAX_PM 2 |
| Maximum PM. | |
| #define | LPM_CONF_STATS 0 |
| Set to 1 to enable LPM-related stats. | |
RTC | |
Configuration for the Zoul-based platforms.
Definition in file contiki-conf.h.
| #define LPM_CONF_MAX_PM 2 |
Maximum PM.
The SoC will never drop to a Power Mode deeper than the one specified here. 0 for PM0, 1 for PM1 and 2 for PM2
Definition at line 175 of file contiki-conf.h.