Menu

Mess displaying integer values as hex when modifier <N-NN> is missing

Support
Anonymous
2020-12-04
2021-01-06
  • Anonymous

    Anonymous - 2020-12-04

    Items which expect integer value without range modifier annotation are displayed in CMSIS in hex format without any indication that is a hex , while the original number in sdk_config.h is still in decimal. Even if modified from CMSIS as hex number, the modified value back in sdk_config.h is still in decimal, which make quite a confusion. I tried <0> and <0-> modifiers , but CMSIS protests and doesn't want even to start.

    // <o> ST7735_MOSI_PIN - Pin number <0-47>
    ////this way with <0-47> shows in CMSIS the pin as 23</o>

    ifndef ST7735_MOSI_PIN

    define ST7735_MOSI_PIN 23

    endif

    // <o> ST7735_MISO_PIN - Pin number
    ////this way without <x-xx> shows in CMSIS the pin as 18 (i.e. in hex)</x-xx></o>

    ifndef ST7735_MISO_PIN

    define ST7735_MISO_PIN 24

    endif

    Also annotations that suppose to show tooltips don't work (Win 10).

    Else as whole is quite a good job - thank you and best regards.
    
     
  • Amr Bekhit

    Amr Bekhit - 2020-12-27

    Hello,

    Thanks for the feedback. Can you provide a sample header file that produces the error? I'd like to test it out.

     
    • Anonymous

      Anonymous - 2021-01-06

      Hello,
      here is one short example (includes also the example values sent before).
      Regards

       

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB