Guides or references to enable / disable features

sjk910330
Posts: 4
Joined: Sun Feb 18, 2024 8:07 pm

Guides or references to enable / disable features

Postby sjk910330 » Sun Feb 18, 2024 8:17 pm

Hello,
Recently I'm dealing with ESP-AT to use esp32-wroom as bluetooth dual mode module.

First I tried to enable bluetooth classic,
and build.py said I need to optimize features to use this firmware becuase more IRAM is required.

Since no other features(like ethernet, wifi, ...) are needed,
I disabled all the other features at build.py menuconfig.

However, as you expected, a huge amount of errors occur.
(Now I understand that what menuconfig said - do not change if you don't know what are you doing!)

So, is there any references or guidance documents for dealing with menuconfig?
Please let me know.

Thank you in advance.

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: Guides or references to enable / disable features

Postby esp-at » Mon Feb 26, 2024 8:50 am

could you please disable features like the attachment p1.png shows, it works well on my side.

If it still cannot work, please provide more information (full compile logs, sdkconfig file, etc).
Attachments
p1.png
p1.png (101.77 KiB) Viewed 3459 times

sjk910330
Posts: 4
Joined: Sun Feb 18, 2024 8:07 pm

Re: Guides or references to enable / disable features

Postby sjk910330 » Mon Feb 26, 2024 9:20 pm

Hi,

Thank you for providing the guide.

I followed your guide and the build was successful, but SPP is not working.

Here are the details:
  • It happens with ESP32-WROOM using locally compiled ESP-AT firmware.
    ESP32-WROVER using offical ESP-AT firmware does not show this error.
  • BTINIT=1, BTSPPINIT=1, BT+SPPCONN=0,0,"addr" successfully connects.
  • The BTSPPSEND command outputs ">".
  • The device immediately reboots after typing any character.
Here are the logs:
ets Jun 8 2016 00:22:57



rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:2

load:0x3fff0030,len:6984

load:0x40078000,len:16080

load:0x40080400,len:3620

entry 0x40080618

I (27) boot: ESP-IDF v5.0.4-dirty 2nd stage bootloader

I (27) boot: compile time 05:16:40

W (27) boot: Unicore bootloader

I (30) boot: chip revision: v1.0

I (34) boot.esp32: SPI Speed : 40MHz

I (39) boot.esp32: SPI Mode : DIO

I (43) boot.esp32: SPI Flash Size : 4MB

I (48) boot: Enabling RNG early entropy source...

I (53) boot: Partition Table:

I (57) boot: ## Label Usage Type ST Offset Length

I (64) boot: 0 phy_init RF data 01 01 0000f000 00001000

I (72) boot: 1 otadata OTA data 01 00 00010000 00002000

I (79) boot: 2 nvs WiFi data 01 02 00012000 0000e000

I (87) boot: 3 at_customize unknown 40 00 00020000 000e0000

I (94) boot: 4 ota_0 OTA app 00 10 00100000 00180000

I (101) boot: 5 ota_1 OTA app 00 11 00280000 00180000

I (109) boot: End of partition table

I (113) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=2ba28h (178728) map

I (186) esp_image: segment 1: paddr=0012ba50 vaddr=3ff80063 size=00008h ( 8) load

I (187) esp_image: segment 2: paddr=0012ba60 vaddr=3ffbdb60 size=045b8h ( 17848) load

I (199) esp_image: segment 3: paddr=00130020 vaddr=400d0020 size=10f56ch (1111404) map

I (602) esp_image: segment 4: paddr=0023f594 vaddr=3ffc2118 size=0080ch ( 2060) load

I (603) esp_image: segment 5: paddr=0023fda8 vaddr=40080000 size=1caa4h (117412) load

I (656) esp_image: segment 6: paddr=0025c854 vaddr=400c0000 size=00064h ( 100) load

I (671) boot: Loaded app from partition at offset 0x100000

I (671) boot: Disabling RNG early entropy source...

no external 32k oscillator, disable it now.


at param mode: 1


AT cmd port:uart1 tx:17 rx:16 cts:15 rts:14 baudrate:115200


module_name: WROOM-32


v3.2.0.0


at_bt_gap_cb - event = 10


at_bt_gap_cb - event = 16


at_bt_gap_cb - event = 4


at_bt_gap_cb - event = 13




assert failed: xQueueSemaphoreTake queue.c:1552 (( pxQueue ))





Backtrace: 0x40081afa:0x3ffcf7a0 0x400941fd:0x3ffcf7c0 0x40098205:0x3ffcf7e0 0x401dd1f6:0x3ffcf900 0x400e809d:0x3ffcf940 0x400e98cb:0x3ffcf960 0x401dc6f2:0x3ffcf9a0


ELF file SHA256: 53803ae12af77117


Please help me troubleshoot this issue.

Who is online

Users browsing this forum: No registered users and 10 guests