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

Download pre-release library modules and new examples to use with Astrobe for Cortex-M3. Forum members can also upload their own source code examples.
Post Reply
Posts: 71
Joined: Tue Feb 12, 2019 2:59 am
Location: Mauritius

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

Post by gray » Tue Feb 12, 2019 3:48 am

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.

Site Admin
Posts: 440
Joined: Fri Dec 31, 2010 12:30 pm

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

Post by cfbsoftware » Tue Feb 12, 2019 12:50 pm

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.

Post Reply