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

CMSIS Configuration wizard: HEX or DEC ?

I noticed that CMSIS Configuration wizard expects values in HEX and converts them into decimal in the sdk_config.h file.

e.g. for SEGGER_RTT_CONFIG_BUFFER_SIZE_UP. I entered 1024 in the CMIS tool and I have 1298 in the file.

This should be at least stated in the description info.

--edit-- I m using the Makefile .jar

Parents
  • Hi,

    I have checked the tool, and I see the same behavior. From the source code, it looks like the tool is supposed to support both HEX and decimal values, but I don't know if this is intentional or a bug. I also see an issue when saving the values; you have to click another config before saving, for the changes to apply to the sdk_config.h file. It looks like you have hit this issue as well, as you say you input 1024 in the tool, but the file say 1298 (0x512).

    I have reported these issues internally, hopefully we can get the developer to make the tool more usefull, or at least document it better.

    Best regards,
    Jørgen

Reply
  • Hi,

    I have checked the tool, and I see the same behavior. From the source code, it looks like the tool is supposed to support both HEX and decimal values, but I don't know if this is intentional or a bug. I also see an issue when saving the values; you have to click another config before saving, for the changes to apply to the sdk_config.h file. It looks like you have hit this issue as well, as you say you input 1024 in the tool, but the file say 1298 (0x512).

    I have reported these issues internally, hopefully we can get the developer to make the tool more usefull, or at least document it better.

    Best regards,
    Jørgen

Children
Related