-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf532d1
commit db60fa1
Showing
28 changed files
with
2,215 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mcu:CH32V20X | ||
mcu:CH32V307 | ||
mcu:CXD56 | ||
mcu:F1C100S | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mcu:CH32V20X | ||
mcu:CH32V307 | ||
mcu:CXD56 | ||
mcu:F1C100S | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mcu:CH32V20X | ||
mcu:SAMD11 | ||
mcu:MKL25ZXX | ||
family:espressif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mcu:CH32V20X | ||
mcu:MSP430x5xx | ||
mcu:NUC121 | ||
mcu:SAMD11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef BOARD_H_ | ||
#define BOARD_H_ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#define LED_PORT GPIOA | ||
#define LED_PIN GPIO_Pin_15 | ||
#define LED_STATE_ON 0 | ||
#define LED_CLOCK_EN() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE) | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CFLAGS += \ | ||
-DCH32V20x_D6 | ||
|
||
SRC_S += \ | ||
$(CH32V20X_SDK_SRC)/Startup/startup_ch32v20x_D6.S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/********************************** (C) COPYRIGHT ******************************* | ||
* File Name : ch32v20x_conf.h | ||
* Author : WCH | ||
* Version : V1.0.0 | ||
* Date : 2021/06/06 | ||
* Description : Library configuration file. | ||
********************************************************************************* | ||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. | ||
* Attention: This software (modified or not) and binary are used for | ||
* microcontroller manufactured by Nanjing Qinheng Microelectronics. | ||
*******************************************************************************/ | ||
#ifndef __CH32V20x_CONF_H | ||
#define __CH32V20x_CONF_H | ||
|
||
#include "ch32v20x_adc.h" | ||
#include "ch32v20x_bkp.h" | ||
#include "ch32v20x_can.h" | ||
#include "ch32v20x_crc.h" | ||
#include "ch32v20x_dbgmcu.h" | ||
#include "ch32v20x_dma.h" | ||
#include "ch32v20x_exti.h" | ||
#include "ch32v20x_flash.h" | ||
#include "ch32v20x_gpio.h" | ||
#include "ch32v20x_i2c.h" | ||
#include "ch32v20x_iwdg.h" | ||
#include "ch32v20x_pwr.h" | ||
#include "ch32v20x_rcc.h" | ||
#include "ch32v20x_rtc.h" | ||
#include "ch32v20x_spi.h" | ||
#include "ch32v20x_tim.h" | ||
#include "ch32v20x_usart.h" | ||
#include "ch32v20x_wwdg.h" | ||
#include "ch32v20x_it.h" | ||
#include "ch32v20x_misc.h" | ||
|
||
#endif /* __CH32V20x_CONF_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/********************************** (C) COPYRIGHT ******************************* | ||
* File Name : ch32v20x_it.h | ||
* Author : WCH | ||
* Version : V1.0.0 | ||
* Date : 2021/06/06 | ||
* Description : This file contains the headers of the interrupt handlers. | ||
********************************************************************************* | ||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. | ||
* Attention: This software (modified or not) and binary are used for | ||
* microcontroller manufactured by Nanjing Qinheng Microelectronics. | ||
*******************************************************************************/ | ||
#ifndef __CH32V20x_IT_H | ||
#define __CH32V20x_IT_H | ||
|
||
#endif /* __CH32V20x_IT_H */ |
Oops, something went wrong.