Issue starting Kconfig in VS code, getting can't decode byte 0x90 in position 850: character maps to

Im trying to start Kconfig from VS code but Im getting this error:

Kconfig tree parse failed: 'charmap' codec can't decode byte 0x90 in position 850: character maps to <undefined>

??

Tried saving it as different encodings, but no joy. 

Regards, 

Parents
  • Hi 

    Im trying to start Kconfig from VS code but Im getting this error:

    You mean you are clicking the "nRF Kconfig GUI" button under ACTIONS in the nRF Connect for VS Code extension interface?

    Kconfig tree parse failed: 'charmap' codec can't decode byte 0x90 in position 850: character maps to <undefined>

    ??

    Tried saving it as different encodings, but no joy. 

    Is this referencing one of your configuration files? 

    Which file are you trying to save as different encodings? 

    Would you be able to attach the file here so I can have a look at the content? 

    Could you also give me a bit of information about the project you are working on, which SDK version you are using and so on? 

    Best regards
    Torbjørn

  • Yes, I tried to activate it from nrf connect VS code extension. 

    the file in question is nrf5340dk_nrf5340_cpuapp.confnrf5340dk_nrf5340_cpuapp.conf

    error mesage is > Kconfig tree parse failed: 'charmap' codec can't decode byte 0x90 in position 850: character maps to <undefined>

  • Hi IvanR, 

    I'm taking over the ticket from Torbjørn. 

    Did you build the project for nRF5340dk_nRF5340_cpuapp board ? 

    Could you check if you have the same problem if you open a sample for another DK boards for example nrf52840dk_nrf52840 or try on a fresh copy of the SDK. 

    What I suspect is that there seems to be an issue on the device tree files on the decoding text. For example if it has some strange character (Unicode) in the text this will cause the decode byte issue. 

    If you still have the issue with other board, please take a screenshot. 

Reply
  • Hi IvanR, 

    I'm taking over the ticket from Torbjørn. 

    Did you build the project for nRF5340dk_nRF5340_cpuapp board ? 

    Could you check if you have the same problem if you open a sample for another DK boards for example nrf52840dk_nrf52840 or try on a fresh copy of the SDK. 

    What I suspect is that there seems to be an issue on the device tree files on the decoding text. For example if it has some strange character (Unicode) in the text this will cause the decode byte issue. 

    If you still have the issue with other board, please take a screenshot. 

Children
Related