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
  • The driver is available for both.  All you need to do is to use the correct driver with the correct interface.  Which means to configure I2C driver with your pin map.  Then pass it to the MPU-9250 driver.  it is at line 602 of BlueIOThingy.cpp.  The default is SPI interface.  Pass your I2C interface to it. The I2C configuration is at line 250-274

    Change line 602 from

        if (MPU9250Init(&g_Spi, &g_Timer) == true)

    to

        if (MPU9250Init(&g_I2c, &g_Timer) == true)

    and in board.h change pin map for the MPU9250 interrupt pin of your board.  The code related to the MPU is in BlueIOMPU9250.cpp

    The firmware auto detect the MPU-9250 or the ICM-20948.

    At the same time you can change the I/O map for the LED to your board as well.

Children
Related