Search found 12 matches

by julienD
Sun Sep 27, 2020 7:37 am
Forum: ESP-IDF
Topic: [Solved] How do I include an mdebtls directory in a component?
Replies: 2
Views: 345

Re: How do I include an mdebtls directory in a component?

Works like a charm!

Thanks Marius.
by julienD
Sat Sep 26, 2020 3:26 pm
Forum: ESP-IDF
Topic: [Solved] How do I include an mdebtls directory in a component?
Replies: 2
Views: 345

[Solved] How do I include an mdebtls directory in a component?

Hello On esp32, using esp-idf, I built a module called webSocket.c/.h . it includes #include "esp32/sha.h" This include compile when the module is in the main directory. But as this module is generic, I want to put it in a component. I moved it to "components/webSocket" directory and added a CMakeLi...
by julienD
Mon Jun 08, 2020 1:20 pm
Forum: ESP-IDF
Topic: Can't tell linker to exclude stripping several functions
Replies: 3
Views: 585

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: ESP-IDF
Topic: Can't tell linker to exclude stripping several functions
Replies: 3
Views: 585

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: ESP-IDF
Topic: system_event: SYSTEM_EVENT_STA_DISCONNECTED, reason:2 (auth expired)
Replies: 0
Views: 1094

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: ESP-IDF
Topic: ESP32 Signed App Verification
Replies: 5
Views: 2109

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: ESP-IDF
Topic: ESP32 Signed App Verification
Replies: 5
Views: 2109

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: ESP-IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 629

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: ESP-IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 629

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: ESP-IDF
Topic: spi write causes a crash with nested call
Replies: 2
Views: 629

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 & ...

Go to advanced search