Page 1 of 1

M3-v7.0 -- Error in example Info.mod

Posted: Tue Feb 12, 2019 3:48 am
by gray
Just a quick note, valid for v7.0 of the M3 environment: 'Info.mod' (in the General examples folder) does not compile, as it refers to 'MCU.CCLK' and 'MCU.PCLK', neither of which is defined for the STM32 boards. The two items are declared for the LPC boards, hence the example compiles, but are only defined/initialised after calling 'MCU.Configure', which 'Info.mod' does not do either. I don't have an LPC board, but I would expect a run-time error, or at least unexpected results. Or do I miss something? Thanks.

Re: M3-v7.0 -- Error in example Info.mod

Posted: Tue Feb 12, 2019 12:50 pm
by cfbsoftware
Thanks for pointing that out. The STM32 Info examples are now located in the STM32-specific folders. We'll have to move the copy of Info that is still in the General folder to the NXP-specific folders as well to avoid confusion.