You might want to continue reading on our documentation space, all inline links will be working there.
All Arduino Core based firmware source code is living here.
We support different hardware, so there are different flavors
of the firmware, reflected by the directory naming convention
purposerole name, either node or gateway
transportname of the physical transport mechanism, e.g. rfm69, gprs or wifi.
protocolname of the transmission protocol, e.g. beradio, mqtt, http or any.
Get source code with all dependency libraries and tools:
git clone --recursive https://github.com/hiveeyes/arduino
PlatformIO is the recommended build environment.
If you want to use the Arduino IDE, you have to install all necessary libraries manually.
In each programs subdirectory, there is a
platformio.ini which will give you a clue
about the libraries to use.
cd node-esp32-generic make
Upload to MCU¶
To build a firmware hex file, upload it to the MCU and finally start a serial port monitor, do:
export MCU_PORT=/dev/ttyUSB0 make upload # Run serial port monitor make monitor