Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not debug an esp with this library #311

Open
popos123 opened this issue Feb 24, 2024 · 0 comments
Open

Can not debug an esp with this library #311

popos123 opened this issue Feb 24, 2024 · 0 comments

Comments

@popos123
Copy link

popos123 commented Feb 24, 2024

Hi, maybe this is some problem in another place but, please tell me maybe a hint or someone that debugging is working with library:
(yeah, without this library debugging is working fine), so my setup:

  • Windows 11, nevest
  • Visual Studio Code, nevest with PlatformIO
  • ESP32 PICO V3: https://eltron.pl/kontrolery_rf_i_urzadzenia_peryferyjne-espressif-esp32_pico_kit_1-1_54oyy3
  • ESP-PROG: https://www.tme.eu/pl/details/esp-prog/
  • Nevest Software Serial from fork that working: https://github.com/jmceleney/espsoftwareserial

And im getting an error:
.pio\build\pico32\libf30\libespsoftwareserial-8.2.0-fork(SoftwareSerial.cpp.o): in function `std::__atomic_base<unsigned int>::load(std::memory_order) const': c:\users\popos\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/atomic_base.h:392:(.iram1.67[_ZNK14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE9availableEv]+0x20): dangerous relocation: l32r: literal placed after use: .literal._ZNK14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE9availableEv c:\users\popos\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/atomic_base.h:392:(.iram1.67[_ZNK14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE9availableEv]+0x54): dangerous relocation: l32r: literal placed after use: .literal._ZNK14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE9availableEv c:\users\popos\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/atomic_base.h:392:(.iram1.68[_ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj]+0x24): dangerous relocation: l32r: literal placed after use: .literal._ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj c:\users\popos\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/atomic_base.h:392:(.iram1.68[_ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj]+0x72): dangerous relocation: l32r: literal placed after use: .literal._ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj .pio\build\pico32\libf30\libespsoftwareserial-8.2.0-fork(SoftwareSerial.cpp.o): in function `circular_queue<unsigned int, EspSoftwareSerial::UARTBase*>::push(unsigned int&&)': C:\Users\popos\Documents\PlatformIO\Projects\esp32_picp_esp_prog_test/.pio/libdeps/pico32/ghostl/src/circular_queue.h:190:(.iram1.68[_ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj]+0xf6): dangerous relocation: l32r: literal placed after use: .literal._ZN14circular_queueIjPN17EspSoftwareSerial8UARTBaseEE4pushEOj collect2.exe: error: ld returned 1 exit status *** [.pio\build\pico32\firmware.elf] Error 1

@popos123 popos123 changed the title Can not debug a esp with this library Can not debug an esp with this library Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant