Hi!
How make preprocessor error? #error - not work in keil 4.12 (ARM)
#ifdef IO16_A CPU_CLOCK = 50; #elif IO16_B CPU_CLOCK = 25; #elif IO16_C CPU_CLOCK = 8; #else
#error "No select device type!"
#endif
I find out:
No --- you're deluding yourself. You obviously didn't find out anything. You're just making the same mistake 5 times instead of the original 2 times.