|
Contiki 3.x
|
This platform supports a number of different boards: More...
Modules | |
| CC13xx/CC26xx peripheral driver pool | |
| Drivers for peripherals present on more than one CC13xx/CC26xx board. | |
| LaunchPad peripherals | |
| Defines related to LaunchPad peripherals. | |
| Sensortag Peripherals | |
| Defines related to the CC2650 Sensortag. | |
| SmartRF06EB + CC13xx/CC26xx common | |
| Defines related to the SmartRF06 Evaluation Board irrespective of the EM mounted on it. | |
| Peripherals for the SmartRF06EB + CC1310EM | |
| Defines related to the SmartRF06 Evaluation Board with a CC1310EM. | |
| Peripherals for the SmartRF06EB + CC26xxEM | |
| Defines related to the SmartRF06 Evaluation Board with a CC26xxEM. | |
Files | |
| file | contiki-conf.h |
| Configuration for the srf06-cc26xx platform. | |
| file | board-peripherals.h |
| Header file with definitions related to the sensors on the Sensortag-CC26xx. | |
Functions | |
| void | board_init (void) |
| Board specific iniatialisation. More... | |
| int | main (void) |
| Main function for CC26xx-based platforms. More... | |
IEEE address configuration | |
| #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. | |
RF configuration | |
| #define | IEEE802154_CONF_PANID 0xABCD |
| Default PAN ID. | |
| #define | IEEE_MODE_CONF_AUTOACK 1 |
| RF H/W generates ACKs. | |
| #define | IEEE_MODE_CONF_PROMISCOUS 0 |
| 1 to enable promiscous mode | |
| #define | RF_BLE_CONF_ENABLED 0 |
| 0 to disable BLE support | |
| #define | PROP_MODE_CONF_SNIFFER 0 |
| 1 to enable sniffer mode | |
This platform supports a number of different boards:
| void board_init | ( | void | ) |
| int main | ( | void | ) |
Main function for CC26xx-based platforms.
This is main...
The same main() is used for all supported boards
Definition at line 134 of file contiki-main.c.
References board_init(), cc26xx_uart_init(), clock_init(), ctimer_init(), gpio_interrupt_init(), LEDS_ORANGE, linkaddr_node_addr, lpm_drop(), lpm_init(), NULL, oscillators_select_lf_xosc(), process_init(), process_run(), process_start(), random_init(), rtimer_init(), soc_rtc_init(), uip_lladdr, watchdog_init(), watchdog_periodic(), and watchdog_start().
1.8.6