This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unresolved Errors in Build

Hello,

I have been struggling with Eclipse for a couple of days. I created the pwm_driver project via the File/New/Makefile with existing code option. After initializing the appropriate Build and Preprocessor properties along with manually entering the GNU Tools ARM Embedded Include directories in Paths and Symbols, and virtual paths for all the .c files, the first build of the pwm_driver project went perfect. I built the project, downloaded to the nRF52 development board via the flash Target, and it executed perfectly the first time. I thought I was ready to start integrating some additional functionality for connecting up a Bosch IMU sensor via I2C.

First, I wanted to integrate and test the SEGGER_RTT capability for debug messages. I included the SEGGER_RTT.c file in the Makefile and included it in a virtual directory called Tools. I then tried to build and suddenly the all of the include files in main.c could not be resolved (the preprocessor was not discovering the includes properly). I backed out the SEGGER_RTT files and still no luck - still had unresolved includes in main.c.

I decided to start all over again and deleted the pwm_driver project and then recreated it again thinking I could at least get another clean, executable build. I still ended up with unresolved symbols - all of the includes were resolved. I researched the problem and, based on your Develpment with GCC paper, went to Properties/Index/Rebuild followed by a new build. I am now stuck with the following issue:

image description

I seem to have only 2 unresolved symbols now - unit32_t and APP_ERROR_CHECK types. The build appears to complete acceptably as indicated in the console.

Can you please give me some guidance on first clearing these issues and then including SEGGER_RTT debug message capability. In hindsight, when I included the SEGGER_RTT.c in the Makefile, I failed to put the path in the Makefile for the SEGGER_RTT.h file so maybe that triggered some of the issues when the preprocessor passed through to resolve includes and symbols.

Any help on this will be greatly appreciated.

Regards, GaryD

Parents Reply Children
No Data
Related