Replies: 1 comment 5 replies
-
The error means that the version of cc65 installed by brew doesn't yet support the rp6502. It is best to use the repository here: Maybe this will help too? If that fails you might want to try installing the llvm-mos compiler instead. It is a much better compiler than cc65, and it is pretty trivial to change the cc65 projects into llvm-mos. Start with this sample project and then move the src files and modify the main CMakeLists.txt: If the llvm-mos compiler you download doesn't support the rp6502 yet either, you can download the SDK from here: Good Luck. Sorry I don't have a Mac to test things out. |
Beta Was this translation helpful? Give feedback.
-
Hi Community,
Over the last days I build a PicoComputer as well and everything works!
Now for the next step I want to learn more about coding for the RP6502. I watched the tutorial for Linux but I am not able to get the toolchain running on Mac OS.
I am not very experienced with VSCode.
Here is where I am currently:
In Github cloned the template to my own repository which is also on my local drive using GitHUB desktop to sync.
installed brew components:
install VSCode
in VSCode installed the ca65 macro assembler and CMake (which VSCode offered to do itself)
then in VSCode when I navigate to to src in VSCode and open main.c the editor shows me an error
"cannot open source file "rp6502.h"C/C++(1696)"
Can anyone help me setup the toolchain for Mac please?
Regards, Richard
Beta Was this translation helpful? Give feedback.
All reactions