libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
382 stars 55 forks source link

Bounty RTL8720DN #1

Open nx10 opened 2 years ago

nx10 commented 2 years ago

Cool project. I hope it's ok for me to add this as an issue, feel free to close it.

In case you don't know there is a $ 100 bounty on platformio RTL8720DN support:

https://github.com/platformio/platformio-core/issues/769#issuecomment-903447789

kuba2k2 commented 2 years ago

Unfortunately, I do not own any RTL87xxD chips. As they're substantially different, I can't guarantee that my current code will work on them. Though if this project gets more interest, I will consider buying one of these boards in the future.

xavier862 commented 2 years ago

Very interesting project ! It would be cool if you could consider adding RTL8720DN support. This is something for which users have already expressed much interest. Realtek answered that they are not actively porting their SDK to PlatformIO at the time being, however they promised to support whoever would undertake this task seriously.

RTL8720DN BW16 development boards are dirt cheap and can be found for less than 6€ from your preferred Chinese dealer.

kuba2k2 commented 2 years ago

Right, I see. I'm not entirely sure if my project would suffice for their needs: because Realtek's SDK and Arduino cores are quite messy, I'm mostly rewriting everything from scratch to make it compatible with ESP32 cores.

While this extends the possibilities of running existing ESP32 programs, it makes the code less compatible with non-PlatformIO Arduino cores - i.e. those from Realtek itself. That's why I'm not sure if this is what the community wants to have.

Even then, I'm still planning to do AmebaD support at some point - after all, the base code is not that much different from AmebaZ which I have already ported. Currently, this allowed me to run ESPHome with minimal modifications on RTL8710BN.

If you're interested in using my project with RTL8720D, and would like to help - let me know, as any contribution will be much appreciated.

BinaryBrain86 commented 1 year ago

Hi, I appreciate you work and effort in this project. I followed the conversation on elektroda and contributed to his project another device I own. That's how I found and saw this project.

I own now two other Tuya devices (power switch) with the WR2E Module, which have the Realtek RTL8710BN MCU.

Currently, this allowed me to run ESPHome with minimal modifications on RTL8710BN.

I'm wondering If you have kind of a tutorial or some small steps how to do this. Thanks in advanced allot for reading and writing back.

kuba2k2 commented 1 year ago

Yes - we have an entire small community :slightly_smiling_face: We usually discuss everything on Discord and GitHub.

There's a getting-started guide: https://docs.libretuya.ml/docs/getting-started/

Also a guide for Realtek dumping/flashing: https://docs.libretuya.ml/docs/platform/realtek-ambz/dumping/

BinaryBrain86 commented 1 year ago

Yes - we have an entire small community 🙂 We usually discuss everything on Discord and GitHub.

There's a getting-started guide: https://docs.libretuya.ml/docs/getting-started/

Also a guide for Realtek dumping/flashing: https://docs.libretuya.ml/docs/platform/realtek-ambz/dumping/

Thank you, I'll check it out.

MrAppAndCrap commented 1 year ago

Yes - we have an entire small community 🙂 We usually discuss everything on Discord and GitHub.

There's a getting-started guide: https://docs.libretuya.ml/docs/getting-started/

Also a guide for Realtek dumping/flashing: https://docs.libretuya.ml/docs/platform/realtek-ambz/dumping/

Hey, what is the discord link / name? Thanks

kuba2k2 commented 1 year ago

Hi, it's at the top of the README.