cancel
Showing results for 
Search instead for 
Did you mean: 

RTC

victoryvignesh1
Associate II
Posted on November 23, 2012 at 05:50

i am using stm32f4 discovery board. In rtc peripheral example(rtc_timer) ..\stm324xg_eval_lcd.h(39): error:  #5: cannot open source input file ''../Common/fonts.h'': No such file or directory

compiling stm32f4xx_it.c...  this error will come. 
1 REPLY 1
Posted on November 23, 2012 at 06:22

You have the DISCOVERY board, not the EVAL board.

The eval board stuff is being pulled via main.h, and as all the files exist the fact it can't find them suggests the project has not been correctly constructed, and the include paths and defines not set up in a coherent fashion.

The Discovery board is also absent the LSE crystal, and the LCD panel, which will clearly complicate things a lot more than the compiler not finding a few files you don't need.

You will need to port the project to account for the differences in the boards, and the structure/location of files within this new project.

I'd suggest you start with a much simpler project framework, and then merge in the code which is of specific interest, and relevant to your goals and the board you are attempting to use.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..