Home icon indicating copy to clipboard operation
Home copied to clipboard

Add Support for ESP32 S3

Open jonstelly opened this issue 3 years ago • 7 comments

Description

I got a new devkitc (link) and got an error trying to flash. I had some brief discord discussion with Jose and see he created #969 to update esptool in nanoff but it looks like S3 might also need new targets for this board/chip?

When I dropped esptool 3.2 into nanoff I got the following error trying to flash the above board:

[Errno 2] No such file or directory: '...\\nanoff\\2.0.15\\tools\\net6.0\\any\\esp32s3bootloader\\bootloader.bin'

How to solve the problem

I'm unsure of any of this but from trying to build the firmware using the documentation

  • it seems like maybe a new cmake/gcc setup (xtensa-esp32s3-elf.cmake?)
  • New docker images including above?
  • New ESP32_S3 target (clone of ESP32_S2)?

Describe alternatives you've considered

No response

Aditional context

No response

jonstelly avatar Feb 16 '22 21:02 jonstelly

Yes support for S3 is still on the works. It was taken into consideration during the last rework of the build system. Curently waiting to get my hands on one of those dev kits to get it rolling. Please be patient. 😁

josesimoes avatar Feb 16 '22 21:02 josesimoes

Just sponsored the project for $25. It's not in any way donated only for this so feel absolutely free to spend it on something other than the S3 devkit. But if you do order one I didn't want you to have to pay for it. My office is a mess of various models of devkits and I've only been focusing on ESP32, so I can only imagine yours is worse. Thanks for all your work.

jonstelly avatar Feb 16 '22 21:02 jonstelly

I try to tidy it every now and then... 😜

On behalf of the project that you very much for the donation and your kind words. Those mean a lot!

josesimoes avatar Feb 16 '22 22:02 josesimoes

I'm also looking forward to nanoff for ESP32_S3

babyblue2 avatar May 25 '22 11:05 babyblue2

What's the expected timeline for S3 support?

AachoLoya avatar Jul 04 '22 08:07 AachoLoya

Arduino has full support for S3 now. I am patiently waiting to see the same happening to nanoframework.

bghavami avatar Jul 15 '22 14:07 bghavami

Arduino has full support for S3 now. I am patiently waiting to see the same happening to nanoframework.

A lot of people are. But please keep in mind .NET nanoFramework is a community effort except for what is sponsored. There are people spending their nights and weekends adding features, adding board support, adding classes. So please don't be too impatient. Also, we do love PR and contributions. So with a bit of everyone help, we can all achieve a lot of great things!

Ellerbach avatar Jul 16 '22 19:07 Ellerbach

I have a devkit for the S3, can I help to make or test the build if exists?

peirens-bart avatar Jan 12 '23 13:01 peirens-bart

I have a devkit for the S3, can I help to make or test the build if exists?

Thanks for offering! If you're familiar with C/C++ and Espressif IDF you sure can help. As for the build, there is none at this time.

josesimoes avatar Jan 12 '23 13:01 josesimoes

I have a devkit for the S3, can I help to make or test the build if exists?

Thanks for offering! If you're familiar with C/C++ and Espressif IDF you sure can help. As for the build, there is none at this time.

I have in both some, I never contributed to an open source project before so probably need some coaching for that as well. Is there a procedure wiki for creating a new build some where?

peirens-bart avatar Jan 12 '23 14:01 peirens-bart

@peirens-bart there are docs on how to setup the build and work with the dev containers. On how to make an ESP32 port, there are none. Reason is that it's a very very specific (and broad) matter and it's only required when Espressif releases a new family. Therefore it's not worth the effort on writing and maintaining such document. (that time would be much more well spent on actualy doing the port 😉 )

Know that there is another community member that has offered to tackle this. Suggest that you head over to our Discord server and touch base with him. Here's the link for the thread: https://discord.com/channels/478725473862549535/481782754674212867/1061015039940776037

josesimoes avatar Jan 12 '23 17:01 josesimoes

What's the expected timeline for S3 support?

2505817596 avatar Mar 01 '23 05:03 2505817596

Right now this is on hold. There aren't enough resources to invest on this.

It seems there is a lot of interest on having support for this ESP32 series. FYI greenyng it's willing to co-sponsor this. Recently M5Stack has showed interest in co-sponsoring it too, see this tweet. But this has gone nowhere.

josesimoes avatar Mar 01 '23 09:03 josesimoes

Clear!!! We could join forces and sponsor togethers, what do you thin @2505817596?

JORGEGO avatar Mar 01 '23 09:03 JORGEGO

Dear all, we need to confirm the sponsor cost to ESP32-S3FN8 (M5Stack in my case). Base on budget and people interested to sponsor from greenYng we could invest some quantity, so how many people could invest and what it is the total amount to develop the firmware ESP32-S3FN8? we could crowdfunding this project, please add people interested and amount to invest and @josesimoes confirm you minimal budget to develop it, thanks

JORGEGO avatar Mar 02 '23 16:03 JORGEGO

Maybe Unexpected Maker has interest to sponsor for a support of their new ESP32-S3 based boards..?? Or LilyGo..

yltsa avatar Mar 14 '23 14:03 yltsa

Dear all, we need to confirm the sponsor cost to ESP32-S3FN8 (M5Stack in my case). Base on budget and people interested to sponsor from greenYng we could invest some quantity, so how many people could invest and what it is the total amount to develop the firmware ESP32-S3FN8? we could crowdfunding this project, please add people interested and amount to invest and @josesimoes confirm you minimal budget to develop it, thanks

Please advise, how I can contribute to sponsoring this platform support. would like to target the following profile: Connected to: ESP32-S3 Features WiFi, BLE Flash size 16MB GD25Q128 from GIGADEVICE (manufacturer 0x200 device 0x16408) PSRAM: undetermined Crystal 40MHz

mzirkle44060 avatar Apr 16 '23 13:04 mzirkle44060

lets move on!!!

JORGEGO avatar Apr 16 '23 14:04 JORGEGO

@mzirkle44060 thanks for considering sponsoring this feature. You can either sponsor the project through our Opencollective or ping me directly if you prefer being invoiced (for accounting or other company policies).

josesimoes avatar Apr 16 '23 18:04 josesimoes

@mzirkle44060 and @josesimoes From greenYng we need:

  • to close a budget form @josesimoes
  • understand how do @mzirkle44060 will invest (50%) and 50%(greenYng)?

We understand the project is develop the firmware for ESP32-S3FN8 (M5Stack in my case also) we need to develop (https://shop.m5stack.com/collections/m5-controllers/products/m5stamp-esp32s3-module)

Right?

JORGEGO avatar Apr 16 '23 18:04 JORGEGO

The amount of work required to have this available has dropped significantly. We are now down to add support for S3 in nanoff!

If you're still interested in sponsoring this, now it's a good time as we'll have an empty slot towards the end of this week to work on this.

josesimoes avatar May 29 '23 15:05 josesimoes

Sponsored too now a small amount for this!

clau-bucur avatar May 29 '23 17:05 clau-bucur

@josesimoes Hi there, I am also interested in having nano support ESP32-S3 and would like to sponsor (with invoice preferred). How can I help?

dfch avatar Jul 06 '23 22:07 dfch

@dfch appreciate that you're willing to contribute to the effort! Let me email you about this.

For the record: besides the work on nanoff it turned out that there were still some lose ends on the CLR and build system that required more work. We're currently working on these.

josesimoes avatar Jul 06 '23 23:07 josesimoes

@josesimoes got your email and made suggestions. Besides, good to hear you are already working on it.

dfch avatar Jul 07 '23 09:07 dfch

For the record: besides the work on nanoff it turned out that there were still some lose ends on the CLR and build system that required more work. We're currently working on these.

@josesimoes Is there a milestone tracker for remaining outstanding issues we can track?

aolszowka avatar Jul 07 '23 14:07 aolszowka

@aolszowka there isn't. This issue is the one being use to track/report about this feature.

josesimoes avatar Jul 07 '23 15:07 josesimoes

Closing this one as the feature has been delivered.

josesimoes avatar Jul 14 '23 13:07 josesimoes

@josesimoes it seems like this feature is only complete for the flasher. But the visual studio extension has still problems detecting the device. I open earlier the issue #1327 for that. Is this already tracked somewhere?

paule96 avatar Jul 15 '23 11:07 paule96

@paule96 there is nothing specific for each device on the extension... The comms and detection algorithm is the same for all targets. What exactly are you seeing? Suggest that you ask about this in the Discord server for a more speedy interaction.

josesimoes avatar Jul 15 '23 11:07 josesimoes