Lights demo example
This commit is contained in:
parent
78c09eed46
commit
d253c37220
3 changed files with 157 additions and 7 deletions
|
|
@ -5,13 +5,17 @@ Custom micropython build for the Olimex RP2350B-XL. Comes with some features ena
|
|||
## build instructions
|
||||
|
||||
0. Make sure to have a compiler toolchain supporting the RP2 architecture installed (Mac: `brew install gcc-arm-embedded`)
|
||||
1. Clone the `micropython` repo
|
||||
2. From within the `micropython` repo root, run `make -C mpy-cross`
|
||||
3. Copy the `OLIMEX_PICO2_XL` folder to `micropython/ports/rp2/boards` if it doesn't exist; overwrite it if it does
|
||||
4. Change to the `boards/rp2` folder
|
||||
5. Run `make BOARD=OLIMEX_PICO2_XL submodules` to install dependencies
|
||||
6. Run `make BOARD=OLIMEX_PICO2_XL clean` to remove previous build artefacts (if any)
|
||||
7. Run `make BOARD=OLIMEX_PICO2_XL` to build the firmware
|
||||
1. Clone *[pico-sdk](https://github.com/raspberrypi/pico-sdk)* (to this folder or somewhere else on your machine)
|
||||
2. Change to the *pico-sdk* folder and run `git submodule update --init`
|
||||
3. Point an environment variable `PICO_SDK_PATH` to the *pico-sdk* folder
|
||||
4. Install *[picotool](https://github.com/raspberrypi/picotool)*
|
||||
5. Clone the `micropython` repo (to this folder or somewhere else on your machine)
|
||||
6. From within the `micropython` repo root, run `make -C mpy-cross`
|
||||
7. Copy the `OLIMEX_PICO2_XL` folder to `micropython/ports/rp2/boards` if it doesn't exist; overwrite it if it does
|
||||
8. Change to the `micropython/ports/rp2` folder
|
||||
9. Run `make BOARD=OLIMEX_PICO2_XL submodules` to install dependencies
|
||||
10. Run `make BOARD=OLIMEX_PICO2_XL clean` to remove previous build artefacts (if any)
|
||||
11. Run `make BOARD=OLIMEX_PICO2_XL` to build the firmware
|
||||
|
||||
## flashing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue