Is anyone else seeing this issue?
The PXS30_Tower project defines two Project Configuration options:
PXS3020_INTERNAL_RAM and PXS3020_INTERNAL_FLASH. The Prefix subdirectory
has an include file for each.
PXS3020_INT_FLASH_VLE_DPM.prefix contains '#define ROM_VERSION 1',
PXS3020_INT_RAM_VLE_DPM.prefix has no define for ROM_VERSION.
So...
If I select PXS3020_INTERNAL_RAM as my Project Configuration and open
PRC1_Sources/_start_p1.c and look at line 110, I see a conditional
block grayed-out as expected, because ROM_VERSION is not defined by
PXS3020_INT_RAM_VLE_DPM.prefix. So good so far.
However, if I select PXS3020_INTERNAL_FLASH and look at line 110 of
_start_p1.c, the preprocessor block remains grayed-out.
If I open an 'Include Browser' window and drop _start_p1.c into it,
the first file listed is PXS3020_INT_RAM_VLE_DPM.prefix. This is true
for either Project_Configuration.
NB: This is simply a viewing problem; the builds include the correct
prefix files and generate the correct code. There is probably a simple
fix?
it looks like a CW IDE problem. can you please upload the demo project here, so that we can reproduce and confirm it?
Thanks for your response. It would be interesting to see if you get (as I suspect) the same behavior with the vanilla software packaged with cw10.4.
I'll be glad to upload my (slightly modified) demo, but can't find upload packaging instructions. I know I've seen them, but can't find then this morning. Any suggestions?