-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for dangerous relocation: l32r: literal target out of range
- Loading branch information
1 parent
042a828
commit f262ba5
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,8 @@ build_flags = | |
-D VERSION=24091213 ; Date and time (GMT!), update at every commit!! | ||
-D LFS_THREADSAFE ; enables use of semaphores in LittleFS driver | ||
-D STARBASE_DEVMODE | ||
-mtext-section-literals ;otherwise [UserModLive::setup()]+0xa17): dangerous relocation: l32r: literal target out of range (try using text-section-literals) | ||
;for StarLight, first only for s2, now for all due to something in UserModLive.Setup... | ||
${ESPAsyncWebServer.build_flags} ;alternatively PsychicHttp | ||
${STARBASE_USERMOD_E131.build_flags} | ||
${STARBASE_USERMOD_MPU6050.build_flags} | ||
|
@@ -175,7 +177,6 @@ platform = [email protected] ; this one behaves better for debugging 6.5.0 is | |
upload_speed = 256000 | ||
build_flags = | ||
${env.build_flags} | ||
-mtext-section-literals ;otherwise [UserModLive::setup()]+0xa17): dangerous relocation: l32r: literal target out of range (try using text-section-literals) | ||
; -DARDUINO_ARCH_ESP32 ; no proof of necessity yet... | ||
-D CONFIG_IDF_TARGET_ESP32S2=1 | ||
-D ARDUINO_USB_CDC_ON_BOOT=1 -D ARDUINO_USB_DFU_ON_BOOT=1 -D ARDUINO_USB_MSC_ON_BOOT=0 ; for debugging over USB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters