We have been developing a new PCB and needed to re-assign the default pins of the nrf51822 i2c and UART functions. I built a mock up of our pcb before we had it made with evluation modules of our USB UART and i2c devices, edited a file called “PinNames.h” to change which pin numbers the tx, rx, i2c sda & i2c scl and both worked well.
However our pcbs arrived and now I can only use one of the functionalities (i2c only works when there is no UART declared in the main file)
This is being done on the nrf51822 and the firmware is being compiled using mbed.
Any help would be much appreciated