Support for the Firefly board. More...
Support for the Firefly board.
The Firefly platform (Revision A) is a IoT Hardware development platform based on TI's CC2538 system on chip (SoC), featuring an ARM Cortex-M3 with 512KiB flash, 32KiB RAM, double RF interface (Sub-1GHz CC1200 RF transceiver), and the following goodies:
In terms of hardware support, the following drivers have been implemented for the CC2538 System-on-Chip:
And under work or pending at CC2538 base CPU:
The toolchain used to build is arm-gcc, to check if it is currently installed run:
$ arm-none-eabi-gcc -v Using built-in specs. Target: arm-none-eabi Configured with: /scratch/julian/lite-respin/eabi/src/gcc-4.3/configure ... (skip) ... Thread model: single gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66)
Else install from https://launchpad.net/gcc-arm-embedded
The Firefly features a CP2104 serial-to-USB module, the driver is commonly found in most OS, but if required it can be downloaded from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
The Firefly has built-in support for USB 2.0 USB, Vendor and Product IDs are the following:
VID 0x0451 PID 0x16C8
On Linux and OS X this is straightforward, on windows you need to install the following driver:
https://github.com/alignan/lufa/blob/remote-zongle/LUFA/CodeTemplates/WindowsINF/LUFA%20CDC-ACM.inf
And replace the IDs accordingly.
For the UART, serial line settings are 115200 8N1, no flow control.
Once all drivers have been installed correctly:
On windows, devices will appear as a virtual COM
port.
On Linux, devices will appear under /dev/
.
On OS X, /dev/tty.SLAB_USBtoUARTx
.
On Linux:
ttyUSB0
ttyACMn
(n=0, 1, ....)Files | |
file | adc_params.h |
Board specific configuration of direct mapped ADC. | |
file | board.h |
Support for the Firefly board. | |
file | gpio_params.h |
Board specific configuration of direct mapped GPIOs. | |
file | periph_conf.h |
Peripheral MCU configuration for the Firefly board revision A. | |