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

NRFX_TWIM0_INST_IDX' undeclared and configuration problems

Hi to everyone!

I am working on the SDK 17.0.2 and my project contains nrfx_twim.h functions.

I have a problem to understand the changes that i have to make in the sdk_config.h. I have already read all the posts about these concerns but i found small differences in the sdk_config.h of this SDK that do not let me understand the right updates to make in my case.

Thanks,

polimarte

Parents
  • Hello Polimarte,

    i found small differences in the sdk_config.h of this SDK that do not let me understand the right updates to make in my case.

    Please elaborate, what small differences have you noticed in the sdk_config? Do you mean, different from previous versions of the nRF5 SDK?

    You might be seeing an artifact of the appy_old_config file, which is included in all sdk examples. This file is there to provide backwards compatibility, but its inclusion is perhaps not the most intuitive.
    Please take a look at this and this ticket, to see if it may be similar to the problems you are currently experiencing.

    Best regards,
    Karl

  • HI, sorry but i cannot understand. that's my fault because i am new to this architecture and i am in seriuos trouble with my project.

    For example the first post is referring to set PPI_ENABLED 0 and NRFX_PPI_ENABLED 1. where i can find this macros? i have to add them up manually to the sdk_config.h? i have done it but in apply_old_config there is no change at all.

    what am i missing?

    The second post suggest to define a custum sdk_config.h. The logic to follow is very different from the previous post that you sent me. 

    thanks,

    polimarte

  • Hi again Polimarte,

    Sorry, I did not mean to cause any further confusion - the linked tickets were meant as a reference to possibly similar problems, not necessarily on the exact same defines as you are seeing, but on the overarching issue causing this.

    Could you elaborate on what you meant when you said that you found small differences in the sdk_config, like you said in your original ticket?

    Could you possibly also share the contents of your sdk_config file, so that I may see what we are working with?

    polimarte said:
    1. where i can find this macros?

    If you are using Segger Embedded Studios ( SES ) then it is very useful to use the search-solution tool to quickly look through the entire solution for matches to your search. You may do this by pressing CTRL + SHIFT + F. 

    Best regards,
    Karl

Reply
  • Hi again Polimarte,

    Sorry, I did not mean to cause any further confusion - the linked tickets were meant as a reference to possibly similar problems, not necessarily on the exact same defines as you are seeing, but on the overarching issue causing this.

    Could you elaborate on what you meant when you said that you found small differences in the sdk_config, like you said in your original ticket?

    Could you possibly also share the contents of your sdk_config file, so that I may see what we are working with?

    polimarte said:
    1. where i can find this macros?

    If you are using Segger Embedded Studios ( SES ) then it is very useful to use the search-solution tool to quickly look through the entire solution for matches to your search. You may do this by pressing CTRL + SHIFT + F. 

    Best regards,
    Karl

Children
No Data
Related