Skip to content

Commit 80f4928

Browse files
author
BuildTools
committed
Added STM32F401xE demo and updated list of supported hardware.
1 parent 319a750 commit 80f4928

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ stm32f401xc: clean
248248
DEFINES='STM32F4 STM32F401xC USBD_SOF_DISABLED' \
249249
CFLAGS='-mcpu=cortex-m4'
250250

251+
stm32f401xe: clean
252+
@$(MAKE) demo STARTUP='$(CMSISDEV)/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xe.s' \
253+
LDSCRIPT='demo/stm32f401xe.ld' \
254+
DEFINES='STM32F4 STM32F401xE USBD_SOF_DISABLED' \
255+
CFLAGS='-mcpu=cortex-m4'
256+
251257
stm32f745xe: clean
252258
@$(MAKE) demo STARTUP='$(CMSISDEV)/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s' \
253259
LDSCRIPT='demo/stm32f745xe.ld' \

demo/stm32f401xe.ld

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ENTRY(Reset_Handler)
2+
MEMORY
3+
{
4+
ROM (rx): ORIGIN = 0x08000000, LENGTH = 512K
5+
RAM (rwx): ORIGIN = 0x20000000, LENGTH = 96K
6+
}
7+
8+
INCLUDE sections.ld

hardware.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| stm32f405xg | NUCLEO-F405RG + NUCLEO2USB | based on NUCLEO-F103RE, 0.1uF at SB33, SB38 |
2222
| stm32f405xg_hs | NUCLEO-F405RG + NUCLEO2USB | based on NUCLEO-F103RE, 0.1uF at SB33, SB38 |
2323
| stm32f745xe | NUCO-V-F745VE + NUCLEO2USB | |
24+
| stm32f401xe | WeAct STM32F401CEU6 | |
2425

2526
[NUCLEO2USB SHIELD](https://github.com/dmitrystu/Nucleo2USB)
2627
[NUCO-V](https://github.com/dmitrystu/nuco-v)

readme.md

+6
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ All requirements can be downloaded into a directory specified in environment var
6767
<td>usbd_otgfs</td>
6868
<td>usbd_stm32l476_otgfs.c</td>
6969
</tr>
70+
<tr>
71+
<td>STM32F401 STM32F411</td>
72+
<td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td>
73+
<td>usbd_otgfs</td>
74+
<td>usbd_stm32f429_otgfs.c</td>
75+
</tr>
7076
<tr>
7177
<td rowspan="2">STM32F4x5 STM32F4x7 STM32F4x9</td>
7278
<td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td>

0 commit comments

Comments
 (0)