-
Notifications
You must be signed in to change notification settings - Fork 7.6k
M5CoreS3 board and partitions update #8276
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
Conversation
Hi @tobozo ,CoreS3 PSRAM is best set to on by default, otherwise it will affect the normal work of the camera. |
AMF you do not need that menu at all. Board comes with 32MB Flash and 8MB QSPI PSRAM. Clocks should be set to 80MHz and configuration options for those items should not exist. |
@Tinyu-Zhao thanks for your input I'll remove the PSRAM block as suggested.
@me-no-dev Should I also remove the FlashMode block, or maybe just the |
@tobozo I think the default setting for theUSB CDC On Boot: Disabled is a better choice, otherwise many examples and the kernel is used are USBSerial, there will be convenient not through the case. |
@Tinyu-Zhao I understand it affects the example sketch, however changing the default option value in the boards.txt will not prevent users from changing it in the menu, and the error can happen anyway. Moreover, using The official USBSerial example suggests using a safeguard to properly assign objects in a transparent fashion. Some context: many ESP32-S3 board profiles enable CDC at boot: enabling this option solves many problems that occur in default situation e.g. debug logs not visible, late init, and no tty visible from the PC when in a crash loop. In practice, enabling USB-CDC at boot aliases Serial instead of USBSerial. Please let me know what the M5 team decides and I'll comply. |
@tobozo @Tinyu-Zhao Is this PR ready for reviewing / merging? :) 2.0.10 release is close. Thanks |
@tobozo It is recommended to keep USBSerial as the serial port, as many users will not be able to compile after the update if the new release is not properly adapted. |
@Tinyu-Zhao I've updated the branch accordingly, however I have some afterthoughts: whatever choice is made, users will have troubles:
I think it is safe to assume the problem is isolated to M5CoreS3 library and could be adressed by patching M5CoreS3.h with the conditional aliasing, so that USBSerial is available in both situations. |
I have modified the M5CoreS3 library locally to not use |
any updates on this? |
sorry guys, PR was automatically closed when I synced the branch, so I re-opened it CDC_ON_BOOT is now on by default as suggested by @me-no-dev
@Tinyu-Zhao if renaming |
@tobozo I agree with the changes. Let's hope that @Tinyu-Zhao will also agree |
@me-no-dev the CoreS3 User Demo project (the FactoryTest default firmware) can be found here |
I'll try it later. |
M5cores3 works great, thank you all for your help. |
What do we do with this PR now? We are about to release the last 2.x, so if we miss this, it will go for 3.0.0, where many things are different. |
Is it too late to merge? It's been checked and it's fine. |
Not too late! |
followup to #8161 #8274
the new custom partitions layout is open for discussions.