I can't compile the F446ZE RT demo.
Using SVN rev. 12109 and ChibiStudio v20.
When importing the RT-STM32F446ZE-NUCLEO144 demo i get the following error:
Code: Select all
./mcuconf.h:72:45: warning: "STM32_CK48MSEL_PLLSAI" is not defined, evaluates to 0 [-Wundef]
#define STM32_CK48MSEL STM32_CK48MSEL_PLLSAI
GCC suggests:
Code: Select all
./mcuconf.h:72:45: error: 'STM32_CK48MSEL_PLLSAI' undeclared (first use in this function); did you mean 'STM32_CK48MSEL_PLLALT'?
But changing STM32_CK48MSEL_PLLSAI to STM32_CK48MSEL_PLLALT on mcuconf.h produces:
Code: Select all
In file included from ../../chibios_trunk/os/hal/include/hal.h:118:0,
from ../../chibios_trunk/os/hal/src/hal.c:25:
../../chibios_trunk/os/hal/ports/STM32/STM32F4xx/hal_lld.h:184:25: warning: "STM32_CK48MSEL_PLLI2S" is not defined, evaluates to 0 [-Wundef]
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLI2S
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../chibios_trunk/os/hal/include/hal.h:118:0,
from ../../chibios_trunk/os/hal/src/hal_st.c:25:
../../chibios_trunk/os/hal/ports/STM32/STM32F4xx/hal_lld.h:184:25: warning: "STM32_CK48MSEL_PLLI2S" is not defined, evaluates to 0 [-Wundef]
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLI2S
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../chibios_trunk/os/hal/include/hal.h:118:0,
from ../../chibios_trunk/os/hal/src/hal_queues.c:40:
../../chibios_trunk/os/hal/ports/STM32/STM32F4xx/hal_lld.h:184:25: warning: "STM32_CK48MSEL_PLLI2S" is not defined, evaluates to 0 [-Wundef]
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLI2S
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../chibios_trunk/os/hal/include/hal.h:118:0,
from ../../chibios_trunk/os/hal/src/hal_buffers.c:41:
../../chibios_trunk/os/hal/ports/STM32/STM32F4xx/hal_lld.h:184:25: warning: "STM32_CK48MSEL_PLLI2S" is not defined, evaluates to 0 [-Wundef]
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLI2S
^~~~~~~~~~~~~~~~~~~~~
../../chibios_trunk/os/hal/ports/STM32/STM32F4xx/hal_lld.h:191:2: error: #error "invalid source selected for PLL48CLK clock"
#error "invalid source selected for PLL48CLK clock"
Any ideas?
Btw, thanks for ChibiOS, i'm learning much more from it than playing with Arduino
Falcon