Search found 10 matches

by julienD
Mon Jun 08, 2020 1:20 pm
Forum: ESP32 IDF
Topic: Can't tell linker to exclude stripping several functions
Replies: 3
Views: 302

Re: Can't tell linker to exclude stripping several functions

It doesn't work.

Command line becomes:

Code: Select all

&& /home/ju/tools/crosstool-NG/builds/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++  -mlongcalls -Wno-frame-address  "-u memcpy1" "-u SpiInOut" "-u DelayMs" CMakeFile
as a result : undefined reference to SpiInOut...
by julienD
Thu Jun 04, 2020 10:17 am
Forum: ESP32 IDF
Topic: Can't tell linker to exclude stripping several functions
Replies: 3
Views: 302

Can't tell linker to exclude stripping several functions

Hello, I have several components in my project. Some of them are using functions from others. In order to avoid compiler to strip the functions that are not used by the main component, I use the -u option like this: main's CMakeLists.txt : <snip> target_link_options( ${COMPONENT_LIB} PUBLIC -u SpiIn...
by julienD
Sat Apr 11, 2020 11:46 am
Forum: ESP32 IDF
Topic: system_event: SYSTEM_EVENT_STA_DISCONNECTED, reason:2 (auth expired)
Replies: 0
Views: 906

system_event: SYSTEM_EVENT_STA_DISCONNECTED, reason:2 (auth expired)

Hello With esp-wroom-32d, idf v4.0-beta2-366-gaa51829ec, xtensa-esp32-elf-gcc (crosstool-NG esp32-2019r1) 8.2.0 : My app connects to wifi hotspot. it opens a webserver and websocket. The apps works correctly (basically, set on or off some pins based on data received from websocket, and push buttons)...
by julienD
Wed Nov 06, 2019 9:49 am
Forum: ESP32 IDF
Topic: ESP32 Signed App Verification
Replies: 5
Views: 1664

Re: ESP32 Signed App Verification

Hi Angus,

thanks for your answer.
Is there a document that explains how you manage branches?

Thanks
Julien
by julienD
Mon Nov 04, 2019 3:25 pm
Forum: ESP32 IDF
Topic: ESP32 Signed App Verification
Replies: 5
Views: 1664

Re: ESP32 Signed App Verification

Hello Angus,

Sorry, your link is dead.
I ran into the same issue. Please, do you have a delivery date for that?

Thanks
Julien
by julienD
Wed Oct 23, 2019 12:40 pm
Forum: ESP32 IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 422

Re: spi write causes a crash with nested call

Looks like spi_device_transmit() should specify SPI_TRANS_USE_RXDATA even if rxlength is 0.
by julienD
Wed Oct 23, 2019 7:44 am
Forum: ESP32 IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 422

Re: spi write causes a crash with nested call

Some more information: This morning, I went back to 3.3 with the same behaviour but, it allows me to get a stack trace: Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4000c325 PS : 0x00060d30 A0 : 0x8008307d A1 : 0x3ffb4d80 A2 : 0x0000...
by julienD
Tue Oct 22, 2019 3:45 pm
Forum: ESP32 IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 422

spi write causes a crash with nested call

Hello, I'm running into a curious behaviour. I implemented a generic function to read a register from a external device through a spi communication: uint8_t spi_read_reg(uint8_t addr) { ESP_LOGI(TAG, "----------------read_reg at address %d -------------------------", addr); uint32_t toSend = addr & ...
by julienD
Tue Sep 24, 2019 3:22 pm
Forum: ESP32 IDF
Topic: Strange warning
Replies: 1
Views: 416

Strange warning

Hello, With this code: tcpip_adapter_ip_info_t ip_info; tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ip_info); /* Create a new UDP control block */ struct udp_pcb *upcb = udp_new_ip_type(IPADDR_TYPE_V4); if (upcb != NULL) { ip4_addr_t serverIp = ip_info.gw; udp_connect(upcb, &serverIp, UDP_SERVE...
by julienD
Fri Sep 13, 2019 1:09 pm
Forum: ESP32 IDF
Topic: udp_send fails depending on a buffer size
Replies: 0
Views: 558

udp_send fails depending on a buffer size

Hello, I'm building an app that sends data over udp. As a beginning, I did something like this: static void udpServerTask(void *pvParameters) { tcpip_adapter_ip_info_t ip_info; tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ip_info); struct udp_pcb *upcb; err_t err; upcb = udp_new_ip_type(IPADDR_T...

Go to advanced search