Search found 16 matches

by technosf
Thu Dec 28, 2023 9:04 pm
Forum: ESP-IDF
Topic: IDF 5.1+ and the new RMT API - loop count is not supported
Replies: 1
Views: 345

[Solved] Re: IDF 5.1+ and the new RMT API - loop count is not supported

To answer my own question, in soc_caps.h there is SOC_RMT_SUPPORT_TX_LOOP_COUNT which needs to be checked if you wish to do loops. From the rmt_tx code: #if !SOC_RMT_SUPPORT_TX_LOOP_COUNT ESP_RETURN_ON_FALSE(config->loop_count <= 0, ESP_ERR_NOT_SUPPORTED, TAG, "loop count is not supported"); #endif ...
by technosf
Thu Dec 28, 2023 8:53 pm
Forum: ESP-IDF
Topic: IDF 5.1+ and the new RMT API - loop count is not supported
Replies: 1
Views: 345

IDF 5.1+ and the new RMT API - loop count is not supported

Hullo! I am trying to transmit a uint32_t multiple times via the RMT peripheral using the byte encoder. Duplicating the uint32_t into an array and sending the array works fine, but if I try to have the RMT peripheral itself loop over the single value by changing the rmt_transmit_config_t.loop_count ...
by technosf
Tue Aug 16, 2022 11:31 pm
Forum: ESP-IDF
Topic: RISC-V Pseudoinstructions - Illegal operands?
Replies: 1
Views: 1155

Re: RISC-V Pseudoinstructions - Illegal operands?

Answering my own question - I was using li when I needed to use la :roll:
by technosf
Tue Aug 16, 2022 9:51 pm
Forum: ESP-IDF
Topic: RISC-V Pseudoinstructions - Illegal operands?
Replies: 1
Views: 1155

RISC-V Pseudoinstructions - Illegal operands?

I am compiling a RISC-V main program and having mixed results with psuedoinstructions:

mv works

li does not compile:

Code: Select all

Error: illegal operands `li t0,_dest'
Is there documentation on which psuedos are supported?

Cheers
by technosf
Wed Nov 18, 2020 2:34 am
Forum: IDEs for ESP-IDF
Topic: VSCode OpenOCD GDB debugging - can't get UI to step
Replies: 2
Views: 5002

Re: VSCode OpenOCD GDB debugging - can't get UI to step

I am using the ESP-IDF extension with release/4.2 branch of ESP-IDF I had not seen that page before - just moved to the naked "type": "espidf" launcher. OpenOCD starts fine, but getting the error below - Time to open an issue, or have I missed something? Traceback (most recent call last): File "/hom...
by technosf
Sun Nov 15, 2020 3:34 am
Forum: IDEs for ESP-IDF
Topic: VSCode OpenOCD GDB debugging - can't get UI to step
Replies: 2
Views: 5002

VSCode OpenOCD GDB debugging - can't get UI to step

I'm wrestling with getting FTDI/JTAG working with OpenOCD and GDB along with VSCode I'm using the Blink example and appear to have everything working individually. But it looks as though the VSCode debugger is attached to a different place in the code or process than the main GDB terminal. I can run...
by technosf
Tue Nov 03, 2020 6:50 pm
Forum: ESP-IDF
Topic: Component project layout - need suggestions
Replies: 0
Views: 1556

Component project layout - need suggestions

I'm looking to version control a component and reference it in a main project. I would like to have the component also be stand-along so that I can compile and run it via 'main.c' in itself for testing, but be laid out so that including it in a separate main projects 'components' folder just works t...
by technosf
Tue Nov 03, 2020 6:12 pm
Forum: Documentation
Topic: ESP32 instruction set or assembly (ASM) programming docs?
Replies: 17
Views: 51838

Re: ESP32 instruction set or assembly (ASM) programming docs?

I have an Xtensa ASM project, built with ESP-IDF, wrapped for Arduino: https://github.com/technosf/ESPxRGB Can't remember where I found the doc for Xtensa (on a new computer ;)), just google Xtensa LX6 instruction set. The problem is not the ASM, but the setting up and entry and exit routines to exe...
by technosf
Tue Sep 22, 2020 2:41 am
Forum: ESP-IDF
Topic: Why do I suddenly get CDT Core Builder error when trying to build ESP-IDF project in Eclipse CDT ?
Replies: 5
Views: 7793

Re: Why do I suddenly get CDT Core Builder error when trying to build ESP-IDF project in Eclipse CDT ?

Just started happening to me after an Eclipse update. Tried reinstalling (everything :cry: ), and using a new workspace, but no joy except for the first build - and then fail after that. Errors occurred during the build. Errors running builder 'CDT Core Builder' on project 'X'. org/eclipse/cdt/utils...
by technosf
Tue Oct 29, 2019 9:53 pm
Forum: ESP-IDF
Topic: Using NIMBLE from C++
Replies: 0
Views: 2143

Using NIMBLE from C++

I'm running a C++ app and trying to fold in NIMBLE, but hitting some roadblocks - I'm also a C/C++ neophyte, and would appreciate some pointers and advice on approaches. Specifically, I'm trying to get the blemesh example working under C++. As is, under C, it compiles and runs. Taking the C code and...