Hello (keil uvision IDE 5.14) 1- Which is right for HSE value definition? - HSE_VALUE = 8000000UL( Unsigned Long ) - HSE_VALUE = 8000000 2- If there is any difference between HSE value definition in options tab and in source files, which is dominant? Thanks.
1) Either, I'd go for the latter it's not like it doesn't fit in 32-bit, the native size
2) The Keil GUI setting is irrelevant. You need to explicitly define this either in one of the source/include files, or as a compiler command line define. The GUI setting is not exported in a useable form.