the main.c code main.c
the main.c code main.c
You will need to provide a lot more information than this. 1000 lines of copy pasted code is not easy for us to debug.
the ram and rom setting is not right. my chip is nrf52832
the ram and rom setting is not right. my chip is nrf52832