In file included from ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld.h:190:0, from ../chibios/os/hal/include/hal.h:32, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:468:22: warning: "STM32_MCOSEL_PLL2DIV2" is not defined [-Wundef] (STM32_MCOSEL == STM32_MCOSEL_PLL2DIV2) || \ ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:557:2: error: #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:584:2: error: #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:769:2: error: #error "STM32_ADCCLK exceeding maximum frequency (STM32_ADCCLK_MAX)" #error "STM32_ADCCLK exceeding maximum frequency (STM32_ADCCLK_MAX)" ^ ^ In file included from ../chibios/os/hal/ports/STM32/LLD/USBv1/usb_lld.h:30:0, from ../chibios/os/hal/include/usb.h:369, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h:39:5: warning: "STM32_USB_ACCESS_SCHEME_2x16" is not defined [-Wundef] #if STM32_USB_ACCESS_SCHEME_2x16 ^ ../chibios/os/hal/ports/STM32/LLD/USBv1/stm32_usb.h:81:5: warning: "STM32_USB_HAS_BCDR" is not defined [-Wundef] #if STM32_USB_HAS_BCDR ^ In file included from ../chibios/os/hal/include/usb.h:369:0, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/ports/STM32/LLD/USBv1/usb_lld.h:117:2: error: #error "USB driver activated but no USB peripheral assigned"
# Startup files. include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk # HAL-OSAL files (optional). include $(CHIBIOS)/os/hal/hal.mk #include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform.mk include $(CHIBIOS)/os/hal/ports/STM32/STM32F1xx/platform_f105_f107.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk # RTOS files (optional). include $(CHIBIOS)/os/rt/rt.mk include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk # Other files (optional). #include $(CHIBIOS)/test/rt/test.mk
#board include ../boards/STM32F105/board.mk
# Define linker script file here LDSCRIPT= $(STARTUPLD)/STM32F107xC.ld
Compiling crt0_v7m.s Compiling chcoreasm_v7m.s Compiling crt1.c Compiling vectors.c Compiling chsys.c Compiling chdebug.c Compiling chvt.c Compiling chschd.c Compiling chthreads.c Compiling chtm.c Compiling chdynamic.c Compiling chregistry.c Compiling chsem.c Compiling chmtx.c Compiling chcond.c Compiling chevents.c Compiling chmsg.c Compiling chmboxes.c Compiling chqueues.c Compiling chmemcore.c Compiling chheap.c Compiling chmempools.c Compiling chcore.c Compiling chcore_v7m.c Compiling osal.c Compiling hal.c Compiling st.c Compiling hal_buffers.c In file included from ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld.h:190:0, from ../chibios/os/hal/include/hal.h:32, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:557:2: error: #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:573:2: error: #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:584:2: error: #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:600:2: error: #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:627:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" ^ In file included from ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld.h:190:0, from ../chibios/os/hal/include/hal.h:32, from ../chibios/os/hal/src/st.c:25: ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:557:2: error: #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:573:2: error: #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:584:2: error: #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:600:2: error: #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:627:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" ^ In file included from ../chibios/os/hal/include/hal.h:49:0, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/include/dac.h:28:6: warning: "HAL_USE_DAC" is not defined [-Wundef] #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:49:0, from ../chibios/os/hal/src/st.c:25: ../chibios/os/hal/include/dac.h:28:6: warning: "HAL_USE_DAC" is not defined [-Wundef] #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:53:0, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/include/i2s.h:28:6: warning: "HAL_USE_I2S" is not defined [-Wundef] #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:53:0, from ../chibios/os/hal/src/st.c:25: ../chibios/os/hal/include/i2s.h:28:6: warning: "HAL_USE_I2S" is not defined [-Wundef] #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) ^ Compiling hal_queues.c In file included from ../chibios/os/hal/include/usb.h:369:0, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h:199:2: error: #error "the USB OTG driver requires a 48MHz clock" #error "the USB OTG driver requires a 48MHz clock" ^ In file included from ../chibios/os/hal/include/usb.h:369:0, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/st.c:25: ../chibios/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h:199:2: error: #error "the USB OTG driver requires a 48MHz clock" #error "the USB OTG driver requires a 48MHz clock" ^ In file included from ../chibios/os/hal/include/hal.h:64:0, from ../chibios/os/hal/src/st.c:25: ../chibios/os/hal/include/wdg.h:28:6: warning: "HAL_USE_WDG" is not defined [-Wundef] #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:64:0, from ../chibios/os/hal/src/hal.c:25: ../chibios/os/hal/include/wdg.h:28:6: warning: "HAL_USE_WDG" is not defined [-Wundef] #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__) ^ ../chibios/os/hal/src/hal.c: In function 'halInit': ../chibios/os/hal/src/hal.c:73:6: warning: "HAL_USE_DAC" is not defined [-Wundef] #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__) ^ ../chibios/os/hal/src/hal.c:85:6: warning: "HAL_USE_I2S" is not defined [-Wundef] #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) ^ ../chibios/os/hal/src/hal.c:121:6: warning: "HAL_USE_WDG" is not defined [-Wundef] #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__) ^ make: *** [build/obj/hal.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [build/obj/st.o] Error 1 In file included from ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld.h:190:0, from ../chibios/os/hal/include/hal.h:32, from ../chibios/os/hal/src/hal_buffers.c:41: ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:557:2: error: #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:573:2: error: #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:584:2: error: #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:600:2: error: #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:627:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" ^ In file included from ../chibios/os/hal/include/hal.h:49:0, from ../chibios/os/hal/src/hal_buffers.c:41: ../chibios/os/hal/include/dac.h:28:6: warning: "HAL_USE_DAC" is not defined [-Wundef] #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:53:0, from ../chibios/os/hal/src/hal_buffers.c:41: ../chibios/os/hal/include/i2s.h:28:6: warning: "HAL_USE_I2S" is not defined [-Wundef] #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/usb.h:369:0, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/hal_buffers.c:41: ../chibios/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h:199:2: error: #error "the USB OTG driver requires a 48MHz clock" #error "the USB OTG driver requires a 48MHz clock" ^ In file included from ../chibios/os/hal/include/hal.h:64:0, from ../chibios/os/hal/src/hal_buffers.c:41: ../chibios/os/hal/include/wdg.h:28:6: warning: "HAL_USE_WDG" is not defined [-Wundef] #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__) ^ make: *** [build/obj/hal_buffers.o] Error 1 In file included from ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld.h:190:0, from ../chibios/os/hal/include/hal.h:32, from ../chibios/os/hal/src/hal_queues.c:38: ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:557:2: error: #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL2CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:573:2: error: #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL2VCO outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:584:2: error: #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" #error "STM32_PLL3CLKIN outside acceptable range (STM32_PLL23IN_MIN...STM32_PLL23IN_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:600:2: error: #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" #error "STM32_PLL3CLKOUT outside acceptable range (STM32_PLL23VCO_MIN...STM32_PLL23VCO_MAX)" ^ ../chibios/os/hal/ports/STM32/STM32F1xx/hal_lld_f105_f107.h:627:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" #error "STM32_PLLCLKIN outside acceptable range (STM32_PLL1IN_MIN...STM32_PLL1IN_MAX)" ^ In file included from ../chibios/os/hal/include/hal.h:49:0, from ../chibios/os/hal/src/hal_queues.c:38: ../chibios/os/hal/include/dac.h:28:6: warning: "HAL_USE_DAC" is not defined [-Wundef] #if (HAL_USE_DAC == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/hal.h:53:0, from ../chibios/os/hal/src/hal_queues.c:38: ../chibios/os/hal/include/i2s.h:28:6: warning: "HAL_USE_I2S" is not defined [-Wundef] #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) ^ In file included from ../chibios/os/hal/include/usb.h:369:0, from ../chibios/os/hal/include/hal.h:63, from ../chibios/os/hal/src/hal_queues.c:38: ../chibios/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h:199:2: error: #error "the USB OTG driver requires a 48MHz clock" #error "the USB OTG driver requires a 48MHz clock" ^ In file included from ../chibios/os/hal/include/hal.h:64:0, from ../chibios/os/hal/src/hal_queues.c:38: ../chibios/os/hal/include/wdg.h:28:6: warning: "HAL_USE_WDG" is not defined [-Wundef] #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__) ^ make: *** [build/obj/hal_queues.o] Error 1