Skip to content

Added bootloader for Muse Lab nanoESP32-S2#120

Merged
hathach merged 3 commits into
adafruit:masterfrom
reppad:muselab_nanoesp32_s2
Jun 1, 2021
Merged

Added bootloader for Muse Lab nanoESP32-S2#120
hathach merged 3 commits into
adafruit:masterfrom
reppad:muselab_nanoesp32_s2

Conversation

@reppad
Copy link
Copy Markdown
Contributor

@reppad reppad commented May 31, 2021

Added bootloader for both versions of Muse Lab nanoESP32-S2, WROOM and WROVER.
A PID was assigned by Adafruit for the WROOM version, I got the PID for WROVER version from Espressif.

Copy link
Copy Markdown
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good, you should also include the board in the ci so that it is built and binary is released

@reppad
Copy link
Copy Markdown
Contributor Author

reppad commented May 31, 2021

Oops, I forgot that, it should be good now :)

Copy link
Copy Markdown
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UF2_VOLUME_LABEL has limit of 11 characters, it will get truncated, you may want to test it or rename it


#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
#define UF2_BOARD_ID "ESP32S2-nanoESP32-S2-WROOM-v1.2"
#define UF2_VOLUME_LABEL "NANOESP32S2WROOMBOOT"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uf2 label is too long it will be truncated to 11 character, do you want to have it rename ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I was a little optimistic about it, if we want to keep an explicit name I think the 2 variants will have the same volume name. My proposal in the commit below.


#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
#define UF2_BOARD_ID "ESP32S2-nanoESP32-S2-WROVER-v1.2"
#define UF2_VOLUME_LABEL "NANOESP32S2WROVERBOOT"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uf2 label is too long it will be truncated to 11 character, do you want to have it rename ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

Copy link
Copy Markdown
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good now, thanks for the pr

@hathach hathach merged commit 9d8598a into adafruit:master Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants