Giter Club home page Giter Club logo

christmasclocksdk's Introduction

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

christmasclocksdk's People

Contributors

loklelama avatar h3ll5ur7er avatar eknecht avatar molitoris avatar

Stargazers

Marcel Frei avatar

Watchers

Marcel Frei avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.