Core Module Development Setup - Ubuntu Desktop
- Clean install of 32-bit or 64-bit Ubuntu 16.04 LTS.
This section will guide you through GCC ARM Embedded toolchain installation on your Ubuntu desktop.
Open Terminal and add PPA repository:
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
This PPA enables seamless installation of GNU ARM Embedded Toolchain.
Update the package lists:
sudo apt update
Download and install ARM GCC compiler package:
sudo apt install gcc-arm-embedded
Verify that the ARM GCC compiler has installed correctly:
You should get this output in Terminal:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 6.2.1 20161205 (release) [ARM/embedded-6-branch revision 243739] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This section will guide you through the BigClown Core Module firmware build process.
Get necessary packages (
sudo apt install git build-essential
Clone BigClown Core Module top-level repository:
git clone --recursive https://github.com/bigclownlabs/bc-core-module.git
Switch to the cloned repository:
Start the build process:
Check if the file
firmware.elfhas been created:
ls -l out
Mosquitto is a MQTT broker which is the central hub of BigClown communication. Please follow Mosquitto installation steps in this tutorial.
Gateway is a simple Python script which is connecting serial port and MQTT together. Clone
And run the script
bc-gateway.py in the gateway folder.