2016-11-25 10:43 AM
Fails to compile:
..\..\..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L4xx\Include/stm32l476xx.h:185:30: fatal error: system_stm32l4xx.h: No such file or directory compilation terminated. I've seen this before - Another snipe hunt ensues. Something about a folder or path name too long or some such. Move the package from downloads to root and it compiles.2016-11-25 03:39 PM
http://gcc.gnu.org/onlinedocs/cpp/Defined.html
The code present in cubel4 for CDC standalone where the clock choice can be made can be muddled up in Truestudio. Maybe others too. This concept: #if defined (USB_USE_LSE_MSI_CLOCK) blah blah #elif defined (USB_USE_HSE_CLOCK) blah blah....Really blows Atollic Truestudios mind as far as how / what code it greys out / includes / compiles.
Probably something pedantic about the definition, macro and it having NOTHING really IN IT. I changed both to #if 0/#endif. Seemed to make Atollic happy and gives me a little more confidence in what got compiled in.2016-11-27 08:57 AM
Also I now find if all things are SAVED, in the ''PROJECT'' and then REMOVE the project from TrueStudio or start a new Truestudio session, then IMPORT the existing project back into Truestudio, THEN things appear as you might expect..
FREE = you get what you pay for......2016-11-29 11:30 AM
FILES
PROJECTS TOPROJECT
WORKSPACE in the ''import'' function of TrueStudio but I haven't confirmed that yet. I'll put it here if I get to it.:
Yeah forget that - It certainly isn't doing what I thought ''COPY PROJECTS INTO WORKSPACE'' would mean. I took it literally. Silly me.
It'll be interesting to see what that DOES mean at some point. That will be ANOTHER interesting rtfm - AT SOME POINT.
2016-11-30 08:25 AM
You can find a follow on and conclusion here if interested.:
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/HAL%20or%20SPL%20for%20USB&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=44]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fHAL%20or%20SPL%20for%20USB&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex%5Fmx%5Fstm32%2FAllItems%2Easpx¤tviews=44