The Arduino Due platform is shipped with a very old GCC tool-chain, to know: 4.8.3 (from 2014), and if it works, it ain't fixed. However C++ has introduced so many characteristics since then that you might need them or want to add them to your projects in the Arduino Due board. Remember that the core… Seguir leyendo How to install the newest GCC tool-chain for the Arduino Due
Intro Are you a C++ crazy fan? I'm! don't be shy. I can't imagine life without programming in C++, so now that I'm getting into IoT I wanted to explore the feasibility of using C++, after all programming ESP8266 in the Arduino IDE you can, why can't we on the official SDK? Out of the… Seguir leyendo ESP8266 Espressif SDK programming in C++
I'm proud to announce that The Molcajete Project 0.9.3 is ready to be downloaded. What the heck is The Molcajete Project? It's my attempt to bring together Arduino, FreeRTOS, and the availability of compiling from the command line. This project can convert your Arduino into real time! This release mainly comprises the lastest versions of… Seguir leyendo The Molcajete Project 0.9.3 is here!
It's ready the bundle in which you can program your Arduino apps using the FreeRTOS kernel. You can download it from The Molcajete project The Molcajete project by Xavier R OVERVIEW The aim of this project is to program Arduino apps using the world's most downloaded real time kernel, FreeRTOS, in a terminal through Arduino-mk… Seguir leyendo The Molcajete project: where Arduino meets FreeRTOS
The built-in analogRead() function blocks until the conversion is ready; for most scenarios this behavior is ok. However, for a high-responsive systems such behavior would be unacceptable. Another reason I wrote this small non-blocking class is because I bought a lcd-keypad shield, and then I built some improved clones: The keypad is implemented through an… Seguir leyendo Non-blocking ADC converter class
A real embedded system needs a system-tick, and Arduino doesn't have one ... No, the yield() function is not a real system-tick, so I've swimmed a little bit into the code so that I get a real one. This is my progress. In the file hooks.c we need to add a place holder for our… Seguir leyendo System-tick for the Arduino platform
The Arduino's IDE is just awful. Period. To write sketches is awful as well. Scketches make me sick. Hopefully we can build our solutions from the command line, directly from the main() function, even using our favorite code editor, VIM for me. A more-in-depth tutorial on this topic can be found here. Installing Arduino We… Seguir leyendo Building a solution from the command line
The optiboot source code blundled along the Arduino package is out of date; it means, it doesn't compile with the newer GCC releases. I got this similar situation, while trying to build my own release as of march 2018 (AVR-GCC 4.9). As it was suggested in the post I got the latest release on github.… Seguir leyendo Building the Optiboot bootloader