I was interested to work on the Nucleo 303 board using Chibios.
This is the best Nucleo Board in the high performance analog F3 series.
As AFAIK there was no demo for this board, I made my own one.
You can find it here if you are interested
https://drive.google.com/open?id=0B0PzZ ... DB5UlJrRk0
Includes a board file, a demo project, a linker file and a open OCD configuration
I have tested it under ChibiOS 2.6.2
This is my first demo contribution for ChibiOS so I don't know if it follows all the proper rules
I don't know, for instance what to do with the cfg folder in the board definition folder
Best regards
Vicente
STM32F303 Nucleo64 Board
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F303 Nucleo64 Board
Hi Vicente,
Thanks for the demo.
The purpose of that cfg directory is to contain the file board.chcfg, it is an XML file that can be edited using ChibiStudio. There is an utility in ChibiStudio that allows to generate board.c/.h/.mk automatically from the .chcfg file. Usually boards file are not written/edited but generated starting from the .chcfg file.
Giovanni
Thanks for the demo.
The purpose of that cfg directory is to contain the file board.chcfg, it is an XML file that can be edited using ChibiStudio. There is an utility in ChibiStudio that allows to generate board.c/.h/.mk automatically from the .chcfg file. Usually boards file are not written/edited but generated starting from the .chcfg file.
Giovanni
Re: STM32F303 Nucleo64 Board
Ok,
I don't use ChibiStudio because I set-up my toolchain for ChibiOS before the first ChibiStudio release. I that time it was a little complex thing to do.
I leaved the cfg as it was so it is not in sync with the board files.
Regarding the board files, I notticed that the nucleo L152RE, F401RE and F030R8 board files for ChibiOS 2.6.9 define PA11 and PA12 as USB OTG. AFAIK no nucleo board features an USB directly connected to the target MCU.
The target MCU communicates with the ST Link V2-1 MCU using a back UART channel.
It is interesting because PA11 and PA12 are, in fact, used for USB in the Nucleo boards, but on the emulator MCU, not on the target MCU.
Best regards
Vicente
I don't use ChibiStudio because I set-up my toolchain for ChibiOS before the first ChibiStudio release. I that time it was a little complex thing to do.
I leaved the cfg as it was so it is not in sync with the board files.
Regarding the board files, I notticed that the nucleo L152RE, F401RE and F030R8 board files for ChibiOS 2.6.9 define PA11 and PA12 as USB OTG. AFAIK no nucleo board features an USB directly connected to the target MCU.
The target MCU communicates with the ST Link V2-1 MCU using a back UART channel.
It is interesting because PA11 and PA12 are, in fact, used for USB in the Nucleo boards, but on the emulator MCU, not on the target MCU.
Best regards
Vicente