Hi,
I want to build the hello word examples that I have downloaded on the site. I use the Onethinx development kits and the modusToolbox 2.2.
I had tried to follow the getting-started on the site but when I try to build the project it give me some errors about libraries like this:
“…/Source/main.c:20:10: fatal error: cy_pdl.h: No such file or directory”
Here I post all the report of the build:
16:48:58 **** Build of configuration Debug for project OnethinxCore_00_mainapp ****
“C:\ModusToolbox\tools_2.2\modus-shell\bin\make” -j6 all
Building file: …/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.c
Building file: …/Source/main.c
Building file: C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg.c
Building file: C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_pins.c
Invoking: GNU ARM Cross C Compiler
Building file: C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_platform.c
Invoking: GNU ARM Cross C Compiler
Invoking: GNU ARM Cross C Compiler
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"Source/main.d" -MT"Source/main.o" -c -o “Source/main.o” “…/Source/main.c”
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"OnethinxCore_00_config/GeneratedSource/cycfg.d" -MT"OnethinxCore_00_config/GeneratedSource/cycfg.o" -c -o “OnethinxCore_00_config/GeneratedSource/cycfg.o” “C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg.c”
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"OnethinxCore_00_config/GeneratedSource/cycfg_pins.d" -MT"OnethinxCore_00_config/GeneratedSource/cycfg_pins.o" -c -o “OnethinxCore_00_config/GeneratedSource/cycfg_pins.o” “C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_pins.c”
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"OnethinxCore_00_config/GeneratedSource/cycfg_platform.d" -MT"OnethinxCore_00_config/GeneratedSource/cycfg_platform.o" -c -o “OnethinxCore_00_config/GeneratedSource/cycfg_platform.o” “C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_platform.c”
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.d" -MT"psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.o" -c -o “psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.o” “…/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.c”
Building file: …/OnethinxCore/OnethinxCore01.c
…/Source/main.c:20:10: fatal error: cy_pdl.h: No such file or directory
20 | #include “cy_pdl.h”
| ^~~~~~~~~~
compilation terminated.
In file included from C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_pins.c:16:
C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_pins.h:20:10: fatal error: cy_gpio.h: No such file or directory
20 | #include “cy_gpio.h”
| ^~~~~~~~~~~
compilation terminated.
Invoking: GNU ARM Cross C Compiler
In file included from C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg.h:24,
from C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg.c:16:
C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_pins.h:20:10: fatal error: cy_gpio.h: No such file or directory
20 | #include “cy_gpio.h”
| ^~~~~~~~~~~
compilation terminated.
make: *** [OnethinxCore_00_config/GeneratedSource/subdir.mk:43: OnethinxCore_00_config/GeneratedSource/cycfg_pins.o] Error 1
make: *** Waiting for unfinished jobs…
make: *** [Source/subdir.mk:20: Source/main.o] Error 1
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -Og -ffunction-sections -fdata-sections -Wall -g3 -DCY8C6347BZI_BLD53 -DCYDEV_CLK_ALTHF__HZ=8000000UL -DDEBUG -DAPP_NAME=’“EmptyPSoC6_cm4”’ -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/cmsis/include" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/include" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp/Source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/drivers/source" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_low" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/cm4_high" -I"/libraries/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/linker/cm4" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_config/GeneratedSource" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\OnethinxCore" -I"C:\mtb-projects\HelloWorld\OnethinxCore_00\OnethinxCore_00_mainapp\DemoKit" -std=gnu11 -mfpu=fpv4-sp-d16 -ffat-lto-objects -g -MMD -MP -MF"OnethinxCore/OnethinxCore01.d" -MT"OnethinxCore/OnethinxCore01.o" -c -o “OnethinxCore/OnethinxCore01.o” “…/OnethinxCore/OnethinxCore01.c”
In file included from C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_platform.c:16:
C:/mtb-projects/HelloWorld/OnethinxCore_00/OnethinxCore_00_config/GeneratedSource/cycfg_platform.h:20:10: fatal error: cy_sysclk.h: No such file or directory
20 | #include “cy_sysclk.h”
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [OnethinxCore_00_config/GeneratedSource/subdir.mk:29: OnethinxCore_00_config/GeneratedSource/cycfg.o] Error 1
…/psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.c:17:10: fatal error: system_psoc6.h: No such file or directory
17 | #include “system_psoc6.h”
| ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [OnethinxCore_00_config/GeneratedSource/subdir.mk:50: OnethinxCore_00_config/GeneratedSource/cycfg_platform.o] Error 1
make: *** [psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/subdir.mk:20: psoc6sw-1.0/components/psoc6pdl/devices/psoc6/startup/system_psoc6_cm4.o] Error 1
…/OnethinxCore/OnethinxCore01.c:19:10: fatal error: cy_ipc_pipe.h: No such file or directory
19 | #include “cy_ipc_pipe.h”
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [OnethinxCore/subdir.mk:20: OnethinxCore/OnethinxCore01.o] Error 1
“C:/ModusToolbox/tools_2.2/modus-shell/bin/make -j6 all” terminated with exit code 2. Build might be incomplete.
16:48:59 Build Failed. 13 errors, 0 warnings. (took 559ms)
Why I have this errors and how can I fix they?
Thanks in advance for any replies.