diff --git a/README.md b/README.md index 8c26a9e..36ea65a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [HC32F005](http://www.ti.com.cn/product/cn/HC32F005) 为Low Pin宽电压工作范围的MCU,12位1Msps采样SARADC内置运放 -[![sites](docs/HC32F005.png)](https://www.hdsc.com.cn/Category83-1499) +[![sites](docs/HC32F005.png)](https://www.hdsc.com.cn/Category83-1433) #### 关键特性 diff --git a/docs/HC32F005.png b/docs/HC32F005.png new file mode 100644 index 0000000..d11068f Binary files /dev/null and b/docs/HC32F005.png differ diff --git a/index.json b/index.json new file mode 100644 index 0000000..d02b51e --- /dev/null +++ b/index.json @@ -0,0 +1,50 @@ +{ + "name":"HC32F005", + "series":["HC32F005C6PA","HC32F005C6PB","HC32F003C4PB"], + "type":"MCU", + "Core":"Cortex-M0", + "Freq":"32MHz", + "description":"hdsc Cortex-M0 MCU", + "peripheral": ["ADC","IIC","UART","SPI","LDO","PWM"], + "package":["QFN20","SOP20","TSSOP20"], + "SRAM":4, + "Flash":32, + "DATA":128, + "UART": { + "num": 2, + "FIFO": 16, + "ISO7816": 1, + "more":["BUAD","LIN","IrDA"] + }, + "ADC": { + "num": 1, + "channel": 8, + "resolution": 12, + "rate": 2400 + }, + "TIM": { + "resolution":[16,16,16], + "rate": 1024 + }, + "PWR": { + "VDD": [2800,5000], + "Ivdd": 3.5, + "LDO": [5000,3300], + "rate": 1024 + }, + "PWM": { + "num": 2, + "resolution": 8, + "rate": 256 + }, + "upload": { + "ISP": true, + "IAP": true, + "SWD": true, + "speed": 115200 + }, + "vendor":"nuvoton", + "url":"http://www.SoC.xin/HC32F005", + "repo":"https://github.com/SoCXin/HC32F005", + "version":"1.0.0" +} diff --git a/src/gcc_template/Makefile b/src/gcc_template/Makefile index f49124c..24bcb0d 100644 --- a/src/gcc_template/Makefile +++ b/src/gcc_template/Makefile @@ -53,12 +53,12 @@ PERIFLIB_SOURCES = ####################################### # BINPATH = e:/gcc-arm-none-eabi-7-2018-q2-update-win32/bin PREFIX = arm-none-eabi- -CC = $(PREFIX)gcc.exe -AS = $(PREFIX)gcc.exe -x assembler-with-cpp -CP = $(PREFIX)objcopy.exe -AR = $(PREFIX)ar.exe -SZ = $(PREFIX)size.exe -GDB = $(PREFIX)gdb.exe +CC = $(PREFIX)gcc +AS = $(PREFIX)gcc -x assembler-with-cpp +CP = $(PREFIX)objcopy +AR = $(PREFIX)ar +SZ = $(PREFIX)size +GDB = $(PREFIX)gdb HEX = $(CP) -O ihex BIN = $(CP) -O binary -S