Rename configs/nucleo-f401re to configs/nucleo-f4x1re

This commit is contained in:
Gregory Nutt 2014-10-15 07:05:08 -06:00
parent e525b020c9
commit f977d8d2eb
26 changed files with 44 additions and 42 deletions

View File

@ -1008,7 +1008,7 @@ config ARCH_BOARD
default "pic32mx7mmb" if ARCH_BOARD_PIC32MX7MMB default "pic32mx7mmb" if ARCH_BOARD_PIC32MX7MMB
default "pirelli_dpl10" if ARCH_BOARD_PIRELLI_DPL10 default "pirelli_dpl10" if ARCH_BOARD_PIRELLI_DPL10
default "px4fmu-v2_upstream" if ARCH_BOARD_PX4FMU_V2 default "px4fmu-v2_upstream" if ARCH_BOARD_PX4FMU_V2
default "nucleo-f401re" if ARCH_BOARD_NUCLEO_F401RE || ARCH_BOARD_NUCLEO_F411RE default "nucleo-f4x1re" if ARCH_BOARD_NUCLEO_F401RE || ARCH_BOARD_NUCLEO_F411RE
default "qemu-i486" if ARCH_BOARD_QEMU_I486 default "qemu-i486" if ARCH_BOARD_QEMU_I486
default "rgmp" if ARCH_BOARD_RGMP default "rgmp" if ARCH_BOARD_RGMP
default "sama5d3x-ek" if ARCH_BOARD_SAMA5D3X_EK default "sama5d3x-ek" if ARCH_BOARD_SAMA5D3X_EK
@ -1251,8 +1251,8 @@ endif
if ARCH_BOARD_PIRELLI_DPL10 if ARCH_BOARD_PIRELLI_DPL10
source "configs/pirelli_dpl10/Kconfig" source "configs/pirelli_dpl10/Kconfig"
endif endif
if ARCH_BOARD_NUCLEO_F401RE if ARCH_BOARD_NUCLEO_F401RE || ARCH_BOARD_NUCLEO_F411RE
source "configs/nucleo-f401re/Kconfig" source "configs/nucleo-f4x1re/Kconfig"
endif endif
if ARCH_BOARD_PX4FMU_V2 if ARCH_BOARD_PX4FMU_V2
source "configs/px4fmu-v2_upstream/Kconfig" source "configs/px4fmu-v2_upstream/Kconfig"

View File

@ -330,7 +330,7 @@ configs/ntosd-dm320
STATUS: This port is code complete, verified, and included in the STATUS: This port is code complete, verified, and included in the
NuttX 0.2.1 release. NuttX 0.2.1 release.
configs/nucleo-f401re configs/nucleo-f4x1re
STMicro ST Nucleo F401RE and F411RE boards. See STMicro ST Nucleo F401RE and F411RE boards. See
http://mbed.org/platforms/ST-Nucleo-F401RE and http://mbed.org/platforms/ST-Nucleo-F401RE and
http://developer.mbed.org/platforms/ST-Nucleo-F411RE for more http://developer.mbed.org/platforms/ST-Nucleo-F411RE for more

View File

@ -20,7 +20,9 @@ NucleoF411RE:
Microprocessor: 32-bit ARM Cortex M4 at 100MHz STM32F411RE Microprocessor: 32-bit ARM Cortex M4 at 100MHz STM32F411RE
Memory: 512 KB Flash and 128 KB SRAM Memory: 512 KB Flash and 128 KB SRAM
Other board features are identical: The NucleoF411RE also has additional DMA and SPI peripheral capabilities.
Board features, however, are identical:
I/O Pins Out: 37, 17 On the Connector I/O Pins Out: 37, 17 On the Connector
ADCs: 1 (at 12-bit resolution) ADCs: 1 (at 12-bit resolution)
@ -207,11 +209,11 @@ NuttX EABI "buildroot" Toolchain
1. You must have already configured Nuttx in <some-dir>/nuttx. 1. You must have already configured Nuttx in <some-dir>/nuttx.
$ (cd tools; ./configure.sh nucleo-f401re/f401-nsh) $ (cd tools; ./configure.sh nucleo-f4x1re/f401-nsh)
$ make qconfig $ make qconfig
$ V=1 make context all 2>&1 | tee mout $ V=1 make context all 2>&1 | tee mout
use the f411-nsh configuration if you have the Nucleo-F411RE board. Use the f411-nsh configuration if you have the Nucleo-F411RE board.
2. Download the latest buildroot package into <some-dir> 2. Download the latest buildroot package into <some-dir>
@ -315,7 +317,7 @@ Hardware
LEDs LEDs
---- ----
The Nucleo F401RE and Nucleo F401RE provide a single user LED, LD2. LD2 The Nucleo F401RE and Nucleo F411RE provide a single user LED, LD2. LD2
is the green LED connected to Arduino signal D13 corresponding to MCU I/O is the green LED connected to Arduino signal D13 corresponding to MCU I/O
PA5 (pin 21) or PB13 (pin 34) depending on the STM32target. PA5 (pin 21) or PB13 (pin 34) depending on the STM32target.
@ -360,7 +362,7 @@ Serial Consoles
TTL to RS-232 converter connection: TTL to RS-232 converter connection:
Nucleo CN10 STM32F401RE Nucleo CN10 STM32F4x1RE
----------- ------------ ----------- ------------
Pin 21 PA9 USART2_RX Pin 21 PA9 USART2_RX
Pin 33 PA10 USART2_TX Pin 33 PA10 USART2_TX
@ -392,7 +394,7 @@ Serial Consoles
TTL to RS-232 converter connection: TTL to RS-232 converter connection:
Nucleo CN9 STM32F401RE Nucleo CN9 STM32F4x1RE
----------- ------------ ----------- ------------
Pin 1 PA3 USART2_RX Pin 1 PA3 USART2_RX
Pin 2 PA2 USART2_TX Pin 2 PA2 USART2_TX
@ -470,7 +472,7 @@ Shields
RS-232 from Cutedigi.com. Supports a single RS-232 connected via RS-232 from Cutedigi.com. Supports a single RS-232 connected via
Nucleo CN9 STM32F401RE Cutedigi Nucleo CN9 STM32F4x1RE Cutedigi
----------- ------------ -------- ----------- ------------ --------
Pin 1 PA3 USART2_RX RXD Pin 1 PA3 USART2_RX RXD
Pin 2 PA2 USART2_TX TXD Pin 2 PA2 USART2_TX TXD
@ -511,7 +513,7 @@ Configurations
Consoles). I have been using a TTL-to-RS-232 converted connected Consoles). I have been using a TTL-to-RS-232 converted connected
as shown below: as shown below:
Nucleo CN10 STM32F401RE Nucleo CN10 STM32F4x1RE
----------- ------------ ----------- ------------
Pin 21 PA9 USART2_RX Pin 21 PA9 USART2_RX
Pin 33 PA10 USART2_TX Pin 33 PA10 USART2_TX

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/nucleo-f401re/f401-nsh/Make.defs # configs/nucleo-f4x1re/f401-nsh/Make.defs
# #
# Copyright (C) 2014 Gregory Nutt. All rights reserved. # Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -385,7 +385,7 @@ CONFIG_RAM_SIZE=98304
# #
CONFIG_ARCH_BOARD_NUCLEO_F401RE=y CONFIG_ARCH_BOARD_NUCLEO_F401RE=y
# CONFIG_ARCH_BOARD_CUSTOM is not set # CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="nucleo-f401re" CONFIG_ARCH_BOARD="nucleo-f4x1re"
# #
# Common Board Options # Common Board Options

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# configs/nucleo-f401re/f401nsh/setenv.sh # configs/nucleo-f4x1re/f401nsh/setenv.sh
# #
# Copyright (C) 2014 Gregory Nutt. All rights reserved. # Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/nucleo-f410re/f411-nsh/Make.defs # configs/nucleo-f4x1re/f411-nsh/Make.defs
# #
# Copyright (C) 2014 Gregory Nutt. All rights reserved. # Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -385,7 +385,7 @@ CONFIG_RAM_SIZE=131072
# #
CONFIG_ARCH_BOARD_NUCLEO_F411RE=y CONFIG_ARCH_BOARD_NUCLEO_F411RE=y
# CONFIG_ARCH_BOARD_CUSTOM is not set # CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="nucleo-f401re" CONFIG_ARCH_BOARD="nucleo-f4x1re"
# #
# Common Board Options # Common Board Options

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# configs/nucleo-f401re/f411-nsh/setenv.sh # configs/nucleo-f4x1re/f411-nsh/setenv.sh
# #
# Copyright (C) 2014 Gregory Nutt. All rights reserved. # Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/include/board.h * configs/nucleo-f4x1re/include/board.h
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/include/nucleo-f401re.h * configs/nucleo-f4x1re/include/nucleo-f401re.h
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/include/nucleo-f411re.h * configs/nucleo-f4x1re/include/nucleo-f411re.h
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/scripts/f401re.ld * configs/nucleo-f4x1re/scripts/f401re.ld
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f411re/scripts/f411re.ld * configs/nucleo-f4x1re/scripts/f411re.ld
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/nucleo-f401re/src/Makefile # configs/nucleo-f4x1re/src/Makefile
# #
# Copyright (C) 2014 Gregory Nutt. All rights reserved. # Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/src/nucleo-f401re.h * configs/nucleo-f4x1re/src/nucleo-f4x1re.h
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Authors: Frank Bennett * Authors: Frank Bennett

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_autoleds.c * configs/nucleo-f4x1re/src/stm32_autoleds.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -49,7 +49,7 @@
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
#include "stm32.h" #include "stm32.h"
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
#ifdef CONFIG_ARCH_LEDS #ifdef CONFIG_ARCH_LEDS

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/src/stm32_boot.c * configs/nucleo-f4x1re/src/stm32_boot.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -48,7 +48,7 @@
#include <arch/board/board.h> #include <arch/board/board.h>
#include "up_arch.h" #include "up_arch.h"
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_buttons.c * configs/nucleo-f4x1re/src/stm32_buttons.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -44,7 +44,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <arch/board/board.h> #include <arch/board/board.h>
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
#ifdef CONFIG_ARCH_BUTTONS #ifdef CONFIG_ARCH_BUTTONS

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/src/stm32_cxxinitialize.c * configs/nucleo-f4x1re/src/stm32_cxxinitialize.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_io.c * configs/nucleo-f4x1re/src/stm32_io.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -44,7 +44,7 @@
#include <arch/board/board.h> #include <arch/board/board.h>
#include "chip/stm32_tim.h" #include "chip/stm32_tim.h"
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
#ifndef CONFIG_CC3000_PROBES #ifndef CONFIG_CC3000_PROBES

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_nsh.c * configs/nucleo-f4x1re/src/stm32_nsh.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -52,7 +52,7 @@
#include <arch/board/board.h> #include <arch/board/board.h>
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-Processor Definitions

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_spi.c * configs/nucleo-f4x1re/src/stm32_spi.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -50,7 +50,7 @@
#include <chip.h> #include <chip.h>
#include <stm32.h> #include <stm32.h>
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3) #if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3)

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/nucleo-f401re/src/stm32_userleds.c * configs/nucleo-f4x1re/src/stm32_userleds.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -50,7 +50,7 @@
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
#include "stm32.h" #include "stm32.h"
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
#ifndef CONFIG_ARCH_LEDS #ifndef CONFIG_ARCH_LEDS

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/nucleo-f401re/src/stm32_wireless.c * configs/nucleo-f4x1re/src/stm32_wireless.c
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Laurent Latil <laurent@latil.nom.fr> * Author: Laurent Latil <laurent@latil.nom.fr>
@ -52,7 +52,7 @@
#include <nuttx/wireless/cc3000/include/cc3000_upif.h> #include <nuttx/wireless/cc3000/include/cc3000_upif.h>
#include "stm32.h" #include "stm32.h"
#include "nucleo-f401re.h" #include "nucleo-f4x1re.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-Processor Definitions