diff options
author | Fragonite <48802408+Fragonite@users.noreply.github.com> | 2021-04-26 22:14:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 22:14:15 +0300 |
commit | 92179904a62cef5dcdba1eb61613629da221ab1f (patch) | |
tree | 8ca6e054d02449c95a182334963bef16f4b32137 | |
parent | 319a750fd3d5f679e7be9b5e1719f8c46dafdf06 (diff) |
STM32F401xE Demo (#89)
* Added STM32F401xE demo and updated list of supported hardware.
* Added STM32F401CE to list of tested MCUs.
* Updated makefile help output (added lines for stm32f401xc and stm32f401xe).
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | demo/stm32f401xe.ld | 8 | ||||
-rw-r--r-- | hardware.md | 1 | ||||
-rw-r--r-- | readme.md | 8 |
4 files changed, 24 insertions, 1 deletions
@@ -53,6 +53,8 @@ help all: @echo ' stm32l052x8 CDC loopback demo for STM32L052x8 based boards' @echo ' 32f429zi-nucleo' @echo ' stm32f429xi CDC loopback demo for STM32F429xI based boards' + @echo ' stm32f401xc CDC loopback demo for STM32F401xC based boards' + @echo ' stm32f401xe CDC loopback demo for STM32F401xE based boards' @echo ' cmsis Download CMSIS 5 and stm32.h into a $$(CMSIS) directory' @echo ' doc DOXYGEN documentation' @echo ' module static library module using following envars (defaults)' @@ -248,6 +250,12 @@ stm32f401xc: clean DEFINES='STM32F4 STM32F401xC USBD_SOF_DISABLED' \ CFLAGS='-mcpu=cortex-m4' +stm32f401xe: clean + @$(MAKE) demo STARTUP='$(CMSISDEV)/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xe.s' \ + LDSCRIPT='demo/stm32f401xe.ld' \ + DEFINES='STM32F4 STM32F401xE USBD_SOF_DISABLED' \ + CFLAGS='-mcpu=cortex-m4' + stm32f745xe: clean @$(MAKE) demo STARTUP='$(CMSISDEV)/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f745xx.s' \ LDSCRIPT='demo/stm32f745xe.ld' \ diff --git a/demo/stm32f401xe.ld b/demo/stm32f401xe.ld new file mode 100644 index 0000000..b8ae2db --- /dev/null +++ b/demo/stm32f401xe.ld @@ -0,0 +1,8 @@ +ENTRY(Reset_Handler) +MEMORY +{ + ROM (rx): ORIGIN = 0x08000000, LENGTH = 512K + RAM (rwx): ORIGIN = 0x20000000, LENGTH = 96K +} + +INCLUDE sections.ld diff --git a/hardware.md b/hardware.md index 1c440e9..d025724 100644 --- a/hardware.md +++ b/hardware.md @@ -21,6 +21,7 @@ | stm32f405xg | NUCLEO-F405RG + NUCLEO2USB | based on NUCLEO-F103RE, 0.1uF at SB33, SB38 | | stm32f405xg_hs | NUCLEO-F405RG + NUCLEO2USB | based on NUCLEO-F103RE, 0.1uF at SB33, SB38 | | stm32f745xe | NUCO-V-F745VE + NUCLEO2USB | | +| stm32f401xe | WeAct STM32F401CEU6 | | [NUCLEO2USB SHIELD](https://github.com/dmitrystu/Nucleo2USB) [NUCO-V](https://github.com/dmitrystu/nuco-v)
\ No newline at end of file @@ -68,6 +68,12 @@ All requirements can be downloaded into a directory specified in environment var <td>usbd_stm32l476_otgfs.c</td> </tr> <tr> + <td>STM32F401 STM32F411</td> + <td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td> + <td>usbd_otgfs</td> + <td>usbd_stm32f429_otgfs.c</td> + </tr> + <tr> <td rowspan="2">STM32F4x5 STM32F4x7 STM32F4x9</td> <td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td> <td>usbd_otgfs</td> @@ -107,7 +113,7 @@ All requirements can be downloaded into a directory specified in environment var 3. Tested with STM32L052K8, STM32L100RC, STM32L476RG, STM32F072C8, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE, STM32F429ZI, STM32F105RBT6, STM32F107VCT6, STM32L433CCT6, STM32F070CBT6, STM32G431RB, STM32F411CEUx, STM32F405RG, STM32F446RE, STM32F373CC, STM32L053R8, GD32F103C8T6, -STM32F745VE. +STM32F745VE, STM32F401CE. See [hardware.md](hardware.md) for details. ### Implemented definitions for classes ### |