Last active
August 29, 2022 14:36
-
-
Save GitHub30/f08ce9fc6e84c34b0c0b77e8967654d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# https://www.cnx-software.com/2022/07/03/getting-started-with-wifi-on-raspberry-pi-pico-w-board/#using-wifi-on-raspberry-pi-pico-w-with-c-programming | |
sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential | |
mkdir picow2 | |
cd picow2 | |
git clone https://github.com/GitHub30/micropython | |
git clone https://github.com/micropython/micropython-lib | |
cd micropython | |
git checkout rp2-bootsel | |
# https://forums.raspberrypi.com/viewtopic.php?t=304620 | |
git submodule update --init lib/pico-sdk lib/tinyusb | |
make -C ports/rp2 BOARD=PICO_W submodules | |
make -C mpy-cross | |
cd ports/rp2 | |
make BOARD=PICO_W | |
cd .. | |
cp -r ./rp2 ./rp2hack | |
cd rp2hack/ | |
rm -r build-PICO_W/ | |
cd ../.. | |
make -C ports/rp2hack BOARD=PICO_W submodules | |
make -C mpy-cross | |
cd ports/rp2hack | |
make BOARD=PICO_W |
This file contains hidden or 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
# https://github.com/raspberrypi/picotool | |
sudo apt install -y build-essential pkg-config libusb-1.0-0-dev | |
git clone https://github.com/raspberrypi/pico-sdk | |
git clone https://github.com/raspberrypi/picotool | |
cd picotool | |
mkdir build | |
cd build | |
PICO_SDK_PATH=../../pico-sdk cmake .. | |
make | |
./picotool info -a ../../micropython/ports/rp2/build-PICO_W/firmware.uf2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#include "py/objstr.h"は MP_DEFINE_STR_OBJ
https://github.com/micropython/micropython/blob/master/py/objstr.h