Skip to content

Commit

Permalink
Hard-code PICO_BOARD in CMake configuration
Browse files Browse the repository at this point in the history
It does not make sense building the firmware for the Pico without
Wifi, anyway.
  • Loading branch information
czietz committed Sep 1, 2022
1 parent 8d3325f commit 9c91075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Build binaries
env:
PICO_SDK_PATH: ${{ github.workspace }}/pico-sdk
PICO_BOARD: pico_w
run: |
cmake -B build
make -C build
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 3.12)

# Build for Pico W
set(PICO_BOARD "pico_w")

# Pull in PICO SDK (must be before project)
include(pico_sdk_import.cmake)

Expand Down

0 comments on commit 9c91075

Please sign in to comment.