Search found 2071 matches

by ESP_igrr
Tue Oct 04, 2016 2:47 pm
Forum: ESP-IDF
Topic: [Answered] How much of newlib is implemented/mapped/usable on ESP32?
Replies: 5
Views: 9639

Re: How much of newlib is implemented/mapped/usable on ESP32?

True, this header file is part of newlib, however all functions are within #if defined(_POSIX_THREADS) block, and _POSIX_THREADS option is not enabled when building newlib.
by ESP_igrr
Tue Oct 04, 2016 3:22 am
Forum: ESP-IDF
Topic: [Answered] How much of newlib is implemented/mapped/usable on ESP32?
Replies: 5
Views: 9639

Re: How much of newlib is implemented/mapped/usable on ESP32?

Newlib implements C standard library plus some extensions. Most of the standard library works on the ESP32. Things which don't work yet include: - time() and clock() functions - functions which read from standard input: scanf, getc, gets, and so on. - functions which operate on FILEs, such as fopen,...
by ESP_igrr
Thu Sep 29, 2016 11:16 am
Forum: Showcase
Topic: [Info] Using Raspberry Pi as a development environment
Replies: 19
Views: 73675

Re: Using Raspberry Pi as a development environment

Regarding ESP32 toolchain for Linux ARM hosts: thanks for a reminder, I will add it to the list of pre-built toolchains.
by ESP_igrr
Tue Sep 27, 2016 1:38 pm
Forum: ESP-IDF
Topic: [Info] Doxygen generated documentation for ESP-IDF
Replies: 1
Views: 6509

Re: Doxygen generated documentation for ESP-IDF

Most certainly, we would like to generate doxygen docs automatically during our CI builds.
I'm leaving for a vacation tomorrow but I'll see if someone on the team can take on this task!
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: 10159

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: 10968

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: 8674

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: 17463

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: 17463

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