-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ports/esp32: Add support for 2 new BPI boards. #8690
Conversation
I have found a solution to the problem. I should not set the email account associated with my github account to |
d877522
to
8fbfb0b
Compare
#define MICROPY_HW_BOARD_NAME "BPI-Leaf-S3" | ||
#define MICROPY_HW_MCU_NAME "ESP32-S3" | ||
|
||
#define MICROPY_PY_BLUETOOTH (0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to disable Bluetooth?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay.
Just because the esp32s2 boards disable Bluetooth.
So I used the configurations of esp32s2 in the early stage.
I should correct some configurations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a force-pushed,make commits clean,and fix ‘Check commit message formatting ’ , now All checks have passed.
8371942
to
da6b168
Compare
I have tested firmware compiled with micropython v1.19.1 and esp-idf v4.4 , both on 2 new BPI boards. Everything looks good. |
I've tested against a Banana Pi Leaf S3 (I don't have the S2 boards, sorry), and the build looks good! Built with Espressif's IDF Docker Image (v4.4 IDF): ❯ docker run -ti --rm -v $(pwd):/code -w /code espressif/idf:release-v4.4 bash -c "make -C mpy-cross && make -C ports/esp32 submodules all BOARD=BPI_LEAF_S3" Board appears to have 6MB free flash in the filesystem at boot, which seems correct. My only suggestion is that I think a short, custom |
da6b168
to
562882f
Compare
562882f
to
7741719
Compare
Thanks for your test and suggestion. @mattytrentini
The button name uses the bold format of Markdown, I don't know if it can be applied correctly in micropython.org. The The BPI-Leaf-S3 wiki page has been added into |
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
This changes storage.mount() to require that a mount point exist on the parent file system. A bug in background tasks is also fixed where the function parameter is cleared on pending callbacks during "reset". Disk usage is shown on the directory listing and changes based on the mounted file system. Writable is also loaded per-directory. Fixes micropython#8108. Fixes micropython#8690. Fixes micropython#8107.
BPI-Leaf-S2 and BPI-Leaf-S3 boards.
BPI-Leaf-S2 board uses esp32-s2 chip.
BPI-Leaf-S3 board uses esp32-s3 chip.
Both of them have Type-C socket to chip‘s internal USB , battery connector that support charging , and a 4 pin I²C connector .
BPI-Leaf-S3 reserves a Quad SPI RAM pad for upgrade.
The board.json image added in: micropython/micropython-media#15
Vendor: Banana Pi