- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Tags:
- gcc warnings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I think you have not added Task.h file in main.c.
Thus these warnings are coming.
Thanks,
Ankita Singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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