Skip to Content
Hands-On Embedded Programming with C++17
book

Hands-On Embedded Programming with C++17

by Maya Posch
January 2019
Intermediate to advanced
458 pages
10h 35m
English
Packt Publishing
Content preview from Hands-On Embedded Programming with C++17

Plant module code

In this section, we will look at the basic source code for this project, starting with the core module, OtaCore, and continuing with the BaseModule class, which all firmware modules register with. Finally, we look at the PlantModule class itself, which contains the business logic for the project requirements that we discussed in this chapter.

Also of note is that for this project we enabled both the rBoot bootmanager and the rBoot Big Flash options in the project Makefile. What this does is create four 1 MB blocks in the 4 MB of ROM that we have available on our ESP8266 module (which is all ESP-12E/F modules), of which two are used for firmware images and the remaining two for file storage (using the SPIFFS filesystem). ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers

Brian Amos

Publisher Resources

ISBN: 9781788629300Supplemental Content