2023-07-19 04:17 AM
Hi I am trying to implement this project on github "https://github.com/moonglow/pcan_pro_x" Directly using project files nothing changed it. When I try to compile project normally with out makefile project thats occures stm32_hal_config.h error so when I interfere this problem a lots of promlem comes through. Then i decided to open this project as ex...
why is that happening how can ı fix that problem. Also when ı tried to upload this code with these warnings
I really need help about it. Witing for your replies.
2023-07-19 07:42 AM - edited 2023-07-19 07:45 AM
Contact the author on github?
Note that the project directory path contains non ascii characters - reliable recipe for trouble.
2023-07-20 01:09 AM - edited 2023-07-20 01:11 AM
I wrote the author but didnt got any response. I made the same compile at non ascii charactered pc but still same response. I dont think it happens unicode problem.
2023-07-20 01:48 AM
Here are the outputs I get by a computer that doesn't have unicode characters. Semms to have the same problem.
11:18:51 **** Incremental Build of configuration Default for project olacak ****
make -j16 all
make: Makefile:189: pipe: No such file or directory
make: Makefile:202: pipe: No such file or directory
make: Makefile:204: pipe: No such file or directory
make: Makefile:206: pipe: No such file or directory
make BOARD=pro DEBUG=0 OPT=-Os PROTO=Src/pcanpro_protocol.c BOARD_FLAGS='-DPCAN_PRO=1 -DINCLUDE_LIN_INTERFACE=1' elf hex bin
make BOARD=pro_fd DEBUG=0 OPT=-Os PROTO=Src/pcanpro_fd_protocol.c BOARD_FLAGS='-DPCAN_PRO_FD=1 -DINCLUDE_LIN_INTERFACE=1' elf hex bin
make BOARD=fd DEBUG=0 OPT=-Os PROTO=Src/pcanpro_fd_protocol.c BOARD_FLAGS='-DPCAN_FD=1 -DINCLUDE_LIN_INTERFACE=0' elf hex bin
make[1]: Entering directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
make[1]: Makefile:189: pipe: No such file or directory
make[1]: Entering directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
make[1]: Entering directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
make[1]: Makefile:202: pipe: No such file or directory
make[1]: Makefile:189: pipe: No such file or directory
make[1]: Makefile:189: pipe: No such file or directory
make[1]: Makefile:204: pipe: No such file or directory
make[1]: Makefile:202: pipe: No such file or directory
make[1]: Makefile:202: pipe: No such file or directory
make[1]: Makefile:204: pipe: No such file or directory
make[1]: Makefile:206: pipe: No such file or directory
make[1]: Makefile:204: pipe: No such file or directory
make[1]: Makefile:206: pipe: No such file or directory
make[1]: Makefile:206: pipe: No such file or directory
make[1]: Nothing to be done for 'elf'.
make[1]: Nothing to be done for 'elf'.
make[1]: Nothing to be done for 'elf'.
make[1]: Nothing to be done for 'hex'.
make[1]: Nothing to be done for 'hex'.
make[1]: Nothing to be done for 'hex'.
make[1]: Nothing to be done for 'bin'.
make[1]: Leaving directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
make[1]: Nothing to be done for 'bin'.
make[1]: Leaving directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
make[1]: Nothing to be done for 'bin'.
make[1]: Leaving directory 'C:/Users/Furkan/Downloads/pcan_pro_x-master (1)/pcan_pro_x-master'
11:18:51 Build Finished. 0 errors, 16 warnings. (took 216ms)
2023-07-22 05:03 AM - edited 2023-07-22 12:46 PM
Have you modified the makefie? Lines 204, 206 on github are empty.
https://github.com/moonglow/pcan_pro_x/blob/11304ad2284f12e064072c05af4a323ad759cc9c/Makefile#L204
https://github.com/moonglow/pcan_pro_x/blob/11304ad2284f12e064072c05af4a323ad759cc9c/Makefile#L206
Do you have a suitable STM32 or ARM toolchain installed?