micropython-integration #1

Merged
matthias merged 3 commits from micropython-integration into main 2024-05-31 15:05:14 +00:00
Owner

Add micropython with custom board so that it only uses core0.

Add micropython with custom board so that it only uses core0.
stefank was assigned by matthias 2024-05-31 13:30:45 +00:00
matthias added 2 commits 2024-05-31 13:30:46 +00:00
matthias self-assigned this 2024-05-31 13:30:56 +00:00
stefank was unassigned by matthias 2024-05-31 13:30:56 +00:00
matthias requested review from stefank 2024-05-31 13:31:02 +00:00
matthias added 1 commit 2024-05-31 14:52:31 +00:00
matthias reviewed 2024-05-31 14:57:35 +00:00
matthias left a comment
Author
Owner

bla bla bla. bla!

bla bla bla. bla!
matthias reviewed 2024-05-31 14:58:35 +00:00
stefank reviewed 2024-05-31 14:59:16 +00:00
stefank left a comment
Member

Globaler Kommentar

Globaler Kommentar
@@ -0,0 +2,4 @@
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico W"
// todo: We need something to check our binary size
#define MICROPY_HW_FLASH_STORAGE_BYTES (848 * 1024)
Member

I think this needs a bit of clarification. Where does this number come from? Guesstimate?

I think this needs a bit of clarification. Where does this number come from? Guesstimate?
Author
Owner

This comment (and the flash storage size) originates in the upstream RPI_PICO_W board definition. Maybe we will adapt it for our usecase later, for now I would leave the upstream default.

This comment (and the flash storage size) originates in the upstream RPI_PICO_W board definition. Maybe we will adapt it for our usecase later, for now I would leave the upstream default.
stefank marked this conversation as resolved
@@ -0,0 +7,4 @@
( cd lib/micropython
make -C mpy-cross -j 16
make -C ports/rp2 BOARD=TONBERRY_RPI_PICO_W BOARD_DIR=$TOPDIR/boards/RPI_PICO_W clean
make -C ports/rp2 BOARD=TONBERRY_RPI_PICO_W BOARD_DIR=$TOPDIR/boards/RPI_PICO_W -j 16
Member

Better use only -j. Not everyone wants to build with exactly 16 threads.

Better use only -j. Not everyone wants to build with exactly 16 threads.
matthias marked this conversation as resolved
stefank approved these changes 2024-05-31 15:04:32 +00:00
matthias merged commit 075f0222a5 into main 2024-05-31 15:05:14 +00:00
matthias deleted branch micropython-integration 2024-05-31 15:05:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TonBERRY/tonberry-pico#1