Search found 2344 matches
- Tue Mar 19, 2019 3:22 am
- Forum: Hardware
- Topic: How secure is the flash in modules where it's embedded?
- Replies: 1
- Views: 2980
Re: How secure is the flash in modules where it's embedded?
The flash in the modules is very readily available to an attacker with physical access, in a few ways: All of the ESP32 pins connected to the SPI flash chip are also broken out on the module pins. The ESP32 "ROM bootloader" mode (used for flashing with esptool.py) allows reading out the flash conten...
- Tue Mar 19, 2019 3:18 am
- Forum: ESP-IDF
- Topic: Trouble programming using Linux Mint virtualbox on Windows 10 host
- Replies: 2
- Views: 4309
Re: Trouble programming using Linux Mint virtualbox on Windows 10 host
Hi knotty1, Glad you found a resolution. Is this an inherent limitation of running in the VM? Probably. The timing of the RTS & DTR signal transitions for the "auto reset" sequence have some timing constraints, but there are a lot of things which can influence this timing. Having additional overhead...
- Tue Mar 19, 2019 12:08 am
- Forum: ESP-IDF
- Topic: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656
- Replies: 2
- Views: 3584
Re: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656
For more about the ESP-IDF versioning scheme, see here:
https://docs.espressif.com/projects/esp ... sions.html
(I think that so far MicroPython hasn't used ESP-IDF releases or release branches, they update to the master branchperiodically instead.)
https://docs.espressif.com/projects/esp ... sions.html
(I think that so far MicroPython hasn't used ESP-IDF releases or release branches, they update to the master branchperiodically instead.)
- Tue Mar 19, 2019 12:05 am
- Forum: ESP-IDF
- Topic: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656
- Replies: 2
- Views: 3584
Re: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656
Hi John, If you have ESP-IDF checked out on your system somewhere, the easiest thing to do is to go into the ESP-IDF directory and type: $ git describe --tags 2c95a77cf93781f296883d5dbafcdc18e4389656 v3.0-dev-1028-g2c95a77cf This tells us that this commit was not a release, it was a development vers...
- Mon Mar 18, 2019 10:23 pm
- Forum: General Discussion
- Topic: How to show compile information
- Replies: 5
- Views: 5845
Re: How to show compile information
The "static DRAM" number is data+bss, as these both take up the same memory region. "static DRAM" is probably equivalent to the "DATA RAM" number in the screenshot you posted from another build system. We don't give any % for flash-resident data because the tool which calculates sizes doesn't know w...
- Mon Mar 18, 2019 6:20 am
- Forum: ESP-IDF
- Topic: (resolved) reverted IDF version; now program won't run
- Replies: 18
- Views: 16749
Re: reverted IDF version; now program won't run
Hi mzimmers, Thanks for posting this. It looks like esp_dport_access_int_init() is failing to create the dport access task, probably due to running out of memory. Then, printing the actual abort() message is failing for the same reason (it tries to allocate a lock which fails - probably due to OOM a...
- Mon Mar 18, 2019 5:46 am
- Forum: General Discussion
- Topic: compiling c structs in c++ program
- Replies: 8
- Views: 10617
Re: compiling c structs in c++ program
Sorry, I gave you bad advice (been a while since I wrote C++). Have edited previous post, just before you replied I think. :| One bit of good news on the horizon, when we update to gcc 8 then "non-trivial designated initializer" support is added and the original code you wrote should work (maybe aft...
- Mon Mar 18, 2019 5:33 am
- Forum: General Discussion
- Topic: compiling c structs in c++ program
- Replies: 8
- Views: 10617
Re: compiling c structs in c++ program
Right, sorry, I think this is a bug - the field is incorrectly typed as const unsigned integer not an unsigned integer. Fixed in v3.2 and newer branches, not fixed in v3.1 branch yet. I think your options here are: 1) Initialize all the fields in order to keep the compiler happy. 2) Edit esp_tls.h a...
- Mon Mar 18, 2019 4:50 am
- Forum: General Discussion
- Topic: compiling c structs in c++ program
- Replies: 8
- Views: 10617
Re: compiling c structs in c++ program
Ah my mistake, this is a "const unsigned char *" not an array in the structure. https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/esp_tls.html#_CPPv3N11esp_tls_cfg14cacert_pem_bufE Something like this should work: cfg.cacert_pem_buf = (const unsigned char *)aws_root_ca_pe...
- Mon Mar 18, 2019 1:21 am
- Forum: General Discussion
- Topic: How to show compile information
- Replies: 5
- Views: 5845
Re: How to show compile information
For more granular information of this kind there is also "make size-components" and "make size-files". https://docs.espressif.com/projects/esp ... ke-targets