This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Difference in compiling from Keil or makefile

Hello everyone,

Currently we're writing a small program for the NRF52 (PCA10040), which has to communicate via SPI to an IMU (MPU-9250). The code is working correctly, because when my colleague compiles it using Keil everything is working as expected. However, when I compile and flash it with a makefile (we basically took the Blinky-example and replaced the main.c with our own code), it does not. We do get a few bytes over the SPI, but these aren't the right ones as the IMU is not responding. No softdevice is used in any case. What issues could be causing this?

With kind regards,

Related