Skip to content

h3ll5ur7er/ChristmasClockSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Clock

Gitpod

When starting in gitpod, the environment is automatically prepared. All required packages are installed and the raspberry pi pico sdk is cloned from the git master branch.

SDK Setup

Install the following packages to cross compile for the RP2040:

sudo apt install cmake build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib

Prepare build files (Pico SDK from git)

mkdir build
cd build
cmake -DPICO_SDK_FETCH_FROM_GIT=ON ..

Prepare build files (local Pico SDK)

If the SDK is located in ~/pico-sdk the script start-env can be used:

. start-env

If the file github-id contains the private key used for your github account the script will start a seperate ssh-agent with only that key.

Otherwise use:

mkdir build
cd build
cmake -DPICO_SDK_PATH=/path/to/pico-sdk ..

Build

make -j$(nproc)

Deploy

  • Press BOOTSEL button on the Pico board and reset the board
  • Copy the build/ChristmasClock.uf2 file to the Pico board

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •