Skip to content

Experimenting with buttons via hardware interrupts, sensors via i2c, and motors in FreeRTOS on the rp2040-based Pico Feather

License

Notifications You must be signed in to change notification settings

loganfin/rtos-motor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtos-motor

Experimenting with buttons via hardware interrupts, sensors via i2c, and motors in FreeRTOS on the rp2040-based Pico Feather

Building

This program depends on the pico-sdk and the FreeRTOS-Kernel

  1. Clone the repository:

    git clone https://github.com/loganfin/rtos-motor.git
    
  2. Configure the build directory using CMake:

    • If you already have the pico-sdk and the FreeRTOS-Kernel on your machine:

      cmake -B build -DPICO_SDK_PATH=</path/to/pico-sdk/> -DPICO_SDK_FREERTOS_SOURCE=</path/to/FreeRTOS-Kernel>
      
    • If you don't have the pico-sdk or the FreeRTOS-Kernel on your machine:

      git submodule update --init
      git -C lib/pico-sdk/ submodule update --init
      cmake -B build
      
  3. Build the program:

    cmake --build build
    

The uf2 binary will be located inside the build directory that was created with the cmake -B build command.

About

Experimenting with buttons via hardware interrupts, sensors via i2c, and motors in FreeRTOS on the rp2040-based Pico Feather

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published