The defines you have that start with "HSER" are for a harware serial port which the F84 doesnt have therefore the compiler will not be happy with you trying to define a non existant value.