Hi!
Thanks for the demo.
What I've done:
1. Added files: sym32f2xx.h, system_stm32f2xx.h and stm32f207xx.h to the \os\ext\CMSIS\ST directory.
2. Created directory \os\common\ports\ARMCMx\devices\STM32F2xx and added there file cmparams.h with right cortex model number.
After that my project ...
Search found 7 matches
- Fri Dec 11, 2015 3:45 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
- Mon Dec 07, 2015 3:20 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
Re: STM32F2xx support in Chibios 3.0.3
Ok, thanks!
- Mon Dec 07, 2015 1:15 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
Re: STM32F2xx support in Chibios 3.0.3
Maybe I should write board-scecific file here: os/ext/CMSIS/ST?
- Mon Dec 07, 2015 12:43 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
Re: STM32F2xx support in Chibios 3.0.3
Maybe I should change STM32F407xG.ld file, because memory setup is wrong there?
There is
MEMORY
{
flash : org = 0x08000000, len = 1M
ram0 : org = 0x20000000, len = 128k /* SRAM1 + SRAM2 */
ram1 : org = 0x20000000, len = 112k /* SRAM1 */
ram2 : org = 0x2001C000, len = 16k /* SRAM2 */
ram3 ...
There is
MEMORY
{
flash : org = 0x08000000, len = 1M
ram0 : org = 0x20000000, len = 128k /* SRAM1 + SRAM2 */
ram1 : org = 0x20000000, len = 112k /* SRAM1 */
ram2 : org = 0x2001C000, len = 16k /* SRAM2 */
ram3 ...
- Mon Dec 07, 2015 12:25 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
Re: STM32F2xx support in Chibios 3.0.3
And this is my output when I try to build RT-STM32F407-DISCOVERY project
In file included from ../../../os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h:75:0,
from ../../../os/common/ports/ARMCMx/compilers/GCC/crt1.c:30:
../../../os/ext/CMSIS/ST/stm32f4xx.h:144:3: error: #error "Please select ...
In file included from ../../../os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h:75:0,
from ../../../os/common/ports/ARMCMx/compilers/GCC/crt1.c:30:
../../../os/ext/CMSIS/ST/stm32f4xx.h:144:3: error: #error "Please select ...
- Mon Dec 07, 2015 12:22 pm
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
Re: STM32F2xx support in Chibios 3.0.3
This is my output when I try to build project (RT-STM32F411RE-NUCLEO):
In file included from ../../../os/hal/include/hal.h:32:0,
from ../../../os/hal/src/hal.c:25:
../../../os/hal/ports/STM32/STM32F4xx/hal_lld.h:724:2: error: #error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined ...
In file included from ../../../os/hal/include/hal.h:32:0,
from ../../../os/hal/src/hal.c:25:
../../../os/hal/ports/STM32/STM32F4xx/hal_lld.h:724:2: error: #error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined ...
- Mon Dec 07, 2015 11:20 am
- Forum: STM32 Support
- Topic: STM32F2xx support in Chibios 3.0.3
- Replies: 9
- Views: 4614
STM32F2xx support in Chibios 3.0.3
Hi!
How to configure ChibiStudio to work with STM32F2?
What I have already done:
1. External Tools Configuration -> arguments for openocd.exe: -c "telnet_port 4444" -s "C:\ChibiStudio\tools\openocd\scripts" -f "interface/stlink-v2.cfg" -f "target/stm32f2x_stlink.cfg"
2. board.h:
/*
* MCU type ...
How to configure ChibiStudio to work with STM32F2?
What I have already done:
1. External Tools Configuration -> arguments for openocd.exe: -c "telnet_port 4444" -s "C:\ChibiStudio\tools\openocd\scripts" -f "interface/stlink-v2.cfg" -f "target/stm32f2x_stlink.cfg"
2. board.h:
/*
* MCU type ...