Changing pin's on a board in the variant files does'nt work.

Trying to change pin's inside the variant.h/variant.cpp file, but when compiling the sketch in the IDE nothing changed.

We need many more details in order to help you.

First question to mind, WHY?!

Next, what did you change? And WHY?!