Hi,
Quite new to MCUExpresso and still learning the ropes.
I want to run a specific directory - in this case the read_accel_value_transfer example code - and not build the rest. Observed two things:
1. This folder does not have the little blue C on the folder icon (meaning this folder is not included in build).
2. Second, when I hash the int main (void) code in source so I can run the int main code in the read_accel_value_transfer folder, I am getting this error.
Could anyone help on this?
Thank you!
Solved! Go to Solution.
There are many different ways you could do this in Eclipse. What I recommend is the usage of build configurations with 'Exclude from build':
a) create one or more build configurations (see https://mcuoneclipse.com/2016/05/19/build-configurations-in-eclipse/ )
b) then exclude the files you don't want to be part of the build configuration, see https://mcuoneclipse.com/2014/07/22/exclude-source-files-from-build-in-eclipse/
I hope this helps,
Erich
There are many different ways you could do this in Eclipse. What I recommend is the usage of build configurations with 'Exclude from build':
a) create one or more build configurations (see https://mcuoneclipse.com/2016/05/19/build-configurations-in-eclipse/ )
b) then exclude the files you don't want to be part of the build configuration, see https://mcuoneclipse.com/2014/07/22/exclude-source-files-from-build-in-eclipse/
I hope this helps,
Erich
Thanks Eric!
Point b) resolved it for me. I'll give a shot to a) as well.
Regards,
John