Skip to content

ANToNyS21/Px-PRG-4EA_fork

 
 

Repository files navigation

Repository for study materials for lecture Px (PRG) 4EA

Repository with projects written for RPi pico in Pico C/C++ sdk.

Project Structure

  • .devcointainer/: Folder with dev container source files (docker files)

Getting Started

Prerequisites

Clone this repo and open it in dev container

  1. Clone this repository:

    git clone https://github.com/sps-prosek/Px-PRG-4EA.git
  2. Open the repository folder in VS code.

  3. Reopen the repository folder inside of dev container. VS code will ask you or you can open command pallet (ctrl + shift + P) and find command Dev Containers: Reopen in container.

Building the Project

  1. Open terminal.

  2. Navigate to project folder that you want to build:

    cd <FOLDER NAME>
  3. Create a build directory and navigate into it:

    mkdir build
    cd build
  4. Configure the project with CMake:

    cmake ..
  5. Build the project:

    make

Flashing the Firmware

  1. Connect the RP2040 board to your computer.
  2. Press and hold the BOOTSEL button while plugging the board into USB.
  3. Copy the generated .uf2 file from the build directory to the RP2040 USB mass storage device.

About

4EA Praxe část automatizace (PRG)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.9%
  • CMake 24.9%
  • Dockerfile 4.2%