mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Rename the configs/stm32f0discovery board directory to configs/stm32f051-discovery. There are others stm32f0discovery boards with different MCUs and different peripherals on the board.
This commit is contained in:
committed by
Gregory Nutt
parent
058a938268
commit
87bd3cd8ff
+5
-5
@@ -1162,8 +1162,8 @@ config ARCH_BOARD_STM3240G_EVAL
|
|||||||
microcontroller (ARM Cortex-M4 with FPU). This port uses a GNU Cortex-M4
|
microcontroller (ARM Cortex-M4 with FPU). This port uses a GNU Cortex-M4
|
||||||
toolchain (such as CodeSourcery).
|
toolchain (such as CodeSourcery).
|
||||||
|
|
||||||
config ARCH_BOARD_STM32F0_DISCOVERY
|
config ARCH_BOARD_STM32F051_DISCOVERY
|
||||||
bool "STMicro STM32F0-Discovery board"
|
bool "STMicro STM32F051-Discovery board"
|
||||||
depends on ARCH_CHIP_STM32F051R8
|
depends on ARCH_CHIP_STM32F051R8
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
@@ -1686,7 +1686,7 @@ config ARCH_BOARD
|
|||||||
default "photon" if ARCH_BOARD_PHOTON
|
default "photon" if ARCH_BOARD_PHOTON
|
||||||
default "stm32butterfly2" if ARCH_BOARD_STM32_BUTTERFLY2
|
default "stm32butterfly2" if ARCH_BOARD_STM32_BUTTERFLY2
|
||||||
default "stm32_tiny" if ARCH_BOARD_STM32_TINY
|
default "stm32_tiny" if ARCH_BOARD_STM32_TINY
|
||||||
default "stm32f0discovery" if ARCH_BOARD_STM32F0_DISCOVERY
|
default "stm32f051-discovery" if ARCH_BOARD_STM32F051_DISCOVERY
|
||||||
default "stm32f103-minimum" if ARCH_BOARD_STM32F103_MINIMUM
|
default "stm32f103-minimum" if ARCH_BOARD_STM32F103_MINIMUM
|
||||||
default "stm3210e-eval" if ARCH_BOARD_STM3210E_EVAL
|
default "stm3210e-eval" if ARCH_BOARD_STM3210E_EVAL
|
||||||
default "stm3220g-eval" if ARCH_BOARD_STM3220G_EVAL
|
default "stm3220g-eval" if ARCH_BOARD_STM3220G_EVAL
|
||||||
@@ -2078,8 +2078,8 @@ endif
|
|||||||
if ARCH_BOARD_STM32_TINY
|
if ARCH_BOARD_STM32_TINY
|
||||||
source "configs/stm32_tiny/Kconfig"
|
source "configs/stm32_tiny/Kconfig"
|
||||||
endif
|
endif
|
||||||
if ARCH_BOARD_STM32F0_DISCOVERY
|
if ARCH_BOARD_STM32F051_DISCOVERY
|
||||||
source "configs/stm32f0discovery/Kconfig"
|
source "configs/stm32f051-discovery/Kconfig"
|
||||||
endif
|
endif
|
||||||
if ARCH_BOARD_STM32F103_MINIMUM
|
if ARCH_BOARD_STM32F103_MINIMUM
|
||||||
source "configs/stm32f103-minimum/Kconfig"
|
source "configs/stm32f103-minimum/Kconfig"
|
||||||
|
|||||||
+2
-2
@@ -674,8 +674,8 @@ configs/stm32butterfly2
|
|||||||
Kamami stm32butterfly2 development board with optional ETH phy. See
|
Kamami stm32butterfly2 development board with optional ETH phy. See
|
||||||
https://kamami.pl/zestawy-uruchomieniowe-stm32/178507-stm32butterfly2.html
|
https://kamami.pl/zestawy-uruchomieniowe-stm32/178507-stm32butterfly2.html
|
||||||
|
|
||||||
configs/stm32f0discovery
|
configs/stm32f051-discovery
|
||||||
STMicro STM32F-Discovery board based on the STMicro ARCH_CHIP_STM32F051R8
|
STMicro STM32F051-Discovery board based on the STMicro ARCH_CHIP_STM32F051R8
|
||||||
MCU.
|
MCU.
|
||||||
|
|
||||||
configs/stm32f103-minimum
|
configs/stm32f103-minimum
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_BOARD_STM32F0_DISCOVERY
|
if ARCH_BOARD_STM32F051_DISCOVERY
|
||||||
|
|
||||||
endif
|
endif
|
||||||
+4
-4
@@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/stm32f0discovery/include/board.h
|
* configs/stm32f051-discovery/include/board.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#ifndef __CONFIG_STM32F0DISCOVERY_INCLUDE_BOARD_H
|
#ifndef __CONFIG_STM32F051_DISCOVERY_INCLUDE_BOARD_H
|
||||||
#define __CONFIG_STM32F0DISCOVERY_INCLUDE_BOARD_H
|
#define __CONFIG_STM32F051_DISCOVERY_INCLUDE_BOARD_H
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -244,4 +244,4 @@
|
|||||||
#define GPIO_I2C1_SCL GPIO_I2C1_SCL_1
|
#define GPIO_I2C1_SCL GPIO_I2C1_SCL_1
|
||||||
#define GPIO_I2C1_SDA GPIO_I2C1_SDA_1
|
#define GPIO_I2C1_SDA GPIO_I2C1_SDA_1
|
||||||
|
|
||||||
#endif /* __CONFIG_STM32F0DISCOVERY_INCLUDE_BOARD_H */
|
#endif /* __CONFIG_STM32F051_DISCOVERY_INCLUDE_BOARD_H */
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
# CONFIG_NSH_DISABLE_PS is not set
|
# CONFIG_NSH_DISABLE_PS is not set
|
||||||
# CONFIG_NSH_DISABLE_XD is not set
|
# CONFIG_NSH_DISABLE_XD is not set
|
||||||
# CONFIG_NSH_DISABLEBG is not set
|
# CONFIG_NSH_DISABLEBG is not set
|
||||||
CONFIG_ARCH_BOARD_STM32F0_DISCOVERY=y
|
CONFIG_ARCH_BOARD_STM32F051_DISCOVERY=y
|
||||||
CONFIG_ARCH_BOARD="stm32f0discovery"
|
CONFIG_ARCH_BOARD="stm32f051-discovery"
|
||||||
CONFIG_ARCH_CHIP_STM32F0=y
|
CONFIG_ARCH_CHIP_STM32F0=y
|
||||||
CONFIG_ARCH_CHIP_STM32F051R8=y
|
CONFIG_ARCH_CHIP_STM32F051R8=y
|
||||||
CONFIG_ARCH_STACKDUMP=y
|
CONFIG_ARCH_STACKDUMP=y
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm32f0discovery/scripts/Make.defs
|
# configs/stm32f051-discovery/scripts/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/stm32f0discovery/scripts/flash.ld
|
* configs/stm32f051-discovery/scripts/flash.ld
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/stm32f0discovery/scripts/gnu-elf.ld
|
* configs/stm32f051-discovery/scripts/gnu-elf.ld
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm32f0discovery/src/Makefile
|
# configs/stm32f051-discovery/src/Makefile
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* config/stm32f0discovery/src/stm32_appinit.c
|
* config/stm32f051-discovery/src/stm32_appinit.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#include <nuttx/board.h>
|
#include <nuttx/board.h>
|
||||||
|
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/stm32f0discovery/src/stm32_autoleds.c
|
* configs/stm32f051-discovery/src/stm32_autoleds.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 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 "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_LEDS
|
#ifdef CONFIG_ARCH_LEDS
|
||||||
|
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/stm32f0discovery/src/stm32f0_boot.c
|
* configs/stm32f051-discovery/src/stm32f0_boot.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* config/stm32f0discovery/src/stm32_bringup.c
|
* config/stm32f051-discovery/src/stm32_bringup.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/stm32f0discovery/src/board_buttons.c
|
* configs/stm32f051-discovery/src/board_buttons.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
#include <nuttx/board.h>
|
#include <nuttx/board.h>
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_BUTTONS
|
#ifdef CONFIG_ARCH_BUTTONS
|
||||||
|
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/stm32f0discovery/src/stm32_userleds.c
|
* configs/stm32f051-discovery/src/stm32_userleds.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32f0discovery.h"
|
#include "stm32f051-discovery.h"
|
||||||
|
|
||||||
#ifndef CONFIG_ARCH_LEDS
|
#ifndef CONFIG_ARCH_LEDS
|
||||||
|
|
||||||
+4
-4
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************************************
|
/****************************************************************************************************
|
||||||
* configs/stm32f0discovery/src/stm32f0discovery.h
|
* configs/stm32f051-discovery/src/stm32f051-discovery.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************************************/
|
****************************************************************************************************/
|
||||||
|
|
||||||
#ifndef __CONFIGS_STM32F0DISCOVERY_SRC_STM32F0DISCOVERY_H
|
#ifndef __CONFIGS_STM32F051_DISCOVERY_SRC_STM32F051_DISCOVERY_H
|
||||||
#define __CONFIGS_STM32F0DISCOVERY_SRC_STM32F0DISCOVERY_H
|
#define __CONFIGS_STM32F051_DISCOVERY_SRC_STM32F051_DISCOVERY_H
|
||||||
|
|
||||||
/****************************************************************************************************
|
/****************************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@@ -132,4 +132,4 @@
|
|||||||
int stm32_bringup(void);
|
int stm32_bringup(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_STM32F0DISCOVERY_SRC_STM32F0DISCOVERY_H */
|
#endif /* __CONFIGS_STM32F051_DISCOVERY_SRC_STM32F051_DISCOVERY_H */
|
||||||
Reference in New Issue
Block a user