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.

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

Postby 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.
Posts: 39
Joined: Tue Feb 12, 2019 2:59 am

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

Postby 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.
Site Admin
Posts: 387
Joined: Fri Dec 31, 2010 12:30 pm

Return to Cortex-M3