Search found 2067 matches

by ESP_igrr
Tue Sep 27, 2016 5:17 am
Forum: General Discussion
Topic: zalloc not more supported in esp-idf was there a change?
Replies: 5
Views: 9542

Re: zalloc not more supported in esp-idf was there a change?

You can use calloc, which is part of C standard library.
by ESP_igrr
Sun Sep 25, 2016 3:09 am
Forum: ESP-IDF
Topic: [Solved] esp_wifi_init - what are the record types in the queue?
Replies: 4
Views: 10396

Re: esp_wifi_init - what are the record types in the queue?

Just to clarify a bit: currently application developers are not supposed to call esp_wifi_init, it is called automatically from startup code. One only needs to configure wifi settings in app_main function. This, however, is going to change in the coming days, as app_main callback will be removed, an...
by ESP_igrr
Fri Sep 23, 2016 5:32 am
Forum: Report Bugs
Topic: Bootloader reports wrong flash size?
Replies: 2
Views: 7957

Re: Bootloader reports wrong flash size?

It's a bug, we fail to set chip size member in global flashchip structure to the size found in the binary image header. Default value is 2 megabytes, and it's not updated in the 2nd stage bootloader. I haven't gotten around to fix it yet. Here's the line you may add as a workaround: https://github.c...
by ESP_igrr
Tue Sep 13, 2016 12:07 pm
Forum: General Discussion
Topic: How does Flash Encryption (aka Secure Boot) work?
Replies: 8
Views: 16228

Re: How does Flash Encryption (aka Secure Boot) work?

There are normal spi_flash_read/write APIs which allow data to be read and written without encryption, and there are also spi_flash_read_decrypt/write_encrypt APIs (not merged into master yet), which decrypt/encrypt data. So you (or the one who implements a filesystem, for example) can decide. Encry...
by ESP_igrr
Tue Sep 13, 2016 12:19 am
Forum: General Discussion
Topic: How does Flash Encryption (aka Secure Boot) work?
Replies: 8
Views: 16228

Re: How does Flash Encryption (aka Secure Boot) work?

Some parts of OTP, such as flash encryption key, are not readable from application. It is generated by hardware and stored in OTP. Flash decryption engine can load encryption key directly from OTP. While you can't dump encryption key directly, you can use bootloader mode to dump contents of flash me...
by ESP_igrr
Fri Sep 02, 2016 12:51 am
Forum: General Discussion
Topic: Interest in developer preview?
Replies: 28
Views: 44531

Re: Interest in developer preview?

jmattsson: are you interested in getting the 8266 RTOS or non-OS SDK within ESP-IDF?