Code: Select all
[tectu@techome blinky]$ make
Compiling test.c
In file included from /home/tectu/projects/resources/chibios/os/hal/include/hal.h:36:0,
from /home/tectu/projects/resources/chibios/test/test.c:30:
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1113:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLLIN_MIN...STM32_PLLIN_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1176:2: error: #error "STM32_PLLVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1188:2: error: #error "STM32_PLLCLKOUT outside acceptable range (STM32_PLLOUT_MIN...STM32_PLLOUT_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1208:2: error: #error "STM32_SYSCLK above maximum rated frequency (STM32_SYSCLK_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1240:2: error: #error "STM32_HCLK exceeding maximum frequency (STM32_SYSCLK_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1264:2: error: #error "STM32_PCLK1 exceeding maximum frequency (STM32_PCLK1_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1288:2: error: #error "STM32_PCLK2 exceeding maximum frequency (STM32_PCLK2_MAX)"
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/hal_lld.h:1333:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
In file included from /home/tectu/projects/resources/chibios/os/hal/include/adc.h:87:0,
from /home/tectu/projects/resources/chibios/os/hal/include/hal.h:48,
from /home/tectu/projects/resources/chibios/test/test.c:30:
/home/tectu/projects/resources/chibios/os/hal/platforms/STM32F4xx/adc_lld.h:285:2: error: #error "STM32_ADCCLK outside acceptable range (STM32_ADCCLK_MIN...STM32_ADCCLK_MAX)"
make: *** [build/obj/test.o] Error 1
I checked the the board files and the setting seems to be right so far (25MHz crystal etc). Did these ever work?
~ Tectu