I am actually developing for a STM3241G-EVAL board but the boards are very similar (the PCBs, themselves, are identical)
If anyone has any working ones that they can share, I would appreciate it.
If not, I guess I need to get to work
Thanks.
Code: Select all
$ diff ST_STM3220G_EVAL/board.h ST_STM3241G_EVAL/board.h
27,28c27,28
< #define BOARD_ST_STM3220G_EVAL
< #define BOARD_NAME "ST STM3220G-EVAL"
---
> #define BOARD_ST_STM3241G_EVAL
> #define BOARD_NAME "ST STM3241G-EVAL"
37a38,43
> * Board voltages.
> * Required for performance limits calculation.
> */
> #define STM32_VDD 330
>
> /*
40c46
< #define STM32F2XX
---
> #define STM32F4XX
Code: Select all
Compiling ext.c
In file included from ../../os/hal/include/hal.h:43:0,
from ../../os/hal/src/hal.c:37:
../../os/hal/platforms/STM32F4xx/hal_lld.h:924:2: error: #error "invalid VDD voltage specified"
Code: Select all
13:00:05 **** Build of configuration Default for project ARMCM4-STM3241G-EVAL ****
make -j4 all
Compiling hal.c
Compiling adc.c
Compiling can.c
Compiling ext.c
In file included from ../../os/hal/include/hal.h:43:0,
from ../../os/hal/src/hal.c:37:
../../os/hal/platforms/STM32F4xx/hal_lld.h:1104:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLLIN_MIN...STM32_PLLIN_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1167:2: error: #error "STM32_PLLVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1179:2: error: #error "STM32_PLLCLKOUT outside acceptable range (STM32_PLLOUT_MIN...STM32_PLLOUT_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1199:2: error: #error "STM32_SYSCLK above maximum rated frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1231:2: error: #error "STM32_HCLK exceeding maximum frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1255:2: error: #error "STM32_PCLK1 exceeding maximum frequency (STM32_PCLK1_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1279:2: error: #error "STM32_PCLK2 exceeding maximum frequency (STM32_PCLK2_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1324:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
In file included from ../../os/hal/include/hal.h:43:0,
from ../../os/hal/src/can.c:37:
../../os/hal/platforms/STM32F4xx/hal_lld.h:1104:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLLIN_MIN...STM32_PLLIN_MAX)"
In file included from ../../os/hal/include/hal.h:43:0,
from ../../os/hal/src/adc.c:37:
../../os/hal/platforms/STM32F4xx/hal_lld.h:1104:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLLIN_MIN...STM32_PLLIN_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1167:2: error: #error "STM32_PLLVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1167:2: error: #error "STM32_PLLVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1179:2: error: #error "STM32_PLLCLKOUT outside acceptable range (STM32_PLLOUT_MIN...STM32_PLLOUT_MAX)"
In file included from ../../os/hal/include/hal.h:43:0,
from ../../os/hal/src/ext.c:37:
../../os/hal/platforms/STM32F4xx/hal_lld.h:1104:2: error: #error "STM32_PLLCLKIN outside acceptable range (STM32_PLLIN_MIN...STM32_PLLIN_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1199:2: error: #error "STM32_SYSCLK above maximum rated frequency (STM32_SYSCLK_MAX)"
In file included from ../../os/hal/include/adc.h:94:0,
from ../../os/hal/include/hal.h:55,
from ../../os/hal/src/hal.c:37:
../../os/hal/platforms/STM32F4xx/adc_lld.h:281:2: error: #error "STM32_ADCCLK outside acceptable range (STM32_ADCCLK_MIN...STM32_ADCCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1231:2: error: #error "STM32_HCLK exceeding maximum frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1255:2: error: #error "STM32_PCLK1 exceeding maximum frequency (STM32_PCLK1_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1167:2: error: #error "STM32_PLLVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1279:2: error: #error "STM32_PCLK2 exceeding maximum frequency (STM32_PCLK2_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1179:2: error: #error "STM32_PLLCLKOUT outside acceptable range (STM32_PLLOUT_MIN...STM32_PLLOUT_MAX)"
make: *** [build/obj/hal.o] Error 1
make: *** Waiting for unfinished jobs....
../../os/hal/platforms/STM32F4xx/hal_lld.h:1324:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1179:2: error: #error "STM32_PLLCLKOUT outside acceptable range (STM32_PLLOUT_MIN...STM32_PLLOUT_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1199:2: error: #error "STM32_SYSCLK above maximum rated frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1231:2: error: #error "STM32_HCLK exceeding maximum frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1255:2: error: #error "STM32_PCLK1 exceeding maximum frequency (STM32_PCLK1_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1199:2: error: #error "STM32_SYSCLK above maximum rated frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1279:2: error: #error "STM32_PCLK2 exceeding maximum frequency (STM32_PCLK2_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1231:2: error: #error "STM32_HCLK exceeding maximum frequency (STM32_SYSCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1324:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
In file included from ../../os/hal/include/adc.h:94:0,
from ../../os/hal/include/hal.h:55,
from ../../os/hal/src/adc.c:37:
../../os/hal/platforms/STM32F4xx/adc_lld.h:281:2: error: #error "STM32_ADCCLK outside acceptable range (STM32_ADCCLK_MIN...STM32_ADCCLK_MAX)"
In file included from ../../os/hal/include/adc.h:94:0,
from ../../os/hal/include/hal.h:55,
from ../../os/hal/src/can.c:37:
../../os/hal/platforms/STM32F4xx/adc_lld.h:281:2: error: #error "STM32_ADCCLK outside acceptable range (STM32_ADCCLK_MIN...STM32_ADCCLK_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1255:2: error: #error "STM32_PCLK1 exceeding maximum frequency (STM32_PCLK1_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1279:2: error: #error "STM32_PCLK2 exceeding maximum frequency (STM32_PCLK2_MAX)"
../../os/hal/platforms/STM32F4xx/hal_lld.h:1324:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
In file included from ../../os/hal/include/adc.h:94:0,
from ../../os/hal/include/hal.h:55,
from ../../os/hal/src/ext.c:37:
../../os/hal/platforms/STM32F4xx/adc_lld.h:281:2: error: #error "STM32_ADCCLK outside acceptable range (STM32_ADCCLK_MIN...STM32_ADCCLK_MAX)"
make: *** [build/obj/adc.o] Error 1
make: *** [build/obj/can.o] Error 1
make: *** [build/obj/ext.o] Error 1
13:00:08 Build Finished (took 3s.135ms)