Getting started with Embedded C
- Created
- 15 Dec 2022
- Last reply
- almost 4 years ago
- Replies
- 0
- Views
- 0
- Reactions
- 0
Discussion of the blog article Getting started with Embedded C.
The Goal
By the end of this tutorial, you will be able to compile a binary written for the avr instruction set targeting the AtMega328P microcontroller on an Arduino Nano or Arduino Uno R3 form factor.
Needed Documentation
- Arduino Nano PCB design
- Atmega328P datasheet
Materials used
- Arduino Nano
- Arduino Uno R3
- Relevant cable
- Computer
Software Used
- make (for easy of compiling and building)
- avr-gcc (our compiler for avr ISA)
- binutils-avr
- avr-libc
- avrdude (
Discussion thread — share findings, corrections and follow-ups below.