ESP32 with RT-Thread and esp32radio :-)

bernard.xiong
Posts: 6
Joined: Thu May 04, 2017 1:32 pm
Location: Shanghai, China
Contact:

ESP32 with RT-Thread and esp32radio :-)

Postby bernard.xiong » Thu May 04, 2017 1:47 pm

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.

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

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

Postby Jakobsen » Thu May 04, 2017 8:42 pm

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
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

bernard.xiong
Posts: 6
Joined: Thu May 04, 2017 1:32 pm
Location: Shanghai, China
Contact:

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

Postby bernard.xiong » Fri May 05, 2017 1:04 am

sure, I just use one core for software decoding.

bernard.xiong
Posts: 6
Joined: Thu May 04, 2017 1:32 pm
Location: Shanghai, China
Contact:

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

Postby bernard.xiong » Sun May 07, 2017 4:08 am

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.

chinabull
Posts: 1
Joined: Wed Feb 14, 2018 3:12 am

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

Postby chinabull » Wed Feb 14, 2018 3:27 pm

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 过年好! ;)

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Fri Feb 16, 2018 1:34 am

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)

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Fri Feb 16, 2018 4:44 am

It does have linking exception fwiw

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Fri Feb 16, 2018 9:31 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Sat Feb 17, 2018 12:41 am

In the readme on GitHub, also on the chinese website

Who is online

Users browsing this forum: No registered users and 43 guests