ModusToolbox 3.0 : undefined reference to `Cy_Syslib_Delay' API

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Dear Sirs and Madams,

 

We installed ModusToolbox 3.0(MTB 3.0) and created a PSoC4 Empty project, but the Cy_Sislib_Delay API is Undefined and get a build error.

 

An error occurs even with the following simple procedure:

(1) Install ModusToolbox 3.0

(2) Select New Application in Quick Panel

(3) Select CY8CKIT-145-40XX in PSoC4 BSPs

(4) Select Empty PSoC4 App of Getting Started, don't change name, then create.

(5) Write "Cy_Syslib_delay(500);" in main.c

(6) Build Application in Quick Panel

(7) A build error occurs as below:

MaMi_1205306_0-1674004386039.png

We cannot avoid this "undefined reference to `Cy_Syslib_Delay'" problem.

What could be the problem?

 

Regards,

0 Likes
1 Solution
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

You wrote the API function name incorrectly,It should be Cy_SysLib_Delay。

View solution in original post

2 Replies
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

You wrote the API function name incorrectly,It should be Cy_SysLib_Delay。

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

I understood that the API was misspelled.

It would be nice if ModusToolbox also had an API auto-recognition function like PSoC Creator.

thank you.