7 years, 2 months ago.

USBDevice compilation errors for ST NUCLEO F446RE

Hi I'd like to try out the NUCLEO-F446RE board but the compiler issues errors for the USBDevice library (which is up-to-date). I have a clean compile on the LPC1768. Please see the screenshot. I'm assigning PA_8, PA_9 and PA_10 as digital outputs, PA_11 and PA_12 are unused. I'd appreciate any help. Thanks. Chris

/media/uploads/ChrisMabey/capture_2ThHRvS.jpg /media/uploads/ChrisMabey/capture0.jpg /media/uploads/ChrisMabey/capture1.jpg /media/uploads/ChrisMabey/capture4.jpg /media/uploads/ChrisMabey/capture2.jpg /media/uploads/ChrisMabey/capture3.jpg

2 Answers

7 years, 2 months ago.

That out of range error is fine and can be ignored. For the other one, make sure both libraries are latest version (right mouse button, update). I assume that will fix it, but if it does not you will need to downgrade the mbed library till a version which does work. (Or fix this yourself).

Hi Erik Both libraries are the latest so to get a quick fix I'll look at the downgrading approach (but hopefully someone at mbed will resolve it?). Thanks. Chris.

posted by Chris Mabey 22 Jan 2017

In principle it is easy enough to resolve, if downgrading doesn't do it for you and you can't figure it out, send me a message and I have a look. It is just a matter of some changed function names.

posted by Erik - 22 Jan 2017
7 years, 2 months ago.

This issue have been there for a while: https://developer.mbed.org/questions/73701/Working-USB-example/

There is not fix for it yet. I am also trying to fix it.