Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 4 months ago.
stm32l476 nucleo .. no file device,h
I written a rs485 class and used it on F03xx F303 F411 and F401, but if I select an ST32L476 it cannot find a file called device.h . If however I just select another device it compiles and works again.
I tried to change the uart pins (as the device has many) but the same error appears.
Error: Cannot open source input file "device.h": No such file or directory in "extras/mbed_031413cf7a89/platform.h", Line: 21, Col: 21
1 Answer
8 years, 4 months ago.
The L476 was probably added to mbed after you wrote your original RS485 lib and test program. You probably need to update the mbed lib. Right click on the mbed lib in your project, select update and then recompile all.