AnsweredAssumed Answered

going back to legacy, but can't

Question asked by new guy on Sep 23, 2015
Latest reply on Sep 24, 2015 by new guy
Please help me. I am trying t go back to using the legacy standard peripheral library (no Cube) like I used to.

When I try to build a project, I follow the readme file and include the stm324xg_eval files in the project tree..
When I do this I get a warning...
   #error "Please select first the Evaluation board used in your application (in Project Options)"

I don't know how to do this in Keil (anyone know), so as a workaround I did this...
   #define USE_STM324xG_EVAL

I then started to get different warnings 
..\main.c(180): error:  #20: identifier "TIM3_IRQn" is undefined
    NVIC_InitStructure.NVIC_IRQChannel = TIM3_IRQn;

and so on (I am trying to build the TIM timbease example).

I am using UV5.

I would be most grateful if anyone could explain how to get this working smoothly.

never been so defeated by Keil!

Outcomes