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

I need help with converting any example from Keil to SES

Hello,

I've been trying for days to convert any example from Keil to SES, I have road probably every question here on the dev zone but I am unable to fix this, I ever specially install windows on my mac to try if there it would work.

So, I have done everything from official nordic documents, I've been through several problems which I happily solve, but that I'm not able to.

I get those errors:


unplaced section: .log_dynamic_data_app [nrf_log_frontend.o], size=12, align=4

undefined symbol: __SRAM_segment_end__

undefined symbol: __start_log_const_data

undefined symbol: __start_log_dynamic_data

undefined symbol: __stop_log_const_data

I'm working on latest SEGGER, I have tried latest SDK, also 14.2 . The same errors. 

Thanks for reply

Parents Reply
  • You need to know the difference between I2C and SPI.  In SPI the device is selected via it's Chip Select pin.  In I2C the device is selected with its address.  Every I2C device has its own predefined 7bits address.  In the case of the MPU-9250, it's 0x68.

    The I2C pins are defined in board.h just above the SPI pin defines.

    SDA & SCL are I2C pins.  The ADD is the address selection.  The chip allows you to select 2 different address.  It must be connected to VCC or GND depending on address you want use.  Please read the user guide of your board. You must not assigned those pin to SPI if you want to use i2c.  Otherwise it will cause a conflict and won't work.

Children
Related