The cc2538DK is a platform by Texas Instruments, based on the cc2538 SoC with an ARM Cortex-M3 core.
More...
|
| int | main (void) |
| | Main routine for the cc2538dk platform. More...
|
| |
|
Those values are not meant to be modified by the user
|
|
typedef uint32_t | clock_time_t |
| |
|
typedef uint32_t | uip_stats_t |
| |
|
typedef uint32_t | rtimer_clock_t |
| |
|
#define | CLOCK_CONF_SECOND 128 |
| |
|
#define | CCIF |
| |
|
#define | CLIF |
| |
|
#define | RTIMER_CLOCK_DIFF(a, b) ((int32_t)((a)-(b))) |
| |
|
Those values are not meant to be modified by the user, except where stated otherwise
|
|
#define | CTRL_EP_SIZE 8 |
| |
|
#define | USB_EP1_SIZE 32 |
| |
|
#define | USB_EP2_SIZE 64 |
| |
|
#define | USB_EP3_SIZE 64 |
| |
|
#define | USB_ARCH_WRITE_NOTIFY 0 |
| |
|
#define | USB_ARCH_CONF_DMA 1 |
| | Change to Enable/Disable USB DMA.
|
| |
|
|
#define | NETSTACK_CONF_NETWORK sicslowpan_driver |
| |
|
#define | NETSTACK_CONF_MAC csma_driver |
| |
|
#define | NETSTACK_CONF_RDC contikimac_driver |
| |
|
#define | NULLRDC_802154_AUTOACK 1 |
| |
|
#define | NULLRDC_802154_AUTOACK_HW 1 |
| |
|
#define | CONTIKIMAC_CONF_WITH_PHASE_OPTIMIZATION 0 |
| |
|
#define | WITH_FAST_SLEEP 1 |
| |
|
#define | NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8 |
| |
|
#define | NETSTACK_CONF_FRAMER framer_802154 |
| |
|
#define | NETSTACK_CONF_RADIO cc2538_rf_driver |
| |
|
Used to generate our RIME & IPv6 address
|
|
#define | IEEE_ADDR_CONF_HARDCODED 0 |
| | Location of the IEEE address 0 => Read from InfoPage, 1 => Use a hardcoded address, configured by IEEE_ADDR_CONF_ADDRESS.
|
| |
|
#define | IEEE_ADDR_CONF_ADDRESS { 0x00, 0x12, 0x4B, 0x00, 0x89, 0xAB, 0xCD, 0xEF } |
| | The hardcoded IEEE address to be used when IEEE_ADDR_CONF_HARDCODED is defined as 1.
|
| |
|
#define | IEEE_ADDR_CONF_USE_SECONDARY_LOCATION 0 |
| | Location of the IEEE address in the InfoPage when IEEE_ADDR_CONF_HARDCODED is defined as 0 0 => Use the primary address location 1 => Use the secondary address location.
|
| |
|
|
#define | LINKADDR_CONF_SIZE 8 |
| |
|
#define | UIP_CONF_LL_802154 1 |
| |
|
#define | UIP_CONF_LLH_LEN 0 |
| |
|
#define | UIP_CONF_NETIF_MAX_ADDRESSES 3 |
| |
|
#define | UIP_CONF_TCP 1 |
| |
|
#define | UIP_CONF_TCP_MSS 64 |
| |
|
#define | UIP_CONF_UDP 1 |
| |
|
#define | UIP_CONF_UDP_CHECKSUMS 1 |
| |
|
#define | UIP_CONF_ICMP6 1 |
| |
|
#define | UIP_CONF_ROUTER 1 |
| |
|
#define | UIP_CONF_ND6_SEND_RA 0 |
| |
|
#define | UIP_CONF_IP_FORWARD 0 |
| |
|
#define | RPL_CONF_STATS 0 |
| |
|
#define | RPL_CONF_OF rpl_mrhof |
| |
|
#define | UIP_CONF_ND6_REACHABLE_TIME 600000 |
| |
|
#define | UIP_CONF_ND6_RETRANS_TIMER 10000 |
| |
|
#define | NBR_TABLE_CONF_MAX_NEIGHBORS 20 |
| |
|
#define | UIP_CONF_MAX_ROUTES 20 |
| |
|
#define | UIP_CONF_BUFFER_SIZE 1300 |
| |
|
#define | UIP_CONF_IPV6_QUEUE_PKT 0 |
| |
|
#define | UIP_CONF_IPV6_CHECKS 1 |
| |
|
#define | UIP_CONF_IPV6_REASSEMBLY 0 |
| |
|
#define | UIP_CONF_MAX_LISTENPORTS 8 |
| |
|
#define | SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06 |
| |
|
#define | SICSLOWPAN_CONF_COMPRESSION_THRESHOLD 63 |
| |
|
#define | SICSLOWPAN_CONF_FRAG 1 |
| |
|
#define | SICSLOWPAN_CONF_MAXAGE 8 |
| |
|
#define | SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 1 |
| |
|
#define | SICSLOWPAN_CONF_ADDR_CONTEXT_0 |
| |
|
#define | MAC_CONF_CHANNEL_CHECK_RATE 8 |
| |
|
#define | QUEUEBUF_CONF_NUM 8 |
| |
The cc2538DK is a platform by Texas Instruments, based on the cc2538 SoC with an ARM Cortex-M3 core.
| #define CC2538_CONF_QUIET 0 |
Define this as 1 to build a headless node.
The UART will not be initialised its clock will be gated, offering some energy savings. The USB will not be initialised either
Definition at line 212 of file contiki-conf.h.
| #define LPM_CONF_MAX_PM 1 |
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 338 of file contiki-conf.h.
Main routine for the cc2538dk platform.
This is main...
Definition at line 143 of file contiki-main.c.
References adc_init(), button_sensor_init(), clock_init(), crypto_disable(), crypto_init(), ctimer_init(), gpio_init(), INTERRUPTS_ENABLE, ioc_init(), LEDS_ORANGE, linkaddr_node_addr, lpm_enter, lpm_init(), NULL, nvic_init(), process_init(), process_run(), process_start(), random_init(), rtimer_init(), SERIAL_LINE_CONF_UART, serial_line_input_byte(), soc_print_info(), sys_ctrl_init(), uart_init(), uart_set_input(), udma_init(), uip_lladdr, usb_serial_init(), usb_serial_set_input(), watchdog_init(), watchdog_periodic(), and watchdog_start().