Comments (6)
Hi @hathach :)
I'm working on ESP32-S3 support for CPY and that means we'll also need support for S3 in TinyUF2 and that requires being on the latest master IDF branch - 4.4.bleeeeeeeeeding edge, and we'll also need to stay updated often.
That is great to hear, which branch/tag IDF you plan to make an upgrade, there is an new 4.3.1 which is released just a week ago. Once tested locally, please make PR to update IDF as standalone, it help to get it merged quickly.
I'm happy to do the work on this, but I wanted to check it's ok before I start as it may need a substantial change like CPY needed - where we seperate esp32s2 and esp32s3 stuff into partitioned folders.
So can you all let me know if there is a preference on how you want this done? Or can I do what I did in CPY and run it all from Makefile variables and skconfig definitions?Thanks!
For folder changed, there is 2 ways we could go
- If s2 vs s3 changes is small enough we could have them under the same
ports/esp32sx
- If changes are too different we can have them as separated port esp32s2 and esp32s3 respectively (maybe under ports/espressif. Then we can move common code in esp32s2/components in ports/espressif as well where both ports can refer to minimize duplication
IMHO, I would prefer to have s2 and s3 has their own port folder, it helps with managing and adding new boards easier and more explicit. We only need to make sure to not introduce code duplication which make maintaining difficult in the future.
Currently I don't have any S3 boards, and don't have anyway to obtain it under my city strict lockdown. Therefore my help would be a bit limited.
from tinyuf2.
That is great to hear, which branch/tag IDF you plan to make an upgrade, there is an new 4.3.1 which is released just a week ago. Once tested locally, please make PR to update IDF as standalone, it help to get it merged quickly.
It has to be latest master (4.4-dev), and it will need to kept updated constantly as work on the S3 IDF stuff continues.
S2 is also working fine in 4.4-dev - The CPY work I've done moved S2 to IDF 4.4-dev as well.
For folder changed, there is 2 ways we could go
- If s2 vs s3 changes is small enough we could have them under the same
ports/esp32sx
The differences are small enough in this case - making 2 seperate ports would 100% duplicate stacks of code for no reason.
- If changes are too different we can have them as separated port esp32s2 and esp32s3 respectively (maybe under ports/espressif. Then we can move common code in esp32s2/components in ports/espressif as well where both ports can refer to minimize duplication
IMHO, I would prefer to have s2 and s3 has their own port folder, it helps with managing and adding new boards easier and more explicit. We only need to make sure to not introduce code duplication which make maintaining difficult in the future.
Having them be their own ports will only introduce code duplication as they are identical. I don't think they need their own ports. It was not needed for CPY, but it's your repo, so I'm happy to do it how you want, but it will just be a duplicate of the S2 folder.
Currently I don't have any S3 boards, and don't have anyway to obtain it under my city strict lockdown. Therefore my help would be a bit limited.
Mouser/Digikey might have a small number of Espressif S3 dev kits in stock soon, but production silicon is not slated to start until December.
I'll try to get something together as soon as possible and do a compare for you to see what I have in mind :)
from tinyuf2.
It has to be latest master (4.4-dev), and it will need to kept updated constantly as work on the S3 IDF stuff continues.
S2 is also working fine in 4.4-dev - The CPY work I've done moved S2 to IDF 4.4-dev as well.
I have no issue with latest maser, though I still prefer to stick with tag/release since bootloader doesn't use much from IDF, mostly its peripherals and soc driver only. Anyway, please do update to whatever version that would work, eventual we will have an release/tag that work with S2 & S3 and settled then.
The differences are small enough in this case - making 2 seperate ports would 100% duplicate stacks of code for no reason.
As mentioned above, If the changes are small enough, we could pack them together. Please go ahead with the changes that you thing work best. We could always adjust it later on if needed. A few month ago espressif make PR to tinyusb to add esp32s3, they fisrt use 1st approach then changed to 2nd approach by their own. We will see if that is still the case. hathach/tinyusb#783
Mouser/Digikey might have a small number of Espressif S3 dev kits in stock soon, but production silicon is not slated to start until December.
I'll try to get something together as soon as possible and do a compare for you to see what I have in mind :)
A boards I ordered 3 months ago from digikey is still "waiting for clearance" for more than 2 month. Hopefully the shipping will be better in the next couple of months.
from tinyuf2.
a little off-topic:
A boards I ordered 3 months ago from digikey is still "waiting for clearance" for more than 2 month. Hopefully the shipping will be better in the next couple of months.
i just checked stock at mouser and now they have ~380 ESP32-S3-DevKitC-1-N8
in stock.
from tinyuf2.
thank you for your info. I already back-order an couple of s3 board from digikey. It will be delivered at the end of November if they estimate it correctly.
from tinyuf2.
The move to 4.4 was done in #156
from tinyuf2.
Related Issues (20)
- Support encryption payload in uf2 file HOT 3
- CI Deprecation Warnings HOT 3
- Update GitHub Actions to Upload to Amazon S3 HOT 1
- mimxrt1011, 400mhz support HOT 7
- iMXRT10xx Linker Issues HOT 2
- self-update doesn't reboot after update HOT 5
- Drive not appearing on ESP32-S3-DevKitC-N32R8 HOT 2
- CURRENT.UF2 always blank HOT 2
- Skip define DISPLAY_PIN_BL if not used
- [STM32H7] Cant get user code running HOT 8
- Adafruit ESP32 S3 REV TFT Arduino 2.2.1 No Comm Port V0.16.0 HOT 1
- Build for Adafruit Qualia S3 board HOT 4
- Add release support for 'ESP32-S3 Cam' HOT 2
- Can't build Espressif boards on macOS with latest master. HOT 3
- Windows flashing produces error 0x800701B1 HOT 1
- ESP32 C6 support HOT 1
- Download missing for lolin s3 mini? HOT 3
- Add definition for the LilyGO T-Deck HOT 1
- UF2 on OSX HOT 1
- ESP32-S3-Devboard-C1 wont run .uf2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyuf2.