Search found 2175 matches

by ESP_Angus
Wed Jul 22, 2020 4:51 am
Forum: ESP32 IDF
Topic: can not build when using c++
Replies: 9
Views: 1089

Re: can not build when using c++

Hi Halfnium,

Very glad to hear it's all working now.

Angus
by ESP_Angus
Mon Jul 20, 2020 6:26 am
Forum: ESP32 IDF
Topic: can not build when using c++
Replies: 9
Views: 1089

Re: can not build when using c++

Hi Halfnium, Thanks for the additional explanation! Agree it does sound like an issue of some kind in Eclipse. If you're using the IDF Eclipse Plugin then could you open an issue here, please? https://github.com/espressif/idf-eclipse-plugin/issues/ with as many details as possible. (Because Eclipse ...
by ESP_Angus
Sun Jul 19, 2020 11:38 pm
Forum: General Discussion
Topic: ESP32 CAN/TWAI compatibility
Replies: 2
Views: 492

Re: ESP32 CAN/TWAI compatibility

Most likely TWAI is compatible, although would need to check the details of exactly what other devices/products you are using. As per the linked documentation, TWAI support in ESP-IDF is compatible with ISO11898-1 Classical frames. ISO11891 is the standard that describes the CAN data link layer. TWA...
by ESP_Angus
Sun Jul 19, 2020 11:26 pm
Forum: ESP32 IDF
Topic: ESP32-S2 HMAC
Replies: 5
Views: 758

Re: ESP32-S2 HMAC

Hi renatopinheiro, Sprite is correct, eFuse blocks are write-once and cannot be updated, and the hardware HMAC peripheral can only source the key from the eFuse block. If you want to calculate an HMAC from a key in memory, you can do this with the mbedTLS APIs in ESP-IDF (the SHA operation is still ...
by ESP_Angus
Sun Jul 19, 2020 11:23 pm
Forum: ESP32 IDF
Topic: can not build when using c++
Replies: 9
Views: 1089

Re: can not build when using c++

Hi Halfnium, Thanks for documenting this. Just so you know, all of ESP-IDF's public headers should already have C++ header guards. If you find a header in ESP-IDF that doesn't have a guard, this is a bug so please report it. On the current ESP-IDF master branch I can change the attached hello_world_...
by ESP_Angus
Fri Jul 17, 2020 7:03 am
Forum: ESP32 IDF
Topic: Small Surprise in IDF Project Example: Purposeful or Typographical Error?
Replies: 1
Views: 268

Re: Small Surprise in IDF Project Example: Purposeful or Typographical Error?

Hi Halfnium, Sorry for the confusion caused. This is a typographical error. There are a few places in ESP-IDF where the path uses hyphens, and a few where it uses underscores. And the underscores/hyphens in the project names are similarly inconsistent. We haven't gotten around to fixing/standardizin...
by ESP_Angus
Fri Jul 17, 2020 12:14 am
Forum: ESP32 IDF
Topic: A issue on ESP-WROVER-KIT-VB board based on esp-idf v4.0
Replies: 1
Views: 1196

Re: A issue on ESP-WROVER-KIT-VB board based on esp-idf v4.0

Hi ymhsss, Sorry noone got back to you about this earlier. You're correct that the docs show the command line for openocd version 20191114 but the openocd version supplied with ESP-IDF v4.0.x is still 20190313. Will fix ASAP. In the meantime, there are two options - either should work: Continue usin...
by ESP_Angus
Thu Jul 16, 2020 11:51 pm
Forum: ESP32 IDF
Topic: esptool elf2image segment count problem [ESPTOOL-43]
Replies: 6
Views: 765

Re: esptool elf2image segment count problem [ESPTOOL-43]

Thanks for your reply, I have a better understanding of what is going on now. This said, we are preparing esptool v3.0 where we are changing some long-standing behaviours so this might be one that we can also change to parse the program headers instead I've made this working on my side, the hello-w...
by ESP_Angus
Wed Jul 15, 2020 4:31 am
Forum: ESP32 IDF
Topic: printf crashes within critical section
Replies: 5
Views: 492

Re: printf crashes within critical section

Hi ukrsms, The driver functions themselves should be thread-safe at minimum, so you shouldn't need critical sections for calling functions like gpio_config(). Can you fill us in on the big picture of what this critical section is protecting? If the resources you're controlling access to are bigger i...
by ESP_Angus
Wed Jul 15, 2020 12:39 am
Forum: ESP32 IDF
Topic: Return value for mass production
Replies: 1
Views: 256

Re: Return value for mass production

Hi Alex,

All of the tools should return a process exit code of zero for success and non-zero for any failure. Are you able to check this in your script?

(If you've found a case where this doesn't happen, it's probably a bug so please let us know.)

Angus

Go to advanced search