Skip to content

cornellrocketryteam/HITL-Software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pico Project Template

As a demo, the code in this template simply turns on the onboard LED and continously prints "Hello, world!" to serial.

How to Use

  1. Click the "Use this template" button in the top-right of this page, and select "Create a new repository"
  2. Fill out the "Create a new repository" page
    • Name your project with capital words separated by dashes
    • Give your project a short description
    • Keep your project Public
  3. Clone your new project!
    • Make sure to clone with SSH

How to Run

Required Dependencies

  • cmake
  • gcc-arm-embedded (for macOS)
  • gcc-arm-none-eabi (for Linux)

These dependencies can be install via Homebrew on macOS or apt on WSL.

Setup

  1. Install the required dependencies
  2. Run git submodule update --init from within lib/
  3. Run git submodule update --init from within lib/pico-sdk/

Running

  1. Create a top-level build/ directory
  2. Run cmake .. from within build/
  3. Run make
  4. Move fsw.uf2 to a Pico in boot select mode

At this point, the onboard LED should turn on. If you open a serial connection port you uploaded over, you should see "Hello, world!" print every second.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published