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

Long range porting to SDK 15.3.0

I'm trying to run the https://github.com/NordicPlayground/nRF52-ble-long-range-demo on Fanstel modules with integrated AFE by Skyworks - BT840X(E) https://www.fanstel.com/bt840x-nrf52840-module-with-pa . They described the link more the 4 km!
The main question here - it's required to port long-range-demo to new version of SDK. I can't found manual howto do it, but I seen on some analogic questions that it's should works on same major version.
I see that some function moved from experimental to stable from SDK 15.0 to 15.3 so i changed the path in project configurarion. It helps, but i still got 2 errors:

'NRF_LOG_STR_PUSH_BUFFER_SIZE' undeclared here (not in a function); did you mean 'NRF_CLI_PRINTF_BUFF_SIZE'?
in definition of macro '_SELECT_ASSERT_FUNC'
in expansion of macro 'STATIC_ASSERT_SIMPLE'
in expansion of macro 'STATIC_ASSERT'
in expansion of macro 'IS_POWER_OF_TWO'
in expansion of macro 'NRF_RINGBUF_DEF'

expression in static assertion is not an integer
in definition of macro '_SELECT_ASSERT_FUNC'
in expansion of macro 'STATIC_ASSERT_SIMPLE'
in expansion of macro 'STATIC_ASSERT'
in expansion of macro 'IS_POWER_OF_TWO'
in expansion of macro 'NRF_RINGBUF_DEF'

I think it should be the project configuration question, but I don't understand how to fix it.

When the long-range-demo will work on SDK 15.3 it'll reuired to add some code to control AFE https://www.fanstel.com/s/BT840X_SKY66112-Codes.zip
i tried to run this code on SDK 15.0, but it required 15.3. So It's to port the example to new SDK.

Please help me with this demo configuration.

Parents
  • Hi,

    Try to add this to sdk_config.h,

    // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE  - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
     
    // <16=> 16 
    // <32=> 32 
    // <64=> 64 
    // <128=> 128 
    // <256=> 256 
    // <512=> 512 
    // <1024=> 1024 
    
    #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
    #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
    #endif

  • I replaced the file by new from 15.3
    But them I got the new error:

    C:\Nordic\nRF5_SDK_15.3.0_59ac345\modules\nrfx\mdk\ses_nRF_Startup.s: No such file or directory

    I found similar startup code in \modules\nrfx\mdk but they have different name and structure.

    So I think that much more differencies between 15.0 and 15.3 and it's need to going deeper.

    Can you compile this project on your machine?

Reply
  • I replaced the file by new from 15.3
    But them I got the new error:

    C:\Nordic\nRF5_SDK_15.3.0_59ac345\modules\nrfx\mdk\ses_nRF_Startup.s: No such file or directory

    I found similar startup code in \modules\nrfx\mdk but they have different name and structure.

    So I think that much more differencies between 15.0 and 15.3 and it's need to going deeper.

    Can you compile this project on your machine?

Children
Related