Search found 1812 matches

by ESP_Angus
Mon Oct 14, 2019 3:28 am
Forum: ESP32 IDF
Topic: What is CMake equivalent for a prebuilt third-party library?
Replies: 6
Views: 192

Re: What is CMake equivalent for a prebuilt third-party library?

Hi jsam589, Sorry, I should have asked for the full details about the component before replying. The root cause of this error is that the component doesn't have any source files (no "idf_register_component(SRCS ...)"). CMake calls this as an "interface" library target rather than a regular library t...
by ESP_Angus
Mon Oct 14, 2019 3:22 am
Forum: ESP32 IDF
Topic: Flash encryption & Secure Boot
Replies: 6
Views: 190

Re: Flash encryption & Secure Boot

I chose one time flash mode, is it cause of my error? As I understood, I could not flash and not enabled secure boot yet. So, with same key file and choosing reflashable mode, I should be able upload my code? No. Whatever the cause of these errors is, it's not caused by enabling flash encryption or...
by ESP_Angus
Mon Oct 14, 2019 3:11 am
Forum: Hardware
Topic: ESP32 flashing problem
Replies: 2
Views: 156

Re: ESP32 flashing problem

Hi MHT2020, It looks like the ESP32 is having some problem talking to the attached flash chip. Can you give some details about exactly which ESP32 hardware (chip, module, etc) you used, or even a schematic (or piece of a schematic) to show how it's wired up? Is anything connected to the GPIOs which ...
by ESP_Angus
Fri Oct 11, 2019 4:30 am
Forum: General Discussion
Topic: RNG Quality (Dieharder Test Results Failing)
Replies: 8
Views: 402

Re: RNG Quality (Dieharder Test Results Failing)

Hi bnp117, I see, thanks for the links. Are you outputting the data in hex or raw binary form? If raw binary, check this kconfig item , the default stdout setting will replace any \n with \r\n and this pattern is (rightly) enough to fail dieharder. (I know this from having debugged it once before.) ...
by ESP_Angus
Fri Oct 11, 2019 3:57 am
Forum: ESP32 IDF
Topic: What is CMake equivalent for a prebuilt third-party library?
Replies: 6
Views: 192

Re: What is CMake equivalent for a prebuilt third-party library?

Hi jsam, Very sorry, I used the wrong variable name. Have edited the post. This is cribbed from the esp_wifi component, which has to do the same thing (but in a more complex way): https://github.com/espressif/esp-idf/blob/v4.0-beta1/components/esp_wifi/CMakeLists.txt#L20 The PUBLIC keyword shown in ...
by ESP_Angus
Thu Oct 10, 2019 11:39 pm
Forum: ESP32 IDF
Topic: What is CMake equivalent for a prebuilt third-party library?
Replies: 6
Views: 192

Re: What is CMake equivalent for a prebuilt third-party library?

Hi jsam589, You can do something like this in the component CMakeLists.txt file: target_link_libraries(${COMPONENT_LIB} "-L ${CMAKE_CURRENT_SOURCE_DIR}") target_link_libraries(${COMPONENT_LIB} algobsec) EDIT: Changed COMPONENT_TARGET to COMPONENT_LIB. The first line adds the component directory (whi...
by ESP_Angus
Thu Oct 10, 2019 11:36 pm
Forum: General Discussion
Topic: Encrypted OTA firmware
Replies: 21
Views: 4292

Re: Encrypted OTA firmware

Thank you ! Is it better to keep the secret key in the firmware or eFuse BLK3 ? Thank you again. EDIT: Just read I wouldn't have access to BLK3 from program if I read protect it so it's not good. Should I instead add a small encrypted flash partition to hold the key ? Storing it in flash is necessa...
by ESP_Angus
Thu Oct 10, 2019 11:33 pm
Forum: General Discussion
Topic: RNG Quality (Dieharder Test Results Failing)
Replies: 8
Views: 402

Re: RNG Quality (Dieharder Test Results Failing)

Hi bnp117,

We also ran the dieharder suite on ESP32 output and it passed.

Is it possible you could please post the project that was used for the test & to capture the data to the PC? You can send it to me privately if you don't wish to share it publicly.

Angus
by ESP_Angus
Thu Oct 10, 2019 11:27 pm
Forum: ESP32 IDF
Topic: Flash encryption & Secure Boot
Replies: 6
Views: 190

Re: Flash encryption & Secure Boot

Hi mu My aim was nobody could not flash mydevice without my key, but unfortunately I could not flash my device now. From the description, the steps you've followed are the right steps for this goal. Neither flash encryption or secure boot are actually enabled yetr (FLASH_CRYPT_CNT==0, ABS_DONE_0==0)...
by ESP_Angus
Thu Oct 10, 2019 12:36 am
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 266

Re: cmake in esp-idf 4.0-beta verbose

Hi wevets, Thanks for the detailed description of the bug. This is the actual bug: Immediately on the hang, an attached file calling itself "esp32ulp_mapgen.py" popped up in a notepad window. The build system is executing a .py file with the default system interpreter (which happens to be a Notepad ...

Go to advanced search