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
{ | |
"packages": [ | |
{ | |
"name": "WCH", | |
"websiteURL": "https://www.wch.cn/", | |
"maintainer": "WCH", | |
"email": "tech@wch.cn", | |
"help": { | |
"online": "https://www.wch.cn/" | |
}, |
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
/* Copyright (C) 2015 Roger Clark <www.rogerclark.net> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* | |
* Utility to send the reset sequence on RTS and DTR and chars | |
* which resets the libmaple and causes the bootloader to be run |
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
#include "gd32f30x.h" | |
#define LEDPORT GPIOC | |
#define LEDPIN GPIO_PIN_13 | |
#define LED_CLOCK RCU_GPIOC | |
uint32_t getTimerClkFrequency(uint32_t instance) | |
{ | |
rcu_clock_freq_enum timerclkSrc = 0; | |
uint32_t APBx_PSC = 0; |
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
/* | |
// Para verificar a SRAM | |
#include <malloc.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
extern char _end; | |
extern "C" char *sbrk(int i); | |
char *ramstart=(char *)0x20070000; | |
char *ramend=(char *)0x20088000; |
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
{ | |
"framework-arduino-lpc176x": [ | |
{ | |
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.3.zip", | |
"version": "0.1.3" | |
}, | |
{ | |
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.2.zip", | |
"version": "0.1.2" | |
}, |