-
Notifications
You must be signed in to change notification settings - Fork 1
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
What compiler did you use ? #3
Comments
Hello, |
Sorry, I couldn't compile it. ps: I set up the circuit with your HEX on the Arduino nano and tested it on my Renault Scenic 1 phase 2 (2005), and it worked well. |
Hmmm, I think you messed up files structure, try to move everything from "include" folder to "src" folder and try again. |
Sorry for the delay, I can't compile, I tested without libraries, with updated libraries, different directories etc etc... |
Hi! My C/C++ programming skills are not so developed, so this code was like a breath of fresh air to me. The downside, though, is that I was facing the same compilation troubles with VSCode/PlatformIO as @Marcos2BR. I tried other IDEs as Eclipse and Microchip Studio but the effort to configure them was huge, so I compiled from the command line, using for that purpose AVR-GCC 13.2.0 for Windows (you can download the ones I used from here: https://blog.zakkemble.net/avr-gcc-builds/, there is also a Linux version).
You can check if it compiled and uploaded correctly checking the Serial Port of the Arduino, it is configured at 115200 baud. You should see something like Some errors you may experience are related with the type of chip your board actually has, that you can configure with the argument This has been a long comment, but I would like to end discussing the source of the problem, as it took me quite a long time to find some kind of explanation... I believe the undefined references to tx0_buffer and rx0_buffer come from a problem during compilation with Platformio using avr-g++ to compile C files. C files should be compiled with avr-gcc. The tx0_buffer and rx0_buffer variables are created on usart.c, but if you open it with VSCode, you will see there are "errors", as the For the future, I am working on a Speed Dependent Volume Control, as it seems that the original Clio Radio had it (Pin 1 on the Radio power connector). I found the cable and I only need to check the voltage values, but it is not safe to do that while driving 😖, so I will need someone registering them for me while I drive. I will come back when I succeed. Good luck with the Portuguese translation! |
Heheh, I didn't had much time then and a little forgot about this :), but now I have time and looked into this and you are right. |
compilation [SUCCESS] |
Hello mako777,
What compiler did you use?
To compile, do I need to add just avr-libc ?
PS: I want to translate the main.cpp strings into Portuguese ...
Thank you for your work , have a good 2024
The text was updated successfully, but these errors were encountered: