Skip to main content
MeBab
Visitor II
August 18, 2020
Question

Hi, I am trying to program a Nucleo64 (STM32L476) with Arduino IDE.

  • August 18, 2020
  • 1 reply
  • 755 views

In my code for Arduino101, I use the following:

#include "CurieTimerOne.h"

This is the point where I get an error when I use Nucleo64 STM32L476. I have no problem when I use Arduino101. However, a problem arises with Nucleo where it cannot find this library.

The error message while using Nucleo is:

MyFileName:50:10: fatal error: CurieTimerOne.h: No such file or directory

  50 | #include "CurieTimerOne.h"

   |     ^~~~~~~~~~~~~~~~~

compilation terminated.

I downloaded this library from Github and added it to the existing libraries' folder but no success!

Whatever I do with the sub folders included in this library and other dependencies, I cannot fix this problem.

Any help is appreciated.

This topic has been closed for replies.

1 reply

TDK
Super User
August 18, 2020

use a better title next time. “Hi�? is nice, but not descriptive.

Your compiler is saying it can’t locate the header file. Ensure it’s in an include directory. The “Inc�? folder is usually a safe bet.

"If you feel a post has answered your question, please click ""Accept as Solution""."