Search found 16 matches

by Charles-S
Tue Mar 14, 2023 5:28 am
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

Re: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

I think so, yes :P RVfplib is a bit special since it replaces the floating point library, but generally having assembly stuff isn't that different from C stuff: simply create a component, dump your .S files in there, and they'll get linked and compiled. Also, I think I found why you couldn't find t...
by Charles-S
Mon Mar 13, 2023 9:43 pm
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

Re: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

Another update. Finally got around to trying out the master branch as suggested. I checked the configuration options... RVfplib is still not there. ... Thinking about it more critically, my end goal isn't just to get RVfplib working and call it a day, but, rather, to be able to make my own hand tune...
by Charles-S
Mon Mar 13, 2023 3:38 am
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

Re: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

Just an update. In accordance with the official instructions for RVfplib, I have attempted to edit the linker commands to GCC such that the linker unlinks gcc's math lib and links in RVfplib. According to those instructions you are expected to simply add -nolibc followed by -lrvfp command flags to g...
by Charles-S
Sat Mar 11, 2023 5:48 pm
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

Re: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

I think that lib was added to esp-idf fairly recently... What ESP-IDF version are you using? If it's new enough (when in doubt, use the master branch) you should simply be able to select it in Menuconfig without having to add the sources manually; it should come with ESP-IDF. I'm using "ESP-IDF v5....
by Charles-S
Sat Mar 11, 2023 6:08 am
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

Re: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

Attached is a sample project folder, complete with working builds. I just took the import_prebuilt example project, added the fresh build of the library, then slapped together some crude logic to try and run each of the libs through their paces manually.
import_prebuilt.7z
(7.22 MiB) Downloaded 429 times
by Charles-S
Sat Mar 11, 2023 6:00 am
Forum: ESP-IDF
Topic: How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)
Replies: 7
Views: 2299

How to add RVfplib to compiler options in SDK config? (or otherwise make RVfplib work)

Hello. So... I'm playing with "RVfplib - Optimized RISC-V FP emulation for 32-bit processors" (SOURCE) I have the above compiled as a loadable module, and integrated into ESP-IDF in my IDE of choice. Was fiddly, but with MinGW I got it built. If I drop the resulting files from above into an ESP-IDF ...
by Charles-S
Thu Mar 09, 2023 4:18 pm
Forum: ESP-IDF
Topic: What is the meaning of this warning "wifi: <ba-add>idx ..."?
Replies: 5
Views: 8760

Re: What is the meaning of this warning "wifi: <ba-add>idx ..."?

I know I'm late, but for future readers.... My (5 mins worth of) research suggests that wifi:<ba-add> is the "Add BlockAck exchange" part of a QoS handshake event for a technique known as the BlockAck Mechanism. Going farther, tid is the "Traffic ID," and ssn is the "Start Sequence Number." You can ...
by Charles-S
Thu Jan 05, 2023 1:34 am
Forum: General Discussion
Topic: [Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader
Replies: 10
Views: 6022

Re: Cannot connect to ESP32-C3 USB/JTAG outside of bootloader

YAY!!!!! I got something that looks like success!!!! So... as per the error, and as per this git hub issue, if you simply add the following command to the OpenOCD config options, via launch configuration... it suddenly all "just works." -c "gdb_memory_map disable" To be clear, for any one seeing th...
by Charles-S
Wed Jan 04, 2023 8:21 pm
Forum: General Discussion
Topic: [Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader
Replies: 10
Views: 6022

Re: Cannot connect to ESP32-C3 USB/JTAG outside of bootloader

Another update: I've done a few more tests, and learned some things. Most importantly, I've attached an LED to GPIO4 for running the blink example and watching actual, tangible, physical reaction of the chip itself. When loading the blink example in bootloader mode, I can confirm that, in fact, the ...
by Charles-S
Wed Jan 04, 2023 5:28 pm
Forum: General Discussion
Topic: [Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader
Replies: 10
Views: 6022

Re: Cannot connect to ESP32-C3 USB/JTAG outside of bootloader

No, the JTAG and the serial functionality of the USB-serial-JTAG converter are two entirely separate channels; I don't know of a way in which messing with only the serial port functionality would affect JTAG. Ah yes, I forgot to mention... (and sorry for spamming) The official documentation ties th...