Search found 25 matches

by MindReader32
Sat Oct 12, 2019 11:44 am
Forum: ESP-IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 12
Views: 18961

Re: Help using CLion + CMake + ESP-IDF v3.2.2

EDIT: I opened a new topic for this here: https://esp32.com/viewtopic.php?f=13&t=12677

Now that the ESP-IDF is moving away from Make to Ninja (and Clion doesn't support Ninja) do any of the ESP engineers have any tips to get this to work with IDF v4.x+ please?

Thanks
by MindReader32
Thu Oct 10, 2019 7:33 am
Forum: ESP-IDF
Topic: Shared code and cross-platform stubs in IDF CMake API v4.0
Replies: 2
Views: 5387

Shared code and cross-platform stubs in IDF CMake API v4.0

Hi, I've built a project based on the idf_as_lib example project and want to take it further: 1. support shared code that can target both ESP32 and 'HOST', as it's not platform specific 2. allow the shared code to reside outside the source tree (i.e. $PROJECT_SOURCE_DIR/../shared/...) 3. in addition...
by MindReader32
Thu Oct 10, 2019 6:44 am
Forum: ESP-IDF
Topic: Parrallel compiling with CMake
Replies: 3
Views: 4704

Re: Parrallel compiling with CMake

Hi,

I'd also like to know too please.

Thanks
by MindReader32
Sat Sep 28, 2019 6:52 pm
Forum: General Discussion
Topic: JTAG debuggers
Replies: 26
Views: 34783

Re: JTAG debuggers

I was also seeing the Core/Debug reset messages after switching from one type of dev board to another. I had to alter: MenuConfig -> Components -> ESP-32 Specific -> Main XTAL frequency. I changed from from "Autodetect" to a specific frequency (in my case is was 40 Mhz) sdkconfig snippet: CONFIG_ESP...
by MindReader32
Tue Jun 18, 2019 8:12 am
Forum: ESP-IDF
Topic: SSL Certificate Renewal
Replies: 14
Views: 26399

Re: SSL Certificate Renewal

Hi,

LetsEncrypt certs expire every 90 days, although this question applies to all cert...
What is the correct/trusted process to update the cert on the ESP32 when the cert on the ESP32 flash partition is out of date and the cert on the server is updated?

Thanks
by MindReader32
Thu Apr 11, 2019 7:11 pm
Forum: ESP-IDF
Topic: Unit testing, on the host (gcc x86_64)
Replies: 0
Views: 1902

Unit testing, on the host (gcc x86_64)

Hi, I want to use the unit testing framework that comes with IDF on code that is not ESP32 specific and for expedience I want to run it on my dev machine, and not any ESP32 Device Under Test (DUT) Has anyone got any tips or pointers on how todo that using the existing tools and component conventions...
by MindReader32
Mon Mar 25, 2019 12:48 pm
Forum: Hardware
Topic: How to prevent flash data readout, but allow flash instruction execution
Replies: 1
Views: 3172

How to prevent flash data readout, but allow flash instruction execution

Hi, Using encrypted flash is the way to go to protect my firmware but if I deploy my encrypted app, which contains a scripting language (e.g. micropython), it will be (I think) possible to readout my flash contents from within the scripting language when running on the ESP32, unless I do 1 or 2 thin...
by MindReader32
Tue Jan 08, 2019 11:41 am
Forum: ESP-IDF
Topic: SSL Certificate Renewal
Replies: 14
Views: 26399

Re: SSL Certificate Renewal

I guess I just have to load the certificate from the NVS partition into RAM and set in the `esp_http_client_config_t` config: const char *cert_pem; /*!< SSL Certification, PEM format as string, if the client requires to verify server */ Perhaps the API could support a list of certs, as otherwise I w...
by MindReader32
Tue Jan 08, 2019 11:37 am
Forum: ESP-IDF
Topic: SSL Certificate Renewal
Replies: 14
Views: 26399

Re: SSL Certificate Renewal

Thanks for the info. How do I make the OTA API use the certificates in the partition, as currently, as per the OTA example, they are setup using: extern const uint8_t server_cert_pem_start[] asm("_binary_ca_cert_pem_start"); extern const uint8_t server_cert_pem_end[] asm("_binary_ca_cert_pem_end"); ...
by MindReader32
Tue Jan 08, 2019 7:12 am
Forum: ESP-IDF
Topic: SSL Certificate Renewal
Replies: 14
Views: 26399

Re: SSL Certificate Renewal

Indeed, a browser on a PC or mobile device can easily download and store cert updates into a local key store/cert repo; which is what I’m trying to figure out how todo on the ESP32.
I shall continue my search...