Sticky: STM32F4 boards - limited support

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
User avatar
RogerClark
Posts: 6673
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Sticky: STM32F4 boards - limited support

Post by RogerClark » Fri Sep 08, 2017 5:10 am

Terry

See the title of the thread.... "STM32F4 boards limited support" : My repo only has very limited support for F4 boards.

As you have a STM Nucleo board, you should use STM's own official core, which supports that board.

See https://github.com/stm32duino/Arduino_Core_STM32

zmemw16
Posts: 1369
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Sticky: STM32F4 boards - limited support

Post by zmemw16 » Fri Sep 08, 2017 8:36 pm

1. because the nucleo has a f103 programmed as a st-link (&more?) device.
2. off to check my setup, need to open the 411 plastic :)
Bus 003 Device 019: ID 0483:374b STMicroelectronics ST-LINK/V2.1 (Nucleo-F103RB)
mine selects ok, using nucleo-64 then it's a sub-menu.

Code: Select all

STM32GENERIC/STM32/boards.txt:NUCLEO_64.name=Nucleo-64 boards
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.name=Nucleo-64 boards
stephen@i71:~/sketchbook/hardware$ grep -R -i f411re */*/boards.*
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE=Nucleo-F411RE
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.upload.maximum_size=524288
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.upload.maximum_data_size=131072
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.mcu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.series=STM32F4
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.variant=NUCLEO_F411RE
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.board=NUCLEO_F411RE
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.extra_flags=-DSTM32F411RE
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.massstorage_drive=NODE_F411RE
STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.f_cpu=100000000L
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE=Nucleo-F411RE
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.upload.maximum_size=524288
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.upload.maximum_data_size=131072
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.mcu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.series=STM32F4
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.variant=NUCLEO_F411RE
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.board=NUCLEO_F411RE
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.extra_flags=-DSTM32F411RE
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.massstorage_drive=NODE_F411RE
vpv-STM32GENERIC/STM32/boards.txt:NUCLEO_64.menu.subboard.Nucleo_F411RE.build.f_cpu=100000000L
as you can tell i've both cores from victor and daniel installed under /home/stephen/sketchbook/hardware/
to distinguish between them i edit platform.txt to add dan/vpv/ss/rc as approriate to the name= text

Code: Select all

stephen@i71:~/sketchbook/hardware$ ll
total 24
drwxr-xr-x  6 stephen stephen 4096 Aug 23 15:58 ./
drwxr-xr-x 27 stephen stephen 4096 Aug 23 15:58 ../
drwxr-xr-x  7 stephen stephen 4096 Aug 23 15:58 Arduino_STM32/
drwxr-xr-x  7 stephen stephen 4096 Aug 23 15:58 ss-Arduino_STM32/
drwxr-xr-x  5 stephen stephen 4096 Aug 23 15:58 STM32GENERIC/
drwxr-xr-x  5 stephen stephen 4096 Aug 23 15:58 vpv-STM32GENERIC/
stephen
let me know if want my udev rules files

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests