Hi-tech C — Compiler For Pic10 12 16 Mcus V9.83 Download
Solution: Your command line mixing MPLAB X and legacy syntax. Use MPLAB X’s “HI-TECH PICC” toolchain selection, not the XC8 driver.
unsigned int boot_counter __persistent; While OCG handles banking, you can force variable location: Hi-tech C Compiler For Pic10 12 16 Mcus V9.83 Download
bank2 unsigned char motor_speed; v9.83 loves inlining small functions: Solution: Your command line mixing MPLAB X and legacy syntax