Closed fbstj closed 8 years ago
Hello, thanks for reporting. Indeed, that was a copy-paste error :-(. I have found this one too (the same copy-paste mistake is as well in other components :-(). I have it already fixed on GitHub (https://github.com/ErichStyger/McuOnEclipse_PEx/blob/master/Drivers/sw/CriticalSection.drv), but I had no time yet to release the new components. If time permits, I'll release them this weekend. Erich
I have released a new version of the components which has this fixed: https://mcuoneclipse.com/2016/05/08/mcuoneclipse-components-8-may-2016-release/ Thanks again for reporting it! Erich
Thank you for the quick fix! this set of components is so useful you're doing such a great service to us users of these chips!
OK after upgrading all the components to the latest releases (CriticalSection still reports as 1.008 even tho it's changed since the last but shrugs) but I'm still getting the error on SDHC1
Reverting various changes until it works, I find that updating the Timeout component from 1.030 to 1.035 also breaks things
I have not seen so far issues with that new Timeout component :-( Any details you could provide?
is there any other numbers that would be useful? any hints as to where I should look for more useful info than version numbers? I'm using an MK60DN512VMD10 here's the components view
they're all updated to the 2016-05-08 release, except the timeout and cs1 which are at 2015-10-17 (using your multi-repository method) if I try to change either to 2016-05-08 (or change the CS to 2016-04-03) it fails to compile with the above error around SDHC1_SetWriteProtection (changing the timeout to 2016-04-03 doesn't cause any problems.
the only differences I can see between the generated code are related to those +#if KSDK1_SDK_VERSION_USED == KSDK1_SDK_VERSION_NONE
blocks around the header includes, the CS1's were added and then fixed, the utils ones were fixed for the latest release.
Ok, I'm able to reproduce the problem :-(. The issue is because with the SDK changes different declaration of type 'bool' could happen :-(. I have fixed it that way: https://github.com/ErichStyger/McuOnEclipse_PEx/commit/5ddff476d34b6058febbeaab6e434891b461a29d I think you should be able to make that change in the file you have installed on your end? Can you try if this solves your problem too?
Thanks, Erich
That does seem to have fixed error. thanks for all your help !! now all my components are on the latest releases.
Thanks for the confirmation!
I've found a bug that I've reported on the forum I thought I'd report it here too, since it'll look nicer
Updating CriticalSection (CS1) to 1.008 seems to cause the SDHC sub-component of my FAT_FileSystem/FatFsMemSDHC break. it somehow decides that sdhc1_SetWriteProtecton is ill-defined??
the problem is here:
KSDK1_KSDK1_SDK_VERSION_NONE
has an extraKSDK1_