diff --git a/docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.7.pdf b/docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.8.pdf similarity index 54% rename from docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.7.pdf rename to docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.8.pdf index 0b5418e..89829e0 100644 Binary files a/docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.7.pdf and b/docs/HC32F003系列_HC32F005系列数æ�®æ‰‹å†ŒRev2.8.pdf differ diff --git a/docs/HC32F003系列_HC32F005系列用户手册Rev2.31.pdf b/docs/HC32F003系列_HC32F005系列用户手册Rev2.31.pdf new file mode 100644 index 0000000..717f2a0 Binary files /dev/null and b/docs/HC32F003系列_HC32F005系列用户手册Rev2.31.pdf differ diff --git a/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx b/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx index ecce23f..42f1d7f 100644 --- a/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx +++ b/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx @@ -10,20 +10,20 @@ gpio_output_Release 0x4 ARM-ADS - 6100001::V6.10.1::.\ARMCLANG + 6160000::V6.16::ARMCLANG 1 - ARMCM0P - ARM - ARM.CMSIS.5.4.0 - http://www.keil.com/pack/ - IROM(0x00000000,0x8000) IRAM(0x20000000,0x1000) CPUTYPE("Cortex-M0+") CLOCK(32000000) ESEL ELITTLE + HC32F005C6PA + HDSC + HDSC.HC32F005.1.0.1 + https://raw.githubusercontent.com/hdscmcu/pack/master/ + IRAM(0x20000000,0x1000) IROM(0x00000000,0x8000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE - UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0NEW_DEVICE -FS00 -FL040000 -FP0($$Device:ARMCM0P$Device\ARM\Flash\NEW_DEVICE.FLM)) + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0HC32F005 -FS00 -FL08000 -FP0($$Device:HC32F005C6PA$Flash\HC32F005.FLM)) 0 - $$Device:ARMCM0P$Device\ARM\ARMCM0plus\Include\ARMCM0plus.h + $$Device:HC32F005C6PA$Device\Include\HC32F005.h @@ -33,7 +33,7 @@ - ./../../../..\mcu\MDK\HC32F005.sfr + $$Device:HC32F005C6PA$SVD\HC32F005.SFR 1 0 @@ -138,7 +138,7 @@ 1 BIN\UL2CM3.DLL - "" () + @@ -185,11 +185,12 @@ 0 0 0 + 0 0 0 8 1 - 1 + 0 0 0 3 @@ -351,7 +352,7 @@ 0 0 0 - 0 + 4 @@ -423,24 +424,15 @@ ..\..\..\..\driver\src\sysctrl.c -gpio.c -1..\..\..\..\driver\src\gpio.c - + gpio.c + 1 + ..\..\..\..\driver\src\gpio.c + ::CMSIS - - README - - - readme.txt - 5 - ..\readme.txt - - - @@ -448,8 +440,8 @@ - - + + diff --git a/src/template/example/MDK/HC32F005C6UA.uvoptx b/src/template/example/MDK/HC32F005C6UA.uvoptx index 336886f..fc80460 100644 --- a/src/template/example/MDK/HC32F005C6UA.uvoptx +++ b/src/template/example/MDK/HC32F005C6UA.uvoptx @@ -10,7 +10,7 @@ *.s*; *.src; *.a* *.obj *.lib - *.txt; *.h; *.inc + *.txt; *.h; *.inc; *.md *.plm *.cpp 0 @@ -100,7 +100,10 @@ 1 0 0 - 6 + 1 + 0 + 0 + 4 @@ -158,10 +161,70 @@ 0 + 0 + 0 + + + + + + + + - + + common + 1 + 0 + 0 + 0 + + 1 + 1 + 2 + 0 + 0 + 0 + .\startup_hc32f005c6ua.s + startup_hc32f005c6ua.s + 0 + 0 + + + 1 + 2 + 1 + 0 + 0 + 0 + ..\..\common\system_hc32f005c6ua.c + system_hc32f005c6ua.c + 0 + 0 + + + + + source + 1 + 0 + 0 + 0 + + 2 + 3 + 1 + 0 + 0 + 0 + ..\source\main.c + main.c + 0 + 0 + + ::CMSIS diff --git a/src/template/example/MDK/HC32F005C6UA.uvprojx b/src/template/example/MDK/HC32F005C6UA.uvprojx index 7a2a351..46da990 100644 --- a/src/template/example/MDK/HC32F005C6UA.uvprojx +++ b/src/template/example/MDK/HC32F005C6UA.uvprojx @@ -10,12 +10,13 @@ HC32F005C6UA_Release 0x4 ARM-ADS - 5060020::V5.06 (build 20)::ARMCC + 5060960::V5.06 update 7 (build 960)::ARMCC + 0 ARMCM0P ARM - ARM.CMSIS.4.3.0 + ARM.CMSIS.5.7.0 http://www.keil.com/pack/ IROM(0x00000000,0x40000) IRAM(0x20000000,0x20000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ESEL ELITTLE @@ -125,47 +126,6 @@ 0 16 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - - - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - 0 - 1 - - 0 - 6 - - - - - - - - - - - - - - Segger\JL2CM3.dll - @@ -224,6 +184,8 @@ 0 0 0 + 0 + 0 0 0 8 @@ -313,7 +275,7 @@ 1 - 0x00000000 + 0x0 0x8000 @@ -364,11 +326,15 @@ 0 0 0 + 0 0 0 0 0 0 + 0 + 0 + 0 @@ -386,6 +352,7 @@ 0 0 0 + 1 diff --git a/src/template/example/source/main.c b/src/template/example/source/main.c index 3f6bde2..92021de 100644 --- a/src/template/example/source/main.c +++ b/src/template/example/source/main.c @@ -1,126 +1,9 @@ -/****************************************************************************** -* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -* -* This software is owned and published by: -* Huada Semiconductor Co.,Ltd ("HDSC"). -* -* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -* -* This software contains source code for use with HDSC -* components. This software is licensed by HDSC to be adapted only -* for use in systems utilizing HDSC components. HDSC shall not be -* responsible for misuse or illegal use of this software for devices not -* supported herein. HDSC is providing this software "AS IS" and will -* not be responsible for issues arising from incorrect user implementation -* of the software. -* -* Disclaimer: -* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -* WARRANTY OF NONINFRINGEMENT. -* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -* SAVINGS OR PROFITS, -* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -* FROM, THE SOFTWARE. -* -* This software may be replicated in part or whole for the licensed use, -* with the restriction that this Disclaimer and Copyright notice must be -* included with each copy of this software, whether used in part or whole, -* at all times. -*/ -//QȺ£º164973950 -//TEL£º024-85718900 -/******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 -/** \file main.c - ** - ** A detailed description is available at - ** @link Sample Group Some description @endlink - ** - ** - 2017-10-31 1.0 Lux First version - ** - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 -/****************************************************************************** - * Include files - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 #include "hc32f005c6ua.h" -/****************************************************************************** - * Local pre-processor symbols/macros ('#define') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 -/****************************************************************************** - * Global variable definitions (declared in header file with 'extern') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -/****************************************************************************** - * Local type definitions ('typedef') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -/****************************************************************************** - * Local function prototypes ('static') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -/****************************************************************************** - * Local variable definitions ('static') * - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -/****************************************************************************** - * Local pre-processor symbols/macros ('#define') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -/***************************************************************************** - * Function implementation - global ('extern') and local ('static') - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 -/** - ****************************************************************************** - ** \brief Main function of project - ** - ** \return uint32_t return value, if needed - ** - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 int32_t main(void) { while(1); } -/****************************************************************************** - * EOF (not truncated) - ******************************************************************************/ -//QȺ£º164973950 -//TEL£º024-85718900 - -