How to compile with multiple source modules in WICED SDK ?

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

cross mob
Anonymous
Not applicable
My source code mainline, all one stream of source, has grown like Topsey and it works.

So I started to split into the approximate Class structure that the code represents.

I have a C file and an H file for each module/class.

I placed the list of source C files in the MK file.

The C files include necessary H files as and where required, #pragma once, just in case.

Eclipse then compiles each module OK (I did rebuild the MAKE TARGET declaration) but it does not resolve the links.

It seemed to work on the first module split, but nothing further.

I suppose I am doing something very dumb, but I need help please.

What are the Rules?
0 Likes
1 Reply