- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to make a sample application for the BCM943362 module and wondering how does one go about setting up the environment to add .cpp application files to the project? (WICED SDK 2.4.1)
I'm getting the following compile error:
/Applications/WICED/WICED-SDK-2.4.1/Wiced/RTOS/ThreadX/wiced/wiced_rtos.c:156: undefined reference to `application_start'
Any pointers will be helpful!
Thanks!
Mohit
- Labels:
-
SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The WICED and libraries are writen in C. The "application_start" is the entry point for user applications to start executing on an main thread, you may think like it is the main() for the application. The application_start() is called by the main thread to initiate user application.
Are you trying to write your application in C and save it in .cpp extension file names?
Thanks,
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Seyhan,
I have a set of libraries written in .cpp that I wish to add/use in my application.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: I was able to get away with that error by adding extern "C" in my main application file.