-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MicroPython: Upgrade to latest build setup.
Borrows the build setup from Badger OS which- * Uses a uf2-manifest and dir2uf2 to append examples in a user-visible filesystem * Uses MICROPY_BOARD_DIR to specify an out-of-tree board def * Uses ccache and caches MicroPython (compiled tools) * Builds against upstream MicroPython
- Loading branch information
Showing
7 changed files
with
152 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
freeze("$(PORT_DIR)/modules/") | ||
freeze("$(BOARD_DIR)/../modules_py/") | ||
include("$(MPY_DIR)/extmod/uasyncio") | ||
require("onewire") | ||
require("ds18x20") | ||
require("dht") | ||
require("neopixel") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# cmake file for Pimoroni PicoSystem | ||
set(MICROPY_BOARD PICO) | ||
|
||
# Board specific version of the frozen manifest | ||
set(MICROPY_FROZEN_MANIFEST ${CMAKE_CURRENT_LIST_DIR}/manifest.py) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#define MICROPY_HW_BOARD_NAME "Pimoroni PicoSystem" | ||
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters