cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor

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
Reply
1 Solution
Employee

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
Reply
4 Replies
Employee

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
Reply
Employee

Hi ,

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

Thus these warnings are coming.

Thanks,

Ankita Singh

0 Likes
Reply
New Contributor

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

0 Likes
Reply
Employee

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
Reply
Top labels