Search found 291 matches

by jcsbanks
Mon Oct 21, 2019 7:38 am
Forum: ESP32 IDF
Topic: FatFs does not work on encrypted partition
Replies: 11
Views: 2429

Re: FatFs does not work on encrypted partition

I got into the habit of only adding the encryption tags in the partition table only when flash encryption was enabled. It was not mentioned in docs, but it solved a few problems if I recall switching between flash encryption on or off.
by jcsbanks
Mon Oct 21, 2019 7:24 am
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

Update: despite the smaller size, the toolchain and applications built with it do work.
by jcsbanks
Wed Oct 16, 2019 12:59 pm
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

Even if I rename the original toolchain, builds still work, but the new toolchain is 300MB smaller!!?? I guess I just don't understand these symbolic links and where they point to.
by jcsbanks
Wed Oct 16, 2019 12:54 pm
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

Toolchain path: /opt/xtensa-esp32-elf-new/bin/xtensa-esp32-elf-gcc WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-98-g4638c4f6 Expected to see version: crosstool-ng-1.22.0-80-g6c4433a Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk. Co...
by jcsbanks
Wed Oct 16, 2019 12:36 pm
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

# Automatically download precompiled toolchain, unpack at /opt/xtensa-esp32-elf/ TOOLCHAIN_ZIP=xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip echo "Downloading precompiled toolchain ${TOOLCHAIN_ZIP}..." cd ~ curl -LO --retry 10 http://dl.espressif.com/dl/${TOOLCHAIN_ZIP} cd /opt rm -rf /opt/xt...
by jcsbanks
Wed Oct 16, 2019 12:22 pm
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

I used 7zip in administrator mode (so it was able to create symbolic links) to unpack the tar in a new directory.
by jcsbanks
Wed Oct 16, 2019 12:07 pm
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

Thanks, I'd really like to install the updated toolchain on windows, but I cannot work out how to do it. I can manage to add the volatiles and change the binaries in newlib. I can extract xtensa-esp32-elf-win32-1.22.0-98-g4638c4f-5.2.0-20190827.tar but the contents are smaller than the original tool...
by jcsbanks
Wed Oct 09, 2019 8:31 am
Forum: ESP32 IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 3059

Re: RMT - simplest receive example working, but idle_threshold problem

Inside a task on a loop: while (item->val==-1) { if (RMT.status_ch[rmt_rx.channel]==0x04000000){ //overflow action } } Receiving the buffer contents: for(i = 0; i < (uint8_t)RMT.status_ch[rmt_rx.channel]; i++) { lowus = !(item+i)->level0*(item+i)->duration0 + !(item+i)->level1*(item+i)->duration1; h...
by jcsbanks
Wed Oct 09, 2019 8:20 am
Forum: ESP32 IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 3059

Re: RMT - simplest receive example working, but idle_threshold problem

Init, sorry the tabs don't display correctly. BUFS and INPUT need to be defined. rmt_config_t rmt_rx = { .channel = 0, .gpio_num = INPUT, .clk_div = 80, //1MHz .mem_block_num = BUFS, .rmt_mode = RMT_MODE_RX, .rx_config = {.filter_en = true, .filter_ticks_thresh = 255, .idle_threshold = 30000} }; rmt...
by jcsbanks
Fri Oct 04, 2019 6:46 am
Forum: ESP32 IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 858

Re: PSRAM cache - how/when to update toolchain?

Any advice appreciated. Want to start beta testing our new product.

Go to advanced search