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

Example – CMOS IC Tester

Here, we will look at a more full-featured example project, implementing an integrated circuit (IC) tester for 5V logic chips. In addition to probing chips with its GPIO pins, this project also reads a chip description and test program (in the form of a logic table) from an SD card over SPI. User control is added in the form of a serial-based command-line interface.

First, we look at the Makefile for this Nodate project, as found in the root of the project:

ARCH ?= avr # Board preset. BOARD ?= arduino_mega_2560 # Set the name of the output (ELF & Hex) file. OUTPUT := sdinfo # Add files to include for compilation to these variables. APP_CPP_FILES = $(wildcard src/*.cpp) APP_C_FILES = $(wildcard src/*.c) # # --- End ...
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