boards/firefly/doc.md
@defgroup boards_firefly Firefly Board @ingroup boards @brief Support for the Firefly board
\htmlonly<style>div.image img[src="http://i.imgur.com/m2acovV.png?1"] {width:400px;}</style>\endhtmlonly @image html "http://i.imgur.com/m2acovV.png?1" "Firefly"
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:
On Linux and macOS 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 macOS, /dev/tty.SLAB_USBtoUARTx.
On Linux:
ttyUSB0ttyACMn (n=0, 1, ....)To emulate this board you need an updated version of renode installed, at least version 1.9.
BOARD=firefly make all emulate