This file contains hidden or 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
{"lastUpload":"2019-06-25T11:48:36.195Z","extensionVersion":"v3.3.0"} |
This file contains hidden or 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
{ | |
"key": "alt+`", | |
"command": "workbench.action.terminal.focus", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+`", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, |
This file contains hidden or 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
#ifndef _JSON_NODE_H_ | |
#define _JSON_NODE_H_ | |
/* ************************************************************************** */ | |
/* JSON node type | |
The contents of a json_node_t(see below) are in a void pointer, and can't be | |
correctly deferenced without knowing what type to expect. This enum contains | |
all the possible types you can expect in a node. |
This file contains hidden or 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
#ifndef _JSON_PRINT_H_ | |
#define _JSON_PRINT_H_ | |
/* ************************************************************************** */ | |
/* json_node.h contains the definition of the json_node_t data structure and | |
its elements, as well as instructions and examples on how to construct your | |
own C representations for JSON objects. | |
*/ | |
#include "json_node.h" |
This file contains hidden or 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 "usb_json_hash.h" | |
#include "os/serial_port.h" | |
#include "os/shell/shell_command_processor.h" | |
#include <stdint.h> | |
#include <string.h> | |
/* ************************************************************************** */ | |
/* [[[cog | |
import cogutils as utils, codegen as code |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ | |
"type": "array", | |
"title": "Pins:", | |
"items": { | |
"type": "object", | |
"title": "Pin", | |
"required": [ | |
"name", | |
"port", | |
"pin", |
This file contains hidden or 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 "auto_start.h" | |
#include <stdint.h> | |
/* ************************************************************************** */ | |
// The linker defines these during compilation. | |
extern const char _Lauto_start[]; | |
extern const char _Hauto_start[]; | |
// Use those linker symbols to calculate how many functions are registered |
This file contains hidden or 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 "str_len.h" | |
/* ************************************************************************** */ | |
uint8_t str_len(char *string) { | |
char *cp = string; | |
while (*cp) { | |
cp++; | |
} |
This file contains hidden or 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
#ifndef _CONFIG_H_ | |
#define _CONFIG_H_ | |
/* ************************************************************************** */ | |
// CONFIG1L | |
#pragma config FEXTOSC = OFF // External Oscillator Selection->Oscillator not enabled | |
#pragma config RSTOSC = HFINTOSC_64MHZ // Reset Oscillator Selection->HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1 |
OlderNewer