Slint UI example (Reactive UI)

andres.sendra
Posts: 1
Joined: Sat Jul 27, 2024 10:21 pm

Slint UI example (Reactive UI)

Postby andres.sendra » Sat Jul 27, 2024 10:54 pm

Hello to everyone!,

I'm being playing a lot with esp32-s3-box-3, it's being quite a journey :D , because I'm a backend developer and I haven't program any MCU for almost 15 years. I saw a few examples with lvgl, but I would love to see an example using a declarative and reactive UI. On my search for that, I found a UI framework that meet what I was looking for, it's called Slint UI https://slint.dev/ (real cool by the way). So I'm trying to build an online MP3 streamer using Slint UI. I Already have a working environment for my board, with esp-adf (main), esp-adf(5.2.2) and slint(master branch). But when I try to combine an adf pipeline (I'm using the pipeline_http_mp3 example) with Slint UI, I get the following error at runtime:

I (3990) AUDIO_ELEMENT: [http] AEL_MSG_CMD_RESUME,state:1
I (3997) AUDIO_ELEMENT: [mp3] AEL_MSG_CMD_RESUME,state:1
I (4002) MP3_DECODER: MP3 opened
I (4007) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (4012) AUDIO_PIPELINE: Pipeline started
I (4017) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (4026) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (4035) ili9341: LCD panel create success, version: 1.2.0
W (4162) ili9341: The 36h command has been used and will be overwritten by external initialization sequence
W (4162) ili9341: The 3Ah command has been used and will be overwritten by external initialization sequence
W (4172) GT911: Unable to initialize the I2C address
I (4177) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (4187) GT911: TouchPad_ID:0x39,0x31,0x31
I (4191) GT911: TouchPad_Config_Version:65
E (6695) intr_alloc: No free interrupt inputs for RSA interrupt (flags 0xE)
HINT: For troubleshooting instructions related to interrupt allocation, run 'idf.py docs -sp api-reference/system/intr_alloc.html'
E (6695) bignum: Failed to allocate RSA interrupt 261

I you need more info, please let me know.

Greetings

Andrés Sendra

Who is online

Users browsing this forum: No registered users and 28 guests