2018-03-22 01:59 PM
Hi.
I have downloaded theSTM32CubeExpansion_BLE1_V3.2.0 folder from the STM website and am trying to compile the demo project. I am using Keil V5. I have copied the files over to where all my other Keil projects are and have included the relative header paths. When I build it I get over 200 errors. I'm sure the code is fine and it maybe something to do with folder locations or something like that. Is there any special procedure for copying projects and where to copy them to?
Thanks.
#keil #bluenrg-2 #stm32f407 Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-03-22 03:48 PM
It has the following:
USE_HAL_DRIVER,STM32F401xE,USE_STM32F4XX_NUCLEO
Should there be any more?
2018-03-22 03:52 PM
I don't know.
Did
find-in-files locate where it should be defined?
2018-03-22 04:00 PM
tListNode is defined in ble_list.h and is included in the project:
2018-03-22 04:04 PM
No, same issue. Extracted the zip folder to the desktop and opened the project from there. You would expect it to work as it is provided from STM.
2018-03-22 10:06 PM
ST's example projects usually do not compile for me out of the box... Nor Keil nor the TrueStudio version. The BlueNRG examples are the worst. We give up using BlueNRG at our company.
2018-03-23 08:02 AM
Dear user,
the STM32CubeExpansion_BLE1_V3.2.0 package includes several projects. All of them have been successfully tested with Keil uVision v5.22.
What is the project you are trying?
Kind regards
Andrea
2018-03-25 09:08 AM
Funnily enough I tried on a windows 7 machine (was windows 10 before) and everything works straight away even directly out of the compressed folder. I did notice on windows 10 the pack installer taking forever when the project was opened. Maybe this had something to do with not copying all the relevant files over and/or maybe its a windows 10 issue. I have had issues with windows 10 and other software before so probably the issue is there. I will stick with windows 7 for now I think. Thanks for all the helpful comments, I did manage to learn a bit more about how keil operates and not to trust windows 10
2018-03-29 03:42 AM
Dear Mark Peter,
could you please be more specific? BlueNRG is a family of chips, with the BlueNRG-MS, BlueNRG-1 and BlueNRG-2 devices. Which one were you using and which software package didn't work for you out of the box?
Also, which IDE version have you used and on what version of the OS? For example, the OP has reported issues only when using Windows 10, while everything was working fine on Windows 7.
If you can provide me with these details about your environment, I can check what went wrong for you.
Thanks,
Antonio
2018-03-29 05:13 AM
M Greally wrote:
I tried on a windows 7 machine ... and everything works straight away
So the thing to do would be a side-by-side compare of the two setups
I have had issues with windows 10 and other software beforeSo it's not specifically related to ST or Keil, then?
Sounds like time to call your IT people ...
Could it be some security setting?
Windows (including 7) does 'notice' when stuff is downloaded from the interwebs, and sometimes puts access restrictions on it ...
Can you open the reported files manually in the Keil editor?
Does it make a difference if you run as Administrator?
I will stick with windows 7
That's a pragmatic approach to get you going for now, but it leaves the underlying issue unresolved - so it's going to come back to bite you (as it has, apparently, bitten you before)...
2018-04-10 03:37 AM
No doubt it will but that machine was giving me issues in other aspects to. I will probably do a restore on it and get rid of all the demons.