• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 BLE Functionalities reduction

Q&A Forum › Category: ESP32 › ESP32 BLE Functionalities reduction
0 Vote Up Vote Down
Veeranarayana Gangula asked 4 years ago

We are using Olimex ESP32-EVB for my IoT application. The development environment is Arduino.
 
My application is collecting field sensors data over modbus and sending the same to cloud server through MQTT and logging same data on sd card.
 
We enabled WiFi/ethernet for above application, it was working fine without ram overflow error.
We wanted the sensors data over BLE as well, so we added BLE stack to my application.
With BLE following compilation error is coming.
 
c:/users/ademtek05-user/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg’ overflowed by 2472 bytes
 
From the above error, we understand that RAM is not sufficient.
We thought of disabling some functionality of the BLE stack to reduce RAM usage. So request you, please guide us how to reduce BLE stack functionalities.

Question Tags: BLE
1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hi, thanks for posting here! Can you provide the full Arduino IDE debug message? For example: 

"Sketch uses 519034 bytes (39%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37592 bytes (12%) of dynamic memory, leaving 257320 bytes for local variables. Maximum is 294912 bytes."

Thanks again! Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.