It's the first time I'am working with the PCAN-RS-232.
I have a question about creating firmware with Visual Studio Code. I have opened the sample files via VSCode and run the vbs script. Now I would like to create a firmware with "make all" as described in the *.txt. However, when running the command in the terminal, I get the error message:
sh: arm-none-eabi-gcc: Command not found.
make: *** [Makefile:339: gccversion] Error 127
Can anyone help me further?
Thanks a lot!
i did'nt move it. I did everything like in the description.
I habe another VS-Code (Beginner) projekt where I can compile and run my C-files. Maybe it is because I've already installed compilers on my PC. But I'm very new with VS-Code....
I don't know why, bu now something worked. The out-Folder was created, but when it comes to built the *bin file a new Message occured:
Creating bin file: example_echo.bin
hex2bin -s 0000 ./out/example_echo.hex
sh: hex2bin: Kommando nicht gefunden.
make: *** [Makefile:367: example_echo.bin] Fehler 127
It is a Sample-file from the Peak-Homepage.
Do you have an idea?
Thank you for your feedback.
Using "make all" should not be an issue.
If you should have any further issues regarding this,
please try the following:
Download a fresh Peak-DevPack:
Extract it to a folder you have write permissions to,
for example Desktop.
2) Run the SetPath_for_VSCode.vbs script
3) Open VsCode, select "Open Folder" and open:
Make sure you are not open "src" or any other of the sub-folders of the example.
In VsCode now use "make all" via the "Terminal" menu:
What's your output after following these steps?
Can you share a screenshot with us?