Will the new ESP32-MINI-1 module be supported?

thoraz
Posts: 27
Joined: Tue Jan 28, 2020 4:02 pm

Will the new ESP32-MINI-1 module be supported?

Postby thoraz » Sat Apr 03, 2021 8:41 am

Maybe my question is trivial, but I need to start a project with the new ESP32-MINI-1 module and its ESP32-DevKitM-1 develop board. Until now I used the Arduino IDE for my projects with the ESP32-WROOM-32 without problem, but since the core of the new module (ESP32-U4WDH) seems to be different respect the WROOM (ESP32-D0WDQ6), I'm wondering if I'll have problems.
It's enough to keep the 'ESP32 Dev Module' selected in the board setting of the IDE?
Anyone have some suggestions or usefull infos?

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

Re: Will the new ESP32-MINI-1 module be supported?

Postby ESP_Sprite » Sat Apr 03, 2021 1:10 pm

The change in markings is a package change: the one in the MINI-1 (off the top of my head) is smaller and has flash integrated. Software-wise, there should be no difference, the ESP32 die is still the same.

thoraz
Posts: 27
Joined: Tue Jan 28, 2020 4:02 pm

Re: Will the new ESP32-MINI-1 module be supported?

Postby thoraz » Sat Apr 03, 2021 2:20 pm

ESP_Sprite wrote:
Sat Apr 03, 2021 1:10 pm
The change in markings is a package change: the one in the MINI-1 (off the top of my head) is smaller and has flash integrated. Software-wise, there should be no difference, the ESP32 die is still the same.

So you can confirm me that if I chose 'ESP32 Dev Module' in the board setting of Arduino IDE I won't have problem with this new module and its develop board? I will still use the same libraries (for example, I'm interested to the BLE ones as BLEDevice.h, BLEUtils.h, BLEServer.h) that I've used in the past with the ESP32-WROOM-32?

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

Re: Will the new ESP32-MINI-1 module be supported?

Postby ESP_Sprite » Sat Apr 03, 2021 3:56 pm

I can't confirm it as I have not tested it. I can only say that you should be able to use the same settings. (Now that I think about it, actually, some GPIO settings may be different. Check the datasheet to be sure.)

tylers
Posts: 2
Joined: Sun Apr 11, 2021 10:28 pm

Re: Will the new ESP32-MINI-1 module be supported?

Postby tylers » Sun Apr 11, 2021 10:33 pm

Hello,
I have an ESP32-MINI-1 module on a custom design and after some struggles I am able to program it using ESP32 Arduino, but there appears to be a problem.

The boot UART log throws this error:

Code: Select all

ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
E (215) cpu_start: Running on single core chip, but application is built with dual core support.
E (215) cpu_start: Please enable CONFIG_FREERTOS_UNICORE option in menuconfig.
abort() was called at PC 0x4008476d on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x40088504:0x3ffe3be0 0x40088781:0x3ffe3c00 0x4008476d:0x3ffe3c20 0x4007925f:0x3ffe3c40 0x400792c5:0x3ffe3c70 0x400792d0:0x3ffe3ca0 0x4007947d:0x3ffe3cc0 0x400806e6:0x3ffe3df0 0x40007c15:0x3ffe3eb0 0x4000073d:0x3ffe3f20

Rebooting...
The arduino IDE seems to be compiling for a dual core ESP32 and some other problems, whereas the mini module uses a single core one. I'm currently using the ESP32 Dev Module option as the board, is there a better one to use for this single core chip?


tylers
Posts: 2
Joined: Sun Apr 11, 2021 10:28 pm

Re: Will the new ESP32-MINI-1 module be supported?

Postby tylers » Tue Apr 13, 2021 7:35 pm

Thank you! I was able to find the previous files in directories under "C:\Users\[Username]\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6" on my windows machine.

Is this support planned to be added to ESP32-Arduino in the future? If not, I would recommend adding an "expected locations" to the readme to simplify installation.

Who is online

Users browsing this forum: PepeTheGreat and 51 guests