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).
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).
Hello,
Thanks for the feedback. Can you provide a sample header file that produces the error? I'd like to test it out.
Hello,
here is one short example (includes also the example values sent before).
Regards