-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while building RFquack for ESP32C3 #45
Comments
Can you checkout a fresh copy of the repository somewhere else and type here the exact sequence of commands that you type, step by step? Please paste the entire output, even when not containing errors. |
following the instructions starting at https://rfquack.org/usage/download/ :
|
This is the offending line:
I'm assuming your boards is slightly different than a regular ESP32, so you may need to adjust the board definition, otherwise PlatformIO may load the wrong hardware abstraction layers. |
tried considering just buying an esp32 dev kit, but if you think i can do it with a esp32c3, please let me know |
You have to ensure that you can compile a "hello world" PlatformIO project for the esp32c3. |
I'm afraid there's some incompatibility with the HWCDC library and the esp32c3 Can you try to include it into your hello world project and see if the same error is triggered? |
Include would not suffice. To reproduce, you need to use the library in the same way it's used in (I think was) RadioLib, IIRC. |
sorry for the late reply, doing my finals this week i haven't found any decent documentation on HWCDC (what its used for, how to use it), can you point me in the right direction or can you give me an example? |
I never used it either, but you can copy from the code that triggers the error and include the minimum until you can reproduce the error in your standalone project. |
okay, after fiddling with it for a bit now i just ripped out the code that gave me the issue and it worked: in /src/rfquack_logging.h, i removed the if segment from everytime i use the rfquack cli interface though, i get |
actually, i may have found out why - how would i go upon changing the spi pins? the spi pins on the esp32c3 xiao are conflicting with gpio pin 9, which will make the esp go into download mode if its plugged in to the cc1101, which made me have to change it it worked with another rf hacking tool just by changing the spi pins, but i cant seem to figure that out in here |
You can reassign pins as you would do in any PlatformIO project. Including SPI pins. If not advise to disable logging, tho. |
i haven't found it, and pio doesn't let you change spi pins - i meant as in one of the project files, like
hopefully i can fix that, but i currently wanna get the base working and then fix |
Describe the bug
while attempting to build (with every dependency installed), it fails with:
To Reproduce
i just tried attempting building, and it doesn't work - installed all prerequisites from the rfquack site
Expected behavior
successful building of rfquack, then flashing
Screenshots or pictures
none
Additional info (please complete)
The text was updated successfully, but these errors were encountered: