I'm creating a bootloader and have copied a number of files from my "App" folder to my new "Boot" folder. I then pre-fixed all the copied filenames with "BOOT__".
The compiler now bombards me with "Multiply-Defined" errors!
Here's an example of an instance that generates this error:
The UART__inititalize function is in both my "Boot" folder and my normal "App" folder. It has the same name in both folders.
I don't understand why this is a problem. The only file in my "Boot" folder which accesses UART__inititalize has #include <BOOT__UART.h>, not #include <UART.h>.
Am I breaking a C coding standard? Or, is the compiler not letting me do something which should be valid?