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
#define ZOUL_CONF_USE_CC1200_RADIO   0
 
#define NETSTACK_CONF_RADIO   cc2538_rf_driver
 
#define ANTENNA_SW_SELECT_DEFAULT   ANTENNA_SW_SELECT_2_4GHZ
 
LPM configuration
#define LPM_CONF_ENABLE   1
 Set to 0 to disable LPM entirely.
 
#define LPM_CONF_MAX_PM   2
 Maximum PM. More...
 
#define LPM_CONF_STATS   0
 Set to 1 to enable LPM-related stats.
 
RTC
#define RTC_CONF_INIT   0
 

Detailed Description

Configuration for the Zoul-based platforms.

Definition in file contiki-conf.h.

Macro Definition Documentation

◆ LPM_CONF_MAX_PM

#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 174 of file contiki-conf.h.