Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.21 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.21 KB

Interrupts in Zephyr RTOS

Build Passing GPLv3 License

Interfacing push button with STM32 Blue Pill board and toggle a LED on button click by using interrupts.

Run Locally

Clone the project

  1. Using https
  git clone https://github.com/csrohit/zephyr-switch-interrupt
  1. Using ssh
  git clone [email protected]:csrohit/zephyr-switch-interrupt.git

Go to the project directory

  cd zephyr-switch-interrupt

Compile Project

Setup zephyr environment on your machine from Zephyr: Getting Started

  make all

Flash Binary

To flash you need to have

  1. Openocd installed on your machine. You can do it from here: Getting Openocd
  2. Connect Stlink to PC and blue pill board using swd headers.
  3. Put blue pill board in programming mode
  make flash