From 7996a45125edf3b5938d11a77ef2296c285d8e43 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Mon, 2 Oct 2017 12:20:25 -0300 Subject: [PATCH] Fix some comments for STM32FXXX --- Makefile | 5 ++--- SerialSTM.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6d85132..887f473 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,6 @@ NM=arm-none-eabi-nm SIZE=arm-none-eabi-size A2L=arm-none-eabi-addr2line -# Find source files # "SystemRoot" is only defined in Windows ifdef SYSTEMROOT CLEANCMD=del /S *.o *.hex *.bin *.elf GitVersion.h @@ -119,7 +118,7 @@ DEFS_DIS=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F40_41xxx -DSTM32F4_DISCOVERY DEFS_PI=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F446xx -DSTM32F4_PI -DHSE_VALUE=$(OSC) -DMADEBYMAKEFILE # STM32F4 Nucleo-64 F446RE board: DEFS_NUCLEO=-DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F446xx -DSTM32F4_NUCLEO -DHSE_VALUE=$(OSC) -DMADEBYMAKEFILE -# STM32F7 Nucleo-144-F767ZI board: +# STM32F7 Nucleo-144 F767ZI board: DEFS_NUCLEO_F767=-DUSE_HAL_DRIVER -DSTM32F767xx -DSTM32F7XX -DSTM32F7_NUCLEO -DHSE_VALUE=$(OSC) -DMADEBYMAKEFILE # Build compiler flags @@ -140,7 +139,7 @@ LDFLAGS=-Os --specs=nano.specs # Build Rules .PHONY: all release dis pi nucleo f767 clean -# Default target: STM32F4 Nucleo F446RE board +# Default target: Nucleo-64 F446RE board all: nucleo pi: GitVersion.h diff --git a/SerialSTM.cpp b/SerialSTM.cpp index e0aa6c3..99e3a5e 100644 --- a/SerialSTM.cpp +++ b/SerialSTM.cpp @@ -27,14 +27,14 @@ Pin definitions: - Host communication: -USART1 - TXD PA9 - RXD PA10 (Pi board) -USART2 - TXD PA2 - RXD PA3 (Nucleo board) +USART1 - TXD PA9 - RXD PA10 (MMDVM-Pi board) +USART2 - TXD PA2 - RXD PA3 (Nucleo64 F446RE board) USART3 - TXD PC10 - RXD PC11 (Discovery board) +USART3 - TXD PD8 - RXD PD9 (Nucleo144 F767ZI board) - Serial repeater: USART1 - TXD PA9 - RXD PA10 (Nucleo with Arduino header) -UART5 - TXD PC12 - RXD PD2 (Discovery, Pi and Nucleo with Morpho header) - +UART5 - TXD PC12 - RXD PD2 (Discovery, MMDVM-Pi, Nucleo64 with Morpho header and Nucleo144 F767ZI) */ #if defined(STM32F4XX) || defined(STM32F7XX)