matthiasbock / cantact-fw

Firmware source files for the CANtact USB-CAN-Bus-Adapter
http://cantact.io
Other
2 stars 1 forks source link

warning: "HSE_VALUE" redefined #8

Closed matthiasbock closed 6 years ago

matthiasbock commented 6 years ago

Commit: a156c88

$ make clean all
rm -f build/*.o
rm -f build/*.elf
rm -f build/*.hex
rm -f build/*.map
rm -f build/*.bin
rm -f build/usb/*.o
rm -f build/STM32Cube/*.o
arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -DCORE_M0 -D GIT_COMMIT=a156c88 -DSTM32F042x6 -DPLATFORM_CANTACT -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/STM32F0xx_HAL_Driver/Inc -IInc -IMiddlewares/ST/STM32_USB_Device_Library/Core/Inc -IMiddlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc  -std=gnu99 -Wall -g -ffunction-sections -fdata-sections -Og -Os -c -o build/slcan.o Src/slcan.c
In file included from Src/slcan.c:10:0:
Inc/platform.h:14:0: warning: "HSE_VALUE" redefined [enabled by default]
 #define HSE_VALUE       16000000
 ^
In file included from Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:48:0,
                 from Src/slcan.c:6:
Inc/stm32f0xx_hal_conf.h:89:0: note: this is the location of the previous definition
   #define HSE_VALUE    ((uint32_t)16000000) /*!< Value of the External oscillator in Hz */
 ^
...