- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
how can i enable the Macro Expansion´s for the generatedsource headers?
linke CY_RSLT_SEUCCESS... but i cant see it for my own definitions via the device configurator. Here for example an PWM.
Thanks
Andreas H.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To view the macro expansion press ctrl + left-click on PWM_LED2_HW.
Can you please clarify whether you have enabled the corresponding TCPWM peripheral as shown below? In your case, the peripheral in which PWM_LED2_HW is assigned should be enabled.
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
yes, the assigned hardware is correct, everything works fine on the uC.
This is more an IDE issue. (For example when i start mtb, all makro expansions do not show. After the first Build all Makro Expansions works fine, but no one from the generated Source Code.
Any ideas are welcome...
BR
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello again,
what i have to say:
Everything works fine in a "single Core" Project.
I have the problem only in XMC7000 MultiCore Project.
BR
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I couldn't find the exact reason why this issue occurs. I will try to reproduce the issue from my part again. I will also report the same to the internal team to check on XMC7000 MultiCore Project.
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please try the same project in Visual Studio Code and see if the problems exist there?
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @LeoMathews ,
in VS C everything works fine:
"PWM_TEST_HW" --> As expected, refers me to the correct #define
thr problem looks like an eclipse specific one.
br
Andreas Heder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please verify whether you have saved the changes made in the Device Configurator prior to the build?
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @LeoMathews ,
Yes of course the changes are saved. As I said, the firmware works fine on the device.
In my opinion, the Indexer from Eclipse is the problem here. Something is wrong in the settings...
BR
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Andreas_Heder ,
Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.
Thanks and Regards,
Leo