From 022e235365c75eec4c7a008b0a2cf6be657263c5 Mon Sep 17 00:00:00 2001 From: V24473 Date: Sat, 19 Feb 2022 17:11:42 +0800 Subject: [PATCH] update --- .../adc/current_vref_value_check/.gitignore | 2 + .../adc/current_vref_value_check/.travis.yml | 67 +++ .../inc/at32f435_437_clock.h | 46 ++ .../inc/at32f435_437_conf.h | 174 ++++++ .../inc/at32f435_437_int.h | 58 ++ .../mdk_v5/current_vref_value_check.uvoptx | 368 +++++++++++++ .../mdk_v5/current_vref_value_check.uvprojx | 497 ++++++++++++++++++ .../current_vref_value_check/platformio.ini | 36 ++ .../adc/current_vref_value_check/readme.txt | 14 + .../src/at32f435_437_clock.c | 106 ++++ .../src/at32f435_437_int.c | 159 ++++++ .../adc/current_vref_value_check/src/main.c | 198 +++++++ .../examples/AT32F435/cmsis-blink/.gitignore | 1 + .../cmsis-blink/.vscode/c_cpp_properties.json | 48 -- .../cmsis-blink/.vscode/extensions.json | 10 - .../AT32F435/cmsis-blink/.vscode/launch.json | 44 -- .../cmsis-blink/.vscode/settings.json | 5 - .../usb_device/vcp_loopback/.gitignore | 1 + .../.vscode/c_cpp_properties.json | 55 -- .../vcp_loopback/.vscode/extensions.json | 10 - .../vcp_loopback/.vscode/launch.json | 44 -- .../vcp_loopback/.vscode/settings.json | 5 - .../at32/examples/cmsis-acd1_dma/.gitignore | 1 + .../.vscode/c_cpp_properties.json | 46 -- .../cmsis-acd1_dma/.vscode/extensions.json | 7 - .../cmsis-acd1_dma/.vscode/launch.json | 34 -- .../cmsis-acd1_dma/.vscode/settings.json | 5 - .../at32/examples/cmsis-acd1_dma/test/README | 11 - .../at32/examples/cmsis-blink/.gitignore | 1 + .../cmsis-blink/.vscode/c_cpp_properties.json | 48 -- .../cmsis-blink/.vscode/extensions.json | 10 - .../examples/cmsis-blink/.vscode/launch.json | 44 -- .../cmsis-blink/.vscode/settings.json | 5 - .../at32/examples/cmsis-blink/test/README | 11 - 34 files changed, 1729 insertions(+), 442 deletions(-) create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.gitignore create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.travis.yml create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_clock.h create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_conf.h create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_int.h create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvoptx create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvprojx create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/platformio.ini create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/readme.txt create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_clock.c create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_int.c create mode 100644 .platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/main.c delete mode 100644 .platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/c_cpp_properties.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/extensions.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/launch.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/settings.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/c_cpp_properties.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/extensions.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/launch.json delete mode 100644 .platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/settings.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/c_cpp_properties.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/extensions.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/launch.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/settings.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-acd1_dma/test/README delete mode 100644 .platformio/platforms/at32/examples/cmsis-blink/.vscode/c_cpp_properties.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-blink/.vscode/extensions.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-blink/.vscode/launch.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-blink/.vscode/settings.json delete mode 100644 .platformio/platforms/at32/examples/cmsis-blink/test/README diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.gitignore b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.gitignore new file mode 100644 index 0000000..3b8da3a --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.gitignore @@ -0,0 +1,2 @@ +.pio +.vscode \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.travis.yml b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.travis.yml new file mode 100644 index 0000000..7c486f1 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/.travis.yml @@ -0,0 +1,67 @@ +# Continuous Integration (CI) is the practice, in software +# engineering, of merging all developer working copies with a shared mainline +# several times a day < https://docs.platformio.org/page/ci/index.html > +# +# Documentation: +# +# * Travis CI Embedded Builds with PlatformIO +# < https://docs.travis-ci.com/user/integration/platformio/ > +# +# * PlatformIO integration with Travis CI +# < https://docs.platformio.org/page/ci/travis.html > +# +# * User Guide for `platformio ci` command +# < https://docs.platformio.org/page/userguide/cmd_ci.html > +# +# +# Please choose one of the following templates (proposed below) and uncomment +# it (remove "# " before each line) or use own configuration according to the +# Travis CI documentation (see above). +# + + +# +# Template #1: General project. Test it using existing `platformio.ini`. +# + +# language: python +# python: +# - "2.7" +# +# sudo: false +# cache: +# directories: +# - "~/.platformio" +# +# install: +# - pip install -U platformio +# - platformio update +# +# script: +# - platformio run + + +# +# Template #2: The project is intended to be used as a library with examples. +# + +# language: python +# python: +# - "2.7" +# +# sudo: false +# cache: +# directories: +# - "~/.platformio" +# +# env: +# - PLATFORMIO_CI_SRC=path/to/test/file.c +# - PLATFORMIO_CI_SRC=examples/file.ino +# - PLATFORMIO_CI_SRC=path/to/test/directory +# +# install: +# - pip install -U platformio +# - platformio update +# +# script: +# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_clock.h b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_clock.h new file mode 100644 index 0000000..39da81e --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_clock.h @@ -0,0 +1,46 @@ +/** + ************************************************************************** + * @file at32f435_437_clock.h + * @version v2.0.4 + * @date 2021-12-31 + * @brief header file of clock program + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +/* define to prevent recursive inclusion -------------------------------------*/ +#ifndef __AT32F435_437_CLOCK_H +#define __AT32F435_437_CLOCK_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* includes ------------------------------------------------------------------*/ +#include "at32f435_437.h" + +/* exported functions ------------------------------------------------------- */ +void system_clock_config(void); + +#ifdef __cplusplus +} +#endif + +#endif + diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_conf.h b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_conf.h new file mode 100644 index 0000000..4567d0d --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_conf.h @@ -0,0 +1,174 @@ +/** + ************************************************************************** + * @file at32f435_437_conf.h + * @version v2.0.4 + * @date 2021-12-31 + * @brief at32f435_437 config header file + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +/* define to prevent recursive inclusion -------------------------------------*/ +#ifndef __AT32F435_437_CONF_H +#define __AT32F435_437_CONF_H + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief in the following line adjust the value of high speed exernal crystal (hext) + * used in your application + * + * tip: to avoid modifying this file each time you need to use different hext, you + * can define the hext value in your toolchain compiler preprocessor. + * + */ +#if !defined HEXT_VALUE +#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */ +#endif + +/** + * @brief in the following line adjust the high speed exernal crystal (hext) startup + * timeout value + */ +#define HEXT_STARTUP_TIMEOUT ((uint16_t)0x3000) /*!< time out for hext start up */ +#define HICK_VALUE ((uint32_t)8000000) /*!< value of the high speed internal clock in hz */ + +/* module define -------------------------------------------------------------*/ +#define CRM_MODULE_ENABLED +#define TMR_MODULE_ENABLED +#define ERTC_MODULE_ENABLED +#define GPIO_MODULE_ENABLED +#define I2C_MODULE_ENABLED +#define USART_MODULE_ENABLED +#define PWC_MODULE_ENABLED +#define CAN_MODULE_ENABLED +#define ADC_MODULE_ENABLED +#define DAC_MODULE_ENABLED +#define SPI_MODULE_ENABLED +#define EDMA_MODULE_ENABLED +#define DMA_MODULE_ENABLED +#define DEBUG_MODULE_ENABLED +#define FLASH_MODULE_ENABLED +#define CRC_MODULE_ENABLED +#define WWDT_MODULE_ENABLED +#define WDT_MODULE_ENABLED +#define EXINT_MODULE_ENABLED +#define SDIO_MODULE_ENABLED +#define XMC_MODULE_ENABLED +#define USB_MODULE_ENABLED +#define ACC_MODULE_ENABLED +#define MISC_MODULE_ENABLED +#define QSPI_MODULE_ENABLED +#define DVP_MODULE_ENABLED +#define SCFG_MODULE_ENABLED +#define EMAC_MODULE_ENABLED + +/* includes ------------------------------------------------------------------*/ +#ifdef CRM_MODULE_ENABLED +#include "at32f435_437_crm.h" +#endif +#ifdef TMR_MODULE_ENABLED +#include "at32f435_437_tmr.h" +#endif +#ifdef ERTC_MODULE_ENABLED +#include "at32f435_437_ertc.h" +#endif +#ifdef GPIO_MODULE_ENABLED +#include "at32f435_437_gpio.h" +#endif +#ifdef I2C_MODULE_ENABLED +#include "at32f435_437_i2c.h" +#endif +#ifdef USART_MODULE_ENABLED +#include "at32f435_437_usart.h" +#endif +#ifdef PWC_MODULE_ENABLED +#include "at32f435_437_pwc.h" +#endif +#ifdef CAN_MODULE_ENABLED +#include "at32f435_437_can.h" +#endif +#ifdef ADC_MODULE_ENABLED +#include "at32f435_437_adc.h" +#endif +#ifdef DAC_MODULE_ENABLED +#include "at32f435_437_dac.h" +#endif +#ifdef SPI_MODULE_ENABLED +#include "at32f435_437_spi.h" +#endif +#ifdef DMA_MODULE_ENABLED +#include "at32f435_437_dma.h" +#endif +#ifdef DEBUG_MODULE_ENABLED +#include "at32f435_437_debug.h" +#endif +#ifdef FLASH_MODULE_ENABLED +#include "at32f435_437_flash.h" +#endif +#ifdef CRC_MODULE_ENABLED +#include "at32f435_437_crc.h" +#endif +#ifdef WWDT_MODULE_ENABLED +#include "at32f435_437_wwdt.h" +#endif +#ifdef WDT_MODULE_ENABLED +#include "at32f435_437_wdt.h" +#endif +#ifdef EXINT_MODULE_ENABLED +#include "at32f435_437_exint.h" +#endif +#ifdef SDIO_MODULE_ENABLED +#include "at32f435_437_sdio.h" +#endif +#ifdef XMC_MODULE_ENABLED +#include "at32f435_437_xmc.h" +#endif +#ifdef ACC_MODULE_ENABLED +#include "at32f435_437_acc.h" +#endif +#ifdef MISC_MODULE_ENABLED +#include "at32f435_437_misc.h" +#endif +#ifdef EDMA_MODULE_ENABLED +#include "at32f435_437_edma.h" +#endif +#ifdef QSPI_MODULE_ENABLED +#include "at32f435_437_qspi.h" +#endif +#ifdef SCFG_MODULE_ENABLED +#include "at32f435_437_scfg.h" +#endif +#ifdef EMAC_MODULE_ENABLED +#include "at32f435_437_emac.h" +#endif +#ifdef DVP_MODULE_ENABLED +#include "at32f435_437_dvp.h" +#endif +#ifdef USB_MODULE_ENABLED +#include "at32f435_437_usb.h" +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_int.h b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_int.h new file mode 100644 index 0000000..6671148 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/inc/at32f435_437_int.h @@ -0,0 +1,58 @@ +/** + ************************************************************************** + * @file at32f435_437_int.h + * @version v2.0.4 + * @date 2021-12-31 + * @brief header file of main interrupt service routines. + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +/* define to prevent recursive inclusion -------------------------------------*/ +#ifndef __AT32F435_437_INT_H +#define __AT32F435_437_INT_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* includes ------------------------------------------------------------------*/ +#include "at32f435_437.h" + +/* exported types ------------------------------------------------------------*/ +/* exported constants --------------------------------------------------------*/ +/* exported macro ------------------------------------------------------------*/ +/* exported functions ------------------------------------------------------- */ + +void NMI_Handler(void); +void HardFault_Handler(void); +void MemManage_Handler(void); +void BusFault_Handler(void); +void UsageFault_Handler(void); +void SVC_Handler(void); +void DebugMon_Handler(void); +void PendSV_Handler(void); +void SysTick_Handler(void); + +#ifdef __cplusplus +} +#endif + +#endif + diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvoptx b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvoptx new file mode 100644 index 0000000..5dd45f7 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvoptx @@ -0,0 +1,368 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj; *.o + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + 0 + + + + 0 + 0 + + + + current_vref_value_check + 0x4 + ARM-ADS + + 12000000 + + 0 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 1 + + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + + + + + + + + + + + BIN\CMSIS_AGDI.dll + + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F435_4032 -FS08000000 -FL03F0000 -FP0($$Device:-AT32F435ZMT7$Flash\AT32F435_4032.FLM)) + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + user + 0 + 0 + 0 + 0 + + 1 + 1 + 1 + 0 + 0 + 0 + ..\src\at32f435_437_clock.c + at32f435_437_clock.c + 0 + 0 + + + 1 + 2 + 1 + 0 + 0 + 0 + ..\src\at32f435_437_int.c + at32f435_437_int.c + 0 + 0 + + + 1 + 3 + 1 + 0 + 0 + 0 + ..\src\main.c + main.c + 0 + 0 + + + + + bsp + 0 + 0 + 0 + 0 + + 2 + 4 + 1 + 0 + 0 + 0 + ..\..\..\..\..\at32f435_437_board\at32f435_437_board.c + at32f435_437_board.c + 0 + 0 + + + + + firmware + 0 + 0 + 0 + 0 + + 3 + 5 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_gpio.c + at32f435_437_gpio.c + 0 + 0 + + + 3 + 6 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_misc.c + at32f435_437_misc.c + 0 + 0 + + + 3 + 7 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_crm.c + at32f435_437_crm.c + 0 + 0 + + + 3 + 8 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_dma.c + at32f435_437_dma.c + 0 + 0 + + + 3 + 9 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_adc.c + at32f435_437_adc.c + 0 + 0 + + + 3 + 10 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_usart.c + at32f435_437_usart.c + 0 + 0 + + + + + cmsis + 0 + 0 + 0 + 0 + + 4 + 11 + 1 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\cmsis\cm4\device_support\system_at32f435_437.c + system_at32f435_437.c + 0 + 0 + + + 4 + 12 + 2 + 0 + 0 + 0 + ..\..\..\..\..\..\libraries\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s + startup_at32f435_437.s + 0 + 0 + + + + + readme + 0 + 0 + 0 + 0 + + 5 + 13 + 5 + 0 + 0 + 0 + ..\readme.txt + readme.txt + 0 + 0 + + + +
diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvprojx b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvprojx new file mode 100644 index 0000000..a005667 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/mdk_v5/current_vref_value_check.uvprojx @@ -0,0 +1,497 @@ + + + + 2.1 + +
### uVision Project, (C) Keil Software
+ + + + current_vref_value_check + 0x4 + ARM-ADS + 5060750::V5.06 update 6 (build 750)::ARMCC + 0 + + + -AT32F435ZMT7 + ArteryTek + ArteryTek.AT32F435_437_DFP.2.0.1 + IRAM(0x20000000,0x60000) IROM(0x08000000,0x3F0000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F435_4032 -FS08000000 -FL03F0000 -FP0($$Device:-AT32F435ZMT7$Flash\AT32F435_4032.FLM)) + 0 + $$Device:- + + + + + + + + + + $$Device:-AT32F435ZMT7$SVD\AT32F435xx_v2.svd + 0 + 0 + + + + AT32F435ZMT7$Device\Include\at32f435_437.h\ + AT32F435ZMT7$Device\Include\at32f435_437.h\ + + 0 + 0 + 0 + 0 + 1 + + .\objects\ + current_vref_value_check + 1 + 0 + 1 + 1 + 1 + .\listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 0 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 8 + 1 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x60000 + + + 1 + 0x8000000 + 0x3f0000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x3f0000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x60000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 3 + 3 + 1 + 1 + 0 + 0 + 0 + + + AT32F435ZMT7,USE_STDPERIPH_DRIVER,AT_START_F435_V1 + + ..\inc;..\..\..\..\..\at32f435_437_board;..\..\..\..\..\..\libraries\cmsis\cm4\core_support;..\..\..\..\..\..\libraries\cmsis\cm4\device_support;..\..\..\..\..\..\libraries\drivers\inc + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x08000000 + 0x20000000 + + + + + + + + + + + + + user + + + at32f435_437_clock.c + 1 + ..\src\at32f435_437_clock.c + + + at32f435_437_int.c + 1 + ..\src\at32f435_437_int.c + + + main.c + 1 + ..\src\main.c + + + + + bsp + + + at32f435_437_board.c + 1 + ..\..\..\..\..\at32f435_437_board\at32f435_437_board.c + + + + + firmware + + + at32f435_437_gpio.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_gpio.c + + + at32f435_437_misc.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_misc.c + + + at32f435_437_crm.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_crm.c + + + at32f435_437_dma.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_dma.c + + + at32f435_437_adc.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_adc.c + + + at32f435_437_usart.c + 1 + ..\..\..\..\..\..\libraries\drivers\src\at32f435_437_usart.c + + + + + cmsis + + + system_at32f435_437.c + 1 + ..\..\..\..\..\..\libraries\cmsis\cm4\device_support\system_at32f435_437.c + + + startup_at32f435_437.s + 2 + ..\..\..\..\..\..\libraries\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s + + + + + readme + + + readme.txt + 5 + ..\readme.txt + + + + + + + + + + + + + + + + + <Project Info> + + + + + + 0 + 1 + + + + +
diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/platformio.ini b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/platformio.ini new file mode 100644 index 0000000..ff131a2 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/platformio.ini @@ -0,0 +1,36 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter, extra scripting +; Upload options: custom port, speed and extra flags +; Library options: dependencies, extra library storages +; +; Please visit documentation for the other options and examples +; http://docs.platformio.org/page/projectconf.html + +[env:current_vref_value_check] +platform = at32 +framework = cmsis +board = generic_f435 +build_flags = -I include +monitor_speed = 115200 ;serial monitor baudrate + +;Use the following for jlink upload +upload_protocol = jlink + +;Use the following for serial upload via bootloader (PA9, PA10) +;upload_protocol = serial +;upload_speed = 115200 ;default: 115200 + +;Use the following for DFU upload via USB port +;upload_protocol = dfu +;build_flags = +; -DDFU_MODE +; -UVECT_TAB_OFFSET +; -DUSER_VECT_TAB_ADDRESS +; -DVECT_TAB_OFFSET=0x2000 ; override default vector tale to support ISR table for DFU mode + +;Use the following for custom uploader +;upload_protocol = custom +;upload_port = COM16 +;upload_speed = 115200 +;upload_command = ${platformio.packages_dir}/framework-cmsis-at32f40/tools/stm32flash/stm32flash -b $UPLOAD_SPEED -w $SOURCE -g 0x8000000 $UPLOAD_PORT \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/readme.txt b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/readme.txt new file mode 100644 index 0000000..ec17c3f --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/readme.txt @@ -0,0 +1,14 @@ +/** + ************************************************************************** + * @file readme.txt + * @version v2.0.4 + * @date 2021-12-31 + * @brief readme + ************************************************************************** + */ + + this demo is based on the at-start board, in this demo, shows how to use + the adc1 internal channel17 to check vref value. + the trigger source is software + the convert data as follow: + - adc1_ordinary_value ---> adc1_channel_17 diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_clock.c b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_clock.c new file mode 100644 index 0000000..b9142ed --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_clock.c @@ -0,0 +1,106 @@ +/** + ************************************************************************** + * @file at32f435_437_clock.c + * @version v2.0.4 + * @date 2021-12-31 + * @brief system clock config program + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +/* includes ------------------------------------------------------------------*/ +#include "at32f435_437_clock.h" + +/** + * @brief system clock config program + * @note the system clock is configured as follow: + * - system clock = (hext * pll_ns)/(pll_ms * pll_fr) + * - system clock source = pll (hext) + * - hext = 8000000 + * - sclk = 288000000 + * - ahbdiv = 1 + * - ahbclk = 288000000 + * - apb2div = 2 + * - apb2clk = 144000000 + * - apb1div = 2 + * - apb1clk = 144000000 + * - pll_ns = 72 + * - pll_ms = 1 + * - pll_fr = 2 + * @param none + * @retval none + */ +void system_clock_config(void) +{ + /* enable pwc periph clock */ + crm_periph_clock_enable(CRM_PWC_PERIPH_CLOCK, TRUE); + + /* config ldo voltage */ + pwc_ldo_output_voltage_set(PWC_LDO_OUTPUT_1V3); + + /* set the flash clock divider */ + flash_clock_divider_set(FLASH_CLOCK_DIV_3); + + /* reset crm */ + crm_reset(); + + crm_clock_source_enable(CRM_CLOCK_SOURCE_HEXT, TRUE); + + /* wait till hext is ready */ + while(crm_hext_stable_wait() == ERROR) + { + } + + /* config pll clock resource */ + crm_pll_config(CRM_PLL_SOURCE_HEXT, 72, 1, CRM_PLL_FR_2); + + /* enable pll */ + crm_clock_source_enable(CRM_CLOCK_SOURCE_PLL, TRUE); + + /* wait till pll is ready */ + while(crm_flag_get(CRM_PLL_STABLE_FLAG) != SET) + { + } + + /* config ahbclk */ + crm_ahb_div_set(CRM_AHB_DIV_1); + + /* config apb2clk */ + crm_apb2_div_set(CRM_APB2_DIV_2); + + /* config apb1clk */ + crm_apb1_div_set(CRM_APB1_DIV_2); + + /* enable auto step mode */ + crm_auto_step_mode_enable(TRUE); + + /* select pll as system clock source */ + crm_sysclk_switch(CRM_SCLK_PLL); + + /* wait till pll is used as system clock source */ + while(crm_sysclk_switch_status_get() != CRM_SCLK_PLL) + { + } + + /* disable auto step mode */ + crm_auto_step_mode_enable(FALSE); + + /* update system_core_clock global variable */ + system_core_clock_update(); +} diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_int.c b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_int.c new file mode 100644 index 0000000..4bd4406 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/at32f435_437_int.c @@ -0,0 +1,159 @@ +/** + ************************************************************************** + * @file at32f435_437_int.c + * @version v2.0.4 + * @date 2021-12-31 + * @brief main interrupt service routines. + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +/* includes ------------------------------------------------------------------*/ +#include "at32f435_437_int.h" + +/** @addtogroup AT32F435_periph_examples + * @{ + */ + +/** @addtogroup 435_ADC_current_vref_value_check + * @{ + */ + + +extern __IO uint32_t adc1_overflow_flag; + +/** + * @brief this function handles nmi exception. + * @param none + * @retval none + */ +void NMI_Handler(void) +{ +} + +/** + * @brief this function handles hard fault exception. + * @param none + * @retval none + */ +void HardFault_Handler(void) +{ + /* go to infinite loop when hard fault exception occurs */ + while(1) + { + } +} + +/** + * @brief this function handles memory manage exception. + * @param none + * @retval none + */ +void MemManage_Handler(void) +{ + /* go to infinite loop when memory manage exception occurs */ + while(1) + { + } +} + +/** + * @brief this function handles bus fault exception. + * @param none + * @retval none + */ +void BusFault_Handler(void) +{ + /* go to infinite loop when bus fault exception occurs */ + while(1) + { + } +} + +/** + * @brief this function handles usage fault exception. + * @param none + * @retval none + */ +void UsageFault_Handler(void) +{ + /* go to infinite loop when usage fault exception occurs */ + while(1) + { + } +} + +/** + * @brief this function handles svcall exception. + * @param none + * @retval none + */ +void SVC_Handler(void) +{ +} + +/** + * @brief this function handles debug monitor exception. + * @param none + * @retval none + */ +void DebugMon_Handler(void) +{ +} + +/** + * @brief this function handles pendsv_handler exception. + * @param none + * @retval none + */ +void PendSV_Handler(void) +{ +} + +/** + * @brief this function handles systick handler. + * @param none + * @retval none + */ +void SysTick_Handler(void) +{ +} + +/** + * @brief this function handles adc1_2_3 handler. + * @param none + * @retval none + */ +void ADC1_2_3_IRQHandler(void) +{ + if(adc_flag_get(ADC1, ADC_OCCO_FLAG) != RESET) + { + adc_flag_clear(ADC1, ADC_OCCO_FLAG); + adc1_overflow_flag++; + } +} + +/** + * @} + */ + +/** + * @} + */ + diff --git a/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/main.c b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/main.c new file mode 100644 index 0000000..689e819 --- /dev/null +++ b/.platformio/platforms/at32/examples/AT32F435/adc/current_vref_value_check/src/main.c @@ -0,0 +1,198 @@ +/** + ************************************************************************** + * @file main.c + * @version v2.0.4 + * @date 2021-12-31 + * @brief main program + ************************************************************************** + * Copyright notice & Disclaimer + * + * The software Board Support Package (BSP) that is made available to + * download from Artery official website is the copyrighted work of Artery. + * Artery authorizes customers to use, copy, and distribute the BSP + * software and its related documentation for the purpose of design and + * development in conjunction with Artery microcontrollers. Use of the + * software is governed by this copyright notice and the following disclaimer. + * + * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES, + * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS, + * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR + * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS, + * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. + * + ************************************************************************** + */ + +#include "at32f435_437_board.h" +#include "at32f435_437_clock.h" + +/** @addtogroup AT32F435_periph_examples + * @{ + */ + +/** @addtogroup 435_ADC_current_vref_value_check ADC_current_vref_value_check + * @{ + */ + +__IO uint16_t adc1_ordinary_value = 0; +__IO uint32_t adc1_overflow_flag = 0; + +static void dma_config(void); +static void adc_config(void); + +/** + * @brief dma configuration. + * @param none + * @retval none + */ +static void dma_config(void) +{ + dma_init_type dma_init_struct; + crm_periph_clock_enable(CRM_DMA1_PERIPH_CLOCK, TRUE); + nvic_irq_enable(DMA1_Channel1_IRQn, 0, 0); + + dma_reset(DMA1_CHANNEL1); + dma_default_para_init(&dma_init_struct); + dma_init_struct.buffer_size = 1; + dma_init_struct.direction = DMA_DIR_PERIPHERAL_TO_MEMORY; + dma_init_struct.memory_base_addr = (uint32_t)&adc1_ordinary_value; + dma_init_struct.memory_data_width = DMA_MEMORY_DATA_WIDTH_HALFWORD; + dma_init_struct.memory_inc_enable = FALSE; + dma_init_struct.peripheral_base_addr = (uint32_t)&(ADC1->odt); + dma_init_struct.peripheral_data_width = DMA_PERIPHERAL_DATA_WIDTH_HALFWORD; + dma_init_struct.peripheral_inc_enable = FALSE; + dma_init_struct.priority = DMA_PRIORITY_HIGH; + dma_init_struct.loop_mode_enable = TRUE; + dma_init(DMA1_CHANNEL1, &dma_init_struct); + + dmamux_enable(DMA1, TRUE); + dmamux_init(DMA1MUX_CHANNEL1, DMAMUX_DMAREQ_ID_ADC1); + + /* disable dma transfer complete interrupt */ + dma_interrupt_enable(DMA1_CHANNEL1, DMA_FDT_INT, FALSE); + dma_channel_enable(DMA1_CHANNEL1, TRUE); +} + +/** + * @brief adc configuration. + * @param none + * @retval none + */ +static void adc_config(void) +{ + adc_common_config_type adc_common_struct; + adc_base_config_type adc_base_struct; + crm_periph_clock_enable(CRM_ADC1_PERIPH_CLOCK, TRUE); + nvic_irq_enable(ADC1_2_3_IRQn, 0, 0); + + adc_common_default_para_init(&adc_common_struct); + + /* config combine mode */ + adc_common_struct.combine_mode = ADC_INDEPENDENT_MODE; + + /* config division,adcclk is division by hclk */ + adc_common_struct.div = ADC_HCLK_DIV_4; + + /* config common dma mode,it's not useful in independent mode */ + adc_common_struct.common_dma_mode = ADC_COMMON_DMAMODE_DISABLE; + + /* config common dma request repeat */ + adc_common_struct.common_dma_request_repeat_state = FALSE; + + /* config adjacent adc sampling interval,it's useful for ordinary shifting mode */ + adc_common_struct.sampling_interval = ADC_SAMPLING_INTERVAL_5CYCLES; + + /* config inner temperature sensor and vintrv */ + adc_common_struct.tempervintrv_state = TRUE; + + /* config voltage battery */ + adc_common_struct.vbat_state = FALSE; + adc_common_config(&adc_common_struct); + + adc_base_default_para_init(&adc_base_struct); + + adc_base_struct.sequence_mode = FALSE; + adc_base_struct.repeat_mode = FALSE; + adc_base_struct.data_align = ADC_RIGHT_ALIGNMENT; + adc_base_struct.ordinary_channel_length = 1; + adc_base_config(ADC1, &adc_base_struct); + adc_resolution_set(ADC1, ADC_RESOLUTION_12B); + + /* config ordinary channel */ + adc_ordinary_channel_set(ADC1, ADC_CHANNEL_17, 1, ADC_SAMPLETIME_92_5); + + /* config ordinary trigger source and trigger edge */ + adc_ordinary_conversion_trigger_set(ADC1, ADC_ORDINARY_TRIG_TMR1CH1, ADC_ORDINARY_TRIG_EDGE_NONE); + + /* config dma mode,it's not useful when common dma mode is use */ + adc_dma_mode_enable(ADC1, TRUE); + + /* config dma request repeat,it's not useful when common dma mode is use */ + adc_dma_request_repeat_enable(ADC1, TRUE); + + /* enable adc overflow interrupt */ + adc_interrupt_enable(ADC1, ADC_OCCO_INT, TRUE); + + /* adc enable */ + adc_enable(ADC1, TRUE); + while(adc_flag_get(ADC1, ADC_RDY_FLAG) == RESET); + + /* adc calibration */ + adc_calibration_init(ADC1); + while(adc_calibration_init_status_get(ADC1)); + adc_calibration_start(ADC1); + while(adc_calibration_status_get(ADC1)); +} + +/** + * @brief main function. + * @param none + * @retval none + */ +int main(void) +{ + __IO uint32_t index = 0; + nvic_priority_group_config(NVIC_PRIORITY_GROUP_4); + + /* config the system clock */ + system_clock_config(); + + /* init at start board */ + at32_board_init(); + at32_led_off(LED2); + at32_led_off(LED3); + at32_led_off(LED4); + uart_print_init(115200); + dma_config(); + adc_config(); + printf("adc1_vref_check \r\n"); + + while(1) + { + at32_led_toggle(LED2); + delay_sec(1); + /* adc1 software trigger start conversion */ + adc_ordinary_software_trigger_enable(ADC1, TRUE); + while(dma_flag_get(DMA1_FDT1_FLAG) == RESET); + dma_flag_clear(DMA1_FDT1_FLAG); + printf("vref_value = %f V\r\n", ((double)1.2 * 4095) / adc1_ordinary_value); + if(adc1_overflow_flag != 0) + { + /* printf flag when error occur */ + at32_led_on(LED3); + at32_led_on(LED4); + printf("error occur\r\n"); + printf("adc1_overflow_flag = %d\r\n",adc1_overflow_flag); + } + } +} + +/** + * @} + */ + +/** + * @} + */ + diff --git a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.gitignore b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.gitignore index 03f4a3c..3b8da3a 100644 --- a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.gitignore +++ b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.gitignore @@ -1 +1,2 @@ .pio +.vscode \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/c_cpp_properties.json b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/c_cpp_properties.json deleted file mode 100644 index c8df498..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,48 +0,0 @@ -// -// !!! WARNING !!! AUTO-GENERATED FILE! -// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": -// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags -// -{ - "configurations": [ - { - "name": "PlatformIO", - "includePath": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/lib/Delay", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/Include", - "" - ], - "browse": { - "limitSymbolsToIncludedHeaders": true, - "path": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/lib/Delay", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/Include", - "" - ] - }, - "defines": [ - "PLATFORMIO=50205", - "AT32F435CGT7", - "" - ], - "cStandard": "c11", - "compilerPath": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin/arm-none-eabi-gcc.exe", - "compilerArgs": [ - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "-mcpu=cortex-m4", - "-mthumb", - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "" - ] - } - ], - "version": 4 -} diff --git a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/extensions.json b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/extensions.json deleted file mode 100644 index 080e70d..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/extensions.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ], - "unwantedRecommendations": [ - "ms-vscode.cpptools-extension-pack" - ] -} diff --git a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/launch.json b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/launch.json deleted file mode 100644 index eb4ff76..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/launch.json +++ /dev/null @@ -1,44 +0,0 @@ -// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY -// -// PIO Unified Debugger -// -// Documentation: https://docs.platformio.org/page/plus/debugging.html -// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html - -{ - "version": "0.2.0", - "configurations": [ - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/.pio/build/generic_f435/firmware.elf", - "projectEnvName": "generic_f435", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "preLaunchTask": { - "type": "PlatformIO", - "task": "Pre-Debug" - } - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (skip Pre-Debug)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/.pio/build/generic_f435/firmware.elf", - "projectEnvName": "generic_f435", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (without uploading)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/F435-cmsis-blink/.pio/build/generic_f435/firmware.elf", - "projectEnvName": "generic_f435", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "loadMode": "manual" - } - ] -} diff --git a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/settings.json b/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/settings.json deleted file mode 100644 index 9ae3c94..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/cmsis-blink/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "at32f4xx.h": "c" - } -} \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.gitignore b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.gitignore index 03f4a3c..b9f3806 100644 --- a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.gitignore +++ b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.gitignore @@ -1 +1,2 @@ .pio +.vscode diff --git a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/c_cpp_properties.json b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/c_cpp_properties.json deleted file mode 100644 index 89ff1e2..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,55 +0,0 @@ -// -// !!! WARNING !!! AUTO-GENERATED FILE! -// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": -// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags -// -{ - "configurations": [ - { - "name": "PlatformIO", - "includePath": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/lib/cdc", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F43x_StdPeriph_Driver/include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F43x_USB-Device_Driver/include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F435_437_board", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/Include", - "" - ], - "browse": { - "limitSymbolsToIncludedHeaders": true, - "path": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/lib/cdc", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F43x_StdPeriph_Driver/include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F43x_USB-Device_Driver/include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/libraries/AT32F435_437_board", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f43/Include", - "" - ] - }, - "defines": [ - "PLATFORMIO=50205", - "AT32F435CGT7", - "AT_START_F435_V1", - "" - ], - "cStandard": "c11", - "compilerPath": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin/arm-none-eabi-gcc.exe", - "compilerArgs": [ - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "-mcpu=cortex-m4", - "-mthumb", - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "" - ] - } - ], - "version": 4 -} diff --git a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/extensions.json b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/extensions.json deleted file mode 100644 index 080e70d..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/extensions.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ], - "unwantedRecommendations": [ - "ms-vscode.cpptools-extension-pack" - ] -} diff --git a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/launch.json b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/launch.json deleted file mode 100644 index 9edd763..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/launch.json +++ /dev/null @@ -1,44 +0,0 @@ -// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY -// -// PIO Unified Debugger -// -// Documentation: https://docs.platformio.org/page/plus/debugging.html -// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html - -{ - "version": "0.2.0", - "configurations": [ - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.pio/build/vcp_loopback/firmware.elf", - "projectEnvName": "vcp_loopback", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "preLaunchTask": { - "type": "PlatformIO", - "task": "Pre-Debug" - } - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (skip Pre-Debug)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.pio/build/vcp_loopback/firmware.elf", - "projectEnvName": "vcp_loopback", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (without uploading)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.pio/build/vcp_loopback/firmware.elf", - "projectEnvName": "vcp_loopback", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "loadMode": "manual" - } - ] -} diff --git a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/settings.json b/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/settings.json deleted file mode 100644 index 9ae3c94..0000000 --- a/.platformio/platforms/at32/examples/AT32F435/usb_device/vcp_loopback/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "at32f4xx.h": "c" - } -} \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.gitignore b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.gitignore index 03f4a3c..3b8da3a 100644 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.gitignore +++ b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.gitignore @@ -1 +1,2 @@ .pio +.vscode \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/c_cpp_properties.json b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/c_cpp_properties.json deleted file mode 100644 index cea2fd0..0000000 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,46 +0,0 @@ -// -// !!! WARNING !!! AUTO-GENERATED FILE! -// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": -// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags -// -{ - "configurations": [ - { - "name": "PlatformIO", - "includePath": [ - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/include", - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/src", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f40/Include", - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/lib/Delay", - "" - ], - "browse": { - "limitSymbolsToIncludedHeaders": true, - "path": [ - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/include", - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/src", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f40/Include", - "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/lib/Delay", - "" - ] - }, - "defines": [ - "PLATFORMIO=50200", - "AT32F403ACGT7", - "" - ], - "cStandard": "c11", - "compilerPath": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin/arm-none-eabi-gcc.exe", - "compilerArgs": [ - "-mcpu=cortex-m4", - "-mthumb", - "-mcpu=cortex-m4", - "-mthumb", - "" - ] - } - ], - "version": 4 -} diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/extensions.json b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/extensions.json deleted file mode 100644 index e80666b..0000000 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/extensions.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ] -} diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/launch.json b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/launch.json deleted file mode 100644 index 550195f..0000000 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/launch.json +++ /dev/null @@ -1,34 +0,0 @@ -// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY -// -// PIO Unified Debugger -// -// Documentation: https://docs.platformio.org/page/plus/debugging.html -// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html - -{ - "version": "0.2.0", - "configurations": [ - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug", - "executable": "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/.pio/build/generic f403a/firmware.elf", - "projectEnvName": "generic f403a", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "preLaunchTask": { - "type": "PlatformIO", - "task": "Pre-Debug" - } - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (skip Pre-Debug)", - "executable": "C:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-acd1_dma/.pio/build/generic f403a/firmware.elf", - "projectEnvName": "generic f403a", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart" - } - ] -} diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/settings.json b/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/settings.json deleted file mode 100644 index 9ae3c94..0000000 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "at32f4xx.h": "c" - } -} \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/cmsis-acd1_dma/test/README b/.platformio/platforms/at32/examples/cmsis-acd1_dma/test/README deleted file mode 100644 index df5066e..0000000 --- a/.platformio/platforms/at32/examples/cmsis-acd1_dma/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/.platformio/platforms/at32/examples/cmsis-blink/.gitignore b/.platformio/platforms/at32/examples/cmsis-blink/.gitignore index 03f4a3c..3b8da3a 100644 --- a/.platformio/platforms/at32/examples/cmsis-blink/.gitignore +++ b/.platformio/platforms/at32/examples/cmsis-blink/.gitignore @@ -1 +1,2 @@ .pio +.vscode \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/c_cpp_properties.json b/.platformio/platforms/at32/examples/cmsis-blink/.vscode/c_cpp_properties.json deleted file mode 100644 index f2dba01..0000000 --- a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,48 +0,0 @@ -// -// !!! WARNING !!! AUTO-GENERATED FILE! -// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": -// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags -// -{ - "configurations": [ - { - "name": "PlatformIO", - "includePath": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/lib/Delay", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f40/Include", - "" - ], - "browse": { - "limitSymbolsToIncludedHeaders": true, - "path": [ - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/include", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/src", - "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/lib/Delay", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis@2.50501.200527/CMSIS/Include", - "C:/Users/Xliloz/.platformio/packages/framework-cmsis-at32f40/Include", - "" - ] - }, - "defines": [ - "PLATFORMIO=50205", - "AT32F403ACGT7", - "" - ], - "cStandard": "c11", - "compilerPath": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin/arm-none-eabi-gcc.exe", - "compilerArgs": [ - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "-mcpu=cortex-m4", - "-mthumb", - "-mfpu=fpv4-sp-d16", - "-mfloat-abi=hard", - "" - ] - } - ], - "version": 4 -} diff --git a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/extensions.json b/.platformio/platforms/at32/examples/cmsis-blink/.vscode/extensions.json deleted file mode 100644 index 080e70d..0000000 --- a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/extensions.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ], - "unwantedRecommendations": [ - "ms-vscode.cpptools-extension-pack" - ] -} diff --git a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/launch.json b/.platformio/platforms/at32/examples/cmsis-blink/.vscode/launch.json deleted file mode 100644 index 2bbedcb..0000000 --- a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/launch.json +++ /dev/null @@ -1,44 +0,0 @@ -// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY -// -// PIO Unified Debugger -// -// Documentation: https://docs.platformio.org/page/plus/debugging.html -// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html - -{ - "version": "0.2.0", - "configurations": [ - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/.pio/build/generic_f403a/firmware.elf", - "projectEnvName": "generic_f403a", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "preLaunchTask": { - "type": "PlatformIO", - "task": "Pre-Debug" - } - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (skip Pre-Debug)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/.pio/build/generic_f403a/firmware.elf", - "projectEnvName": "generic_f403a", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (without uploading)", - "executable": "c:/Users/Xliloz/.platformio/platforms/at32/examples/cmsis-blink/.pio/build/generic_f403a/firmware.elf", - "projectEnvName": "generic_f403a", - "toolchainBinDir": "C:/Users/Xliloz/.platformio/packages/toolchain-gccarmnoneeabi@1.70201.0/bin", - "internalConsoleOptions": "openOnSessionStart", - "loadMode": "manual" - } - ] -} diff --git a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/settings.json b/.platformio/platforms/at32/examples/cmsis-blink/.vscode/settings.json deleted file mode 100644 index 9ae3c94..0000000 --- a/.platformio/platforms/at32/examples/cmsis-blink/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "at32f4xx.h": "c" - } -} \ No newline at end of file diff --git a/.platformio/platforms/at32/examples/cmsis-blink/test/README b/.platformio/platforms/at32/examples/cmsis-blink/test/README deleted file mode 100644 index df5066e..0000000 --- a/.platformio/platforms/at32/examples/cmsis-blink/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html