ARM-software / cmsis-pack-eclipse

CMSIS-Pack Eclipse Plug-ins
Other
66 stars 32 forks source link

CMSIS Configuration Wizard not show GUI editor in Eclipse #45

Closed nash900 closed 5 years ago

nash900 commented 7 years ago

When open source file (Code Example) with "Configuration Wizard" in Eclipse, only see "Source Editor" tab but not see CMSIS GUI tab. Open the same file in uVision IDE, it's ok.

Env.:

Anything am I missing? Thanks.

BTW, the Code Example is found in https://www.keil.com/pack/doc/CMSIS/Pack/html/configWizard.html: //-------- <<< Use Configuration Wizard in Context Menu>>> ----------------- // // Thread Configuration // ======================= // // Number of concurrent running threads <0-250> // Defines max. number of threads that will run at the same time. // Default: 6

ifndef OS_TASKCNT

define OS_TASKCNT 6

endif

// snip

// //------------- <<< end of configuration section>>> -----------------------

edriouk commented 7 years ago

Thank you for reporting this issue. The problem is that the config parser in the plug-in is too strict in matching open and end tags. The tags are hard coded in the plug-ing and contain exactly one space before >>>, i.e. //-------- <<< Use Configuration Wizard in Context Menu >>> ----------------- //------------- <<< end of configuration section >>> ----------------------- Please change those tags and re-open the file in Config Wizard.

We will fix the logic in the next release.

nash900 commented 7 years ago

Edriouk, thanks a lot for your quick reply. Perfect! It's working now.

edriouk commented 6 years ago

I believe this issue is fixed in 2.3.0 release. The ConfigWizard parser should ignore the spaces Evgueni

ReinhardKeil commented 5 years ago

Closing as no further feedback.