Good Afternoon,
I am attempting to compile a project through ChibiStudio, and am unable to compile the project. The DEMO stm project compiles correctly, but the RP2040 project does not. I have verified the files exist in the locations referenced.
16:11:44 **** Build of configuration Default for project RT-RP2040-PICO ****
make -j16 all
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
Compiling hal.c
Compiling hal_st.c
Compiling hal_buffered_serial.c
Compiling hal_buffers.c
Compiling hal_queues.c
Compiling hal_flash.c
Compiling hal_mmcsd.c
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
Compiling hal_pal.c
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_st.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_buffered_serial.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_st.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal.o] Error 1
compilation terminated.
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_buffered_serial.o] Error 1
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_buffers.c:41:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_queues.c:40:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_buffers.o] Error 1
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_queues.o] Error 1
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_flash.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_flash.o] Error 1
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_mmcsd.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_pal.c:25:
../../../os/hal/ports/RP/RP2040/hal_lld.h:34:10: fatal error: hardware/clocks.h: No such file or directory
34 | #include "hardware/clocks.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_mmcsd.o] Error 1
make: *** [../../../os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:190: build/obj/hal_pal.o] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.
16:11:46 Build Failed. 17 errors, 0 warnings. (took 1s.482ms)
Any help is appreciated.
Unable to Build RP2040 Demo (Windows 11)
- Giovanni
- Site Admin
- Posts: 14565
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1112 times
- Been thanked: 937 times
- Contact:
Re: Unable to Build RP2040 Demo (Windows 11)
Hi,
You need to unpack the PICO SDK under /ext, it is provided in .7z format.
Giovanni
You need to unpack the PICO SDK under /ext, it is provided in .7z format.
Giovanni
Who is online
Users browsing this forum: No registered users and 8 guests