PSoC 6 Lesson 1-4 video

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

cross mob
ZaCl_4210281
Level 1
Level 1

I think I followed it to the letter, and it seems to work, but I have these warnings. Can anyone explain? Board CYBLE-416045-02

Environment:

PSoC Creator  4.2 (4.2.0.641)

Culture: English (United States)

OS Version: Microsoft Windows NT 10.0.17134.0

CLR Version: 4.0.30319.42000

Installed CyInstaller Products:

Peripheral Driver Library 3.0.1

Peripheral Driver Library 3.1.0

PSoC Programmer 3.28.3

PSoC Creator 4.2

pastedImage_0.png

0 Likes
1 Solution

Hi,

Just add these includes in main.c :

#include "FreeRTOS.h"

#include "task.h"

The warnings as stated in problem statement will go away.

Thanks,

Ankita

View solution in original post

0 Likes
4 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hi,

This thread explain why such warnings appear with GCC:

c - warning: implicit declaration of function - Stack Overflow

I hope this helps otherwise please share the project.

Thanks,

Ankita Singh

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hi ,

I think you have not added Task.h file in main.c.

Thus these warnings are coming.

Thanks,

Ankita Singh

0 Likes
lock attach
Attachments are accessible only for community members.

Here is the project. Please take a look for me. Thank you.

0 Likes

Hi,

Just add these includes in main.c :

#include "FreeRTOS.h"

#include "task.h"

The warnings as stated in problem statement will go away.

Thanks,

Ankita

0 Likes