- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Although I've been enjoying my life with PSoC Creator for FM0+,
there is one thing repeatedly annoys me.
Which is/are the PDL_UTILITY_ENABLE_PRINTF/SCANF flags in pdl_user.h.
Being a hacker of Unix origin, I depend on printf and scanf a lot.
So I like PSoC Creator and PDL, which provides me the both.
To use them I have to modify these flags manually.
But every time the application gets regenerated or clean and rebuild the project,
pdl_user.h gets overwritten and my modification(s) is gone.
And to notice this I have to wait rather long time for the compiler error message
saying there is no "Uart_Io_Init()".
Now my QUESTION is
Is/are there way to specify these flags from TopDesign.cysh or something
so that the modification survive over application re-generations?
Best Regards,
18-Apr-2017
Motoo Tanaka
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Tanaka-san,
As per the discussions with our Software team, for now - you need to manually change PDL_UTILITY_ENABLE_PRINTF/SCANF flags in pdl_user.h to PDL_ON when you make changes or when there is a Clean and Build.
However, we shall be adding this enhancement in the future version of Creator. Thanks for reporting this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We understand that this is an issue. We will check with the software team and see if there is a work-around for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Bmah-san,
Thank you for your response.
And I'm sorry for my very slow response.
We had a very long off week, which we call "Golden Week" in Japan.
Anyway, I'm glad hearing that the issue has been shared.
Best Regards,
8-May-2017
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Tanaka-san,
As per the discussions with our Software team, for now - you need to manually change PDL_UTILITY_ENABLE_PRINTF/SCANF flags in pdl_user.h to PDL_ON when you make changes or when there is a Clean and Build.
However, we shall be adding this enhancement in the future version of Creator. Thanks for reporting this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Bmah-san,
Thank you very much for your taking pain of checking this issue.
> As per the discussions with our Software team, for now - you need to manually
> change PDL_UTILITY_ENABLE_PRINTF/SCANF flags in pdl_user.h to PDL_ON
> when you make changes or when there is a Clean and Build.
Yes, that is the way it is now. And anyway I've been doing this.
> However, we shall be adding this enhancement in the future version of Creator.
This is a very nice piece of information, I'm looking forward to seeing it.
Best Regards,
23-May-2017
Motoo Tanaka