Change CONFIG_ESB_MAX_PAYLOAD_LENGTH parameter

Hello everyone.

I'm developing on the nRF5340 using nRF Connect SDK. I'm porting an application and I noticed that I need to change the CONFIG_ESB_MAX_PAYLOAD_LENGTH parameter to 252, instead of the default 32. Any guidance on how to achieve so? I tried to write in the Kconfig something like 

config ESB_MAX_PAYLOAD_LENGTH
    int "Maximum payload size"
    range 1 252
    default 252
    depends on ESB
    help
      The maximum size of the payload.
But If I have a look at the build files I notice that it stays 32. Is this approach correct?
Parents Reply Children
Related