From 46288c97e1a2de2a012d1df3dbc05caf278d3818 Mon Sep 17 00:00:00 2001 From: IOsetting Date: Wed, 5 Apr 2023 09:44:24 +0800 Subject: [PATCH] refactor: remove py32f002x --- .../gcc/{startup_py32f002.s => startup_py32f002a.s} | 2 +- Libraries/LDScripts/{py32f002x5.ld => py32f002ax5.ld} | 0 Makefile | 8 ++++---- README.md | 10 ++++------ 4 files changed, 9 insertions(+), 11 deletions(-) rename Libraries/CMSIS/Device/PY32F0xx/Source/gcc/{startup_py32f002.s => startup_py32f002a.s} (99%) rename Libraries/LDScripts/{py32f002x5.ld => py32f002ax5.ld} (100%) diff --git a/Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002.s b/Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002a.s similarity index 99% rename from Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002.s rename to Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002a.s index 08e5b8d..6cda17a 100644 --- a/Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002.s +++ b/Libraries/CMSIS/Device/PY32F0xx/Source/gcc/startup_py32f002a.s @@ -1,6 +1,6 @@ /** ****************************************************************************** - * @file startup_py32f002.s + * @file startup_py32f002a.s * @brief PY32F002 devices vector table for GCC toolchain. * This module performs: * - Set the initial SP diff --git a/Libraries/LDScripts/py32f002x5.ld b/Libraries/LDScripts/py32f002ax5.ld similarity index 100% rename from Libraries/LDScripts/py32f002x5.ld rename to Libraries/LDScripts/py32f002ax5.ld diff --git a/Makefile b/Makefile index bd7721a..1c8b122 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,14 @@ ARM_TOOCHAIN ?= /opt/gcc-arm/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bi # path to JLinkExe JLINKEXE ?= /opt/SEGGER/JLink/JLinkExe # JLink device type, options: -# PY32F002AX5, PY32F002X5, +# PY32F002AX5, # PY32F003X4, PY32F003X6, PY32F003X8, # PY32F030X4, PY32F030X6, PY32F030X7, PY32F030X8 JLINK_DEVICE ?= PY32F030X8 # path to PyOCD, PYOCD_EXE ?= pyocd # PyOCD device type, options: -# py32f002ax5, py32f002x5, +# py32f002ax5, # py32f003x4, py32f003x6, py32f003x8, # py32f030x3, py32f030x4, py32f030x6, py32f030x7, py32f030x8 # py32f072xb @@ -45,10 +45,10 @@ PYOCD_DEVICE ?= py32f030x8 ##### Paths ############ -# Link descript file: py32f002x5.ld, py32f003x6.ld, py32f003x8.ld, py32f030x6.ld, py32f030x8.ld +# Link descript file: py32f002ax5.ld, py32f003x6.ld, py32f003x8.ld, py32f030x6.ld, py32f030x8.ld LDSCRIPT = Libraries/LDScripts/py32f030x8.ld # Library build flags: -# PY32F002x5, PY32F002Ax5, +# PY32F002Ax5, # PY32F003x4, PY32F003x6, PY32F003x8, # PY32F030x3, PY32F030x4, PY32F030x6, PY32F030x7, PY32F030x8, # PY32F072xB diff --git a/README.md b/README.md index fca27a6..5d2a085 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@ # Puya PY32F0 Family -* PY32F002 - * PY32F002x5(20KB Flash/3KB RAM) * PY32F002A * PY32F002Ax5(20KB Flash/3KB RAM) * PY32F003 @@ -156,14 +154,14 @@ ARM_TOOCHAIN ?= /opt/gcc-arm/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-ea # path to JLinkExe JLINKEXE ?= /opt/SEGGER/JLink/JLinkExe # JLink device type, options: -# PY32F002AX5, PY32F002X5, +# PY32F002AX5, # PY32F003X4, PY32F003X6, PY32F003X8, # PY32F030X4, PY32F030X6, PY32F030X7, PY32F030X8 JLINK_DEVICE ?= PY32F030X6 # path to PyOCD, PYOCD_EXE ?= pyocd # PyOCD device type, options: -# py32f002ax5, py32f002x5, +# py32f002ax5, # py32f003x4, py32f003x6, py32f003x8, # py32f030x3, py32f030x4, py32f030x6, py32f030x7, py32f030x8 # py32f072xb @@ -172,10 +170,10 @@ PYOCD_DEVICE ?= py32f030x8 ##### Paths ############ -# Link descript file: py32f002x5.ld, py32f003x6.ld, py32f003x8.ld, py32f030x6.ld, py32f030x8.ld +# Link descript file: py32f002ax5.ld, py32f003x6.ld, py32f003x8.ld, py32f030x6.ld, py32f030x8.ld LDSCRIPT = Libraries/LDScripts/py32f030x8.ld # Library build flags: -# PY32F002x5, PY32F002Ax5, +# PY32F002Ax5, # PY32F003x4, PY32F003x6, PY32F003x8, # PY32F030x3, PY32F030x4, PY32F030x6, PY32F030x7, PY32F030x8, # PY32F072xB