Search found 303 matches

by jcsbanks
Wed Nov 13, 2019 9:12 pm
Forum: ESP-IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 6707

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

Is that loop ever going to be blocked/yield or just burn up CPU cycles?
by jcsbanks
Mon Nov 11, 2019 12:24 pm
Forum: ESP-IDF
Topic: BT classic within IDF: AVRCP CT - send track/artist metadata without audio
Replies: 3
Views: 1551

BT classic within IDF: AVRCP CT - send track/artist metadata without audio

I've been reading the documentation and include files on Bluetooth classic and looking at examples, but am new to Bluetooth and struggling. My desired use case is to get an ESP32 to become a Bluetooth source to be able to send track/artist strings/metadata to a bluetooth sink device that is a media ...
by jcsbanks
Mon Oct 21, 2019 7:38 am
Forum: ESP-IDF
Topic: FatFs does not work on encrypted partition
Replies: 11
Views: 5073

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 2736

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: ESP-IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 6707

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

Go to advanced search