Search found 7 matches

by jspark311
Wed Jul 17, 2019 2:15 am
Forum: ESP-IDF
Topic: Error when compiling with xtensa-esp32-elf
Replies: 10
Views: 18827

Re: Error when compiling with xtensa-esp32-elf

ESP_Angus: Downgrade to esp-df 3.3-latest did the trick with compiler 5.2. Thanks again for your help. For anyone else who reads this: There is also something busted in the 4.0 python requirements detection script. I have pyelftools 0.24 installed, and I had to manually edit out that requirement fro...
by jspark311
Wed Jul 17, 2019 1:51 am
Forum: ESP-IDF
Topic: Error when compiling with xtensa-esp32-elf
Replies: 10
Views: 18827

Re: Error when compiling with xtensa-esp32-elf

Stand-alone git request. Pulled fresh last night. By your hypothesis, I'm on 4.0. I will revert to latest 3.x and report back. Thanks again, ESP_Angus. :-) $ git log commit fdab15dc76a3464ed10ce03e9b9cf1a5cd2aa0d1 (HEAD -> master, origin/master, origin/HEAD) Merge: 6ae352c3a 8f2d13d9d Author: Jiang ...
by jspark311
Wed Jul 17, 2019 1:12 am
Forum: ESP-IDF
Topic: Error when compiling with xtensa-esp32-elf
Replies: 10
Views: 18827

Re: Error when compiling with xtensa-esp32-elf

ESP_Angus, thanks for your help but following your instructions causes this output (which is why I upgraded to 8.2 in the first place). $ make Toolchain path: /opt/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-80-g6c4433a Expected to s...
by jspark311
Tue Jul 16, 2019 6:16 am
Forum: ESP-IDF
Topic: Error when compiling with xtensa-esp32-elf
Replies: 10
Views: 18827

Re: Error when compiling with xtensa-esp32-elf

I'm having this problem as well, following update to ESP-IDF (master branch), and upgrade of the compiler. I read This github issue: https://github.com/micropython/micropython/issues/4850 . Do I really need to downgrade crosstool-ng to 1.22? That's harsh, if so. Any advice? $ ct-ng This is crosstool...
by jspark311
Thu Jan 24, 2019 7:01 pm
Forum: General Discussion
Topic: [SPI] how to stop using DMA
Replies: 8
Views: 14833

Re: [SPI] how to stop using DMA

Are you able to read also more than 64 bytes (e.g. 113 bytes) with your driver without loosing some bytes? No. I only eschew DMA if the transfer is 2-bytes long. My hardware has two classes of transaction (both of them full-duplex): 2-bytes in/2-bytes out (no DMA), and 4-bytes out, X bytes in (usin...
by jspark311
Wed Jan 23, 2019 12:46 am
Forum: General Discussion
Topic: [SPI] how to stop using DMA
Replies: 8
Views: 14833

Re: [SPI] how to stop using DMA

Currently I am working on a totally stupid solution: Would you like to look at my totally stupid solution? :-) I have an SPI slave driver that I've written. It's a mess, but it works well enough to demonstrate some things. Maybe it will help you. https://github.com/Manuvr/Digitabulum-Firmware/blob/...
by jspark311
Sat Feb 25, 2017 8:59 am
Forum: ESP-IDF
Topic: SPI Usage
Replies: 7
Views: 11840

Re: SPI Usage

I am also interested in running SPI2/3 as slaves. I saw a few other SPI-related github issues knocked down today, but no word on slave capabilities, nor much indication in the existing SPI driver code base that it is coming soon. Should I write my own drivers? Extend SPI master to also handle slave ...