I started getting weird messages from my development system, so I uninstalled and downloaded the latest version.
My previously good software is now giving "unresolved external" messages.
I've cut it down to the bare minimum of 2 ridiculously simple modules.
Main which calls the functions "levels" which loads 4 numbers into memory and that's it.
I get "unresolved external 'levels' "...
Can anyone see why?
I've tried sprinkling void levels(void); just about everywhere but got no luck.
How come assembler is n times easier than C?
Here are the two modules.
/**************************************************************
Main program body
*************************************************************/
uint16_t eeprom level[4];
void main(void)
{
// Load Level arrays
levels();
while (1)
{
}
}
/******************* *****END OF FILE****/
/************************************************************
* @file Levels.c
***********************************************************/
extern uint16_t eeprom level[4];
void levels(void)
{
level[0]= 10;
level[1]= 53;
level[2]= 56;
level[3]= 57;
}
/************************END OF FILE****/
Maybe there is some weird set up in some obscure configuration file... but I just can't see why the heck main can't see the function "levels" .
I've submitted a query to the support desk... (yeah we all know what that means ).
Of course if I put levels into the same module as main it works fine, but that rather looses the purpose of "high level" languages, and for the real program it would become unwieldy.
Del
BTW This editor removes all the indentation.... wonder if it would do that on car body panels?