Page 1 of 1

ESP32 with RT-Thread and esp32radio :-)

Posted: Thu May 04, 2017 1:47 pm
by bernard.xiong
With ESP32, based on RT-Thread RTOS and IDF, we have finished RT-Thread/ESP32 porting, and we have to make lots of stub for FreeRTOS APIs :x .

Long long ago, we made an open source project: stm32radio, with mp3 playback etc. Right now, we have finished a draft version for esp32radio:
* hardware: ESP32-WROAR module
* software
- RT-Thread with IDF 2.0, and provides shell, file system, posix thread etc;
- wav/mp3/aac playback;
- m4a playback, verified with online m4a audio stream in QingTing FM, Ximalaya FM etc.
- flac playback,
- http audio stream;

Next, the http living stream (HLS), dlna and airplay features are ongoing.

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Thu May 04, 2017 8:42 pm
by Jakobsen
Hello Bernard

I will be very happy to test drive you code maybe add some dsp audio processing if you have any spare mips left :-)

Regards Jørgen

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Fri May 05, 2017 1:04 am
by bernard.xiong
sure, I just use one core for software decoding.

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Sun May 07, 2017 4:08 am
by bernard.xiong
Done on http living stream, DLNA and airplay :D

Next we will prepare the firmware <Add javascript for upper layer application> and arrange esp32 hardware board.

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Wed Feb 14, 2018 3:27 pm
by chinabull
Great job!
I am looking to do similar thing with ESP32, too.
RT-Thread seems to be better OS solution than FreeRTOS for ESP32.
Could you please share the source or at least give some pointers on which components did you use to get DLNA, Airplay and HTTP live streaming?
Are you using Gstreamer and gmrender-resurrect?

Thanks a lot and 过年好! ;)

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Fri Feb 16, 2018 1:34 am
by ESP_Sprite
Please do note that with RT-Thread being GPL, you cannot distribute binaries of it linked against the WiFi and BT libraries. (The reason is that the GPL forbids it)

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Fri Feb 16, 2018 4:44 am
by WiFive
It does have linking exception fwiw

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Fri Feb 16, 2018 9:31 am
by ESP_Sprite
Can you still remember where you saw that? Because I looked in the LICENSE file as well as a few random source files; they seem plain old GPL2.0 to me.

Re: ESP32 with RT-Thread and esp32radio :-)

Posted: Sat Feb 17, 2018 12:41 am
by WiFive
In the readme on GitHub, also on the chinese website