It drags weather information from OpenWeather.org using location based on ip-api.com.
It's a STM32f407-discovery using std library mounted over a dicover-more extension board. This board also includes a LCD. The ESP8266 is connected through UART in the COM1 (USART6 on the discovery PC6-PC7 pins) on the std library. ESP8266's reset/GPIO0/GIPO2/Enable pin are fixed voltage, meaning they are not connected to any STM32's GPIOS.
if the hardware is ready, The file c_mX.bin can be flashed as follows:
$ st-flash write c_mX.bin 0x8000000
In order to recompile you need to download ERIKA2.x-OS from https://www.erika-enterprise.com/index.php/download/erika-v2.x.html Once Erika is intall, you only need the Erika-CLI not the whole Eclipse to work. So, everything usefull executable you need is under the evidence folder.
Generate files from configuration file conf.oil
$ erika-gen /path/where/Erika-CLI/is/installed/Erika-CLI/ conf.oil .
add usr.mk inside makefile
$ nano makefile
in the first line write:
$ include usr.mk
You also need to install gcc-arm-none-eabi. Edit usr.mk, to address where the gcc-arm-none-eabi compiler is installed
$ nano usr.mk
Locate the line that starts with GNU_ARM_ROOT and change it by the path where your compiler is installed.
- Erika2.x OS (the operating system of the board)
- gcc-arm-none-eabi (to compile the project)
- stlink (to flash the board)