Skip to content

vbwanere/Embedded_Systems-Getting_Started

Repository files navigation

Bare metal programming for popular microcontrollers:

1. Arduino Board - AtMega328P:

Bare metal C-programming code for blinking on board LED and UART.

Execution instructions on Linux:

  1. Install the avr-gcc toolchain:
    1. sudo apt-get update
    2. sudo apt-get upgrade -y
    3. sudo apt-get install gcc-avr binutils-avr avr-libc
    4. sudo apt-get install avrdude
  2. Clone this repo.
  3. Go to the project directory of interest: eg. LED-Blink-UART
  4. Open this directory in the Linux Terminal.
  5. Connect the Arduino to your PC.
  6. Run make.
  7. The code will get flashed into Arduino Memory.
  8. You should be able to see the onboard led flashing.
  9. Configure serial monitor on VS Code or similar to test the UART communication.

2. ItsyBitsy - AtMega32u4:

3. STM32F407VG Discovery Board:

4. STM32F411RE Nucleo Board:

About

Makefile based bare metal C codes for popular MCUs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors