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
# How to invoke: | |
# pyocd cmd --script nuvoton.py -c "ident" | |
# pyocd cmd --script nuvoton.py -c "read_config_regs" | |
# pyocd cmd --script nuvoton.py -c "write_config_regs 0xFFFFFFFF 0xFFFFFFFF" | |
# pyocd cmd --script nuvoton.py -c "chip_erase" | |
# | |
# and for the commander prompt, invoke it like this: | |
# pyocd cmd --script nuvoton.py | |
from pyocd.core.exceptions import TransferFaultError, TransferTimeoutError |
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
# OpenOCD script to demonstrate JTAG Boundary-Scan I/O | |
# It will blink the LED connected to Pin34 of VQ44 package. | |
# Supports XC2C64 and XC2C64A . | |
# See xc2c64_vq44.bsd or xc2c64a_vq44.bsd | |
# | |
# Invoke it like this: | |
# openocd -f interface/ftdi/openocd-usb.cfg -f XC2C64-Blink-Test.ctl | |
adapter speed 1000 | |
transport select jtag |
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
# OpenOCD script to demonstrate JTAG Boundary-Scan I/O | |
# It will update the state of LED connected to PC13 according to input level on PB2/BOOT1. | |
# Supports STM32F103x8 and STM32F103xB | |
# See STM32F1_Med_density_LQFP48.bsd | |
# | |
# Invoke it like this: | |
# openocd -f interface/usb-jtag.cfg -f STM32F1-PB2-to-PC13.tcl | |
jtag newtap stm32f1x cpu -irlen 4 -expected-id 0x3ba00477 | |
jtag newtap stm32f1x bs -irlen 5 -expected-id 0x06410041 -expected-id 0x16410041 |
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
{ | |
"name": "Dozen0", | |
"vendorId": "0x04D8", | |
"productId": "0xEA4F", | |
"lighting": "none", | |
"matrix": { | |
"rows": 1, | |
"cols": 12 | |
}, | |
"layouts": { |
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
#!/usr/bin/env python | |
# JR: made some very minor changes for python3 | |
import socket | |
import threading | |
import select | |
import sys | |
terminateAll = False |
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
{ | |
"name": "Tartan", | |
"vendorId": "0x16c0", | |
"productId": "0x27db", | |
"lighting": "none", | |
"matrix": { | |
"rows": 5, | |
"cols": 13 | |
}, | |
"layouts": { |
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
{ | |
"name": "Melgeek Z70Ultra", | |
"vendorProductId": 4277005805, | |
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
"layers": [ | |
[ | |
"KC_ESC", | |
"KC_1", | |
"KC_2", | |
"KC_3", |
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
# Housekeeping toolbox for OpenOCD targeting Nuvoton NUC126 | |
# by Ein Terakawa <[email protected]> | |
# | |
# based on TheLastMutt's mini51.cfg | |
# https://gist.github.com/TheLastMutt/d1c1948acaace7444c1c#file-mini51-cfg | |
# Usage example | |
# | |
# Read config regs. | |
# openocd -f NUC126.cfg -c ReadConfigRegs -c exit |
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
version: '3' | |
# This file should live in a directory about `qmk_api` and `qmk_compiler` | |
# Eventually we would have some sort of git subdir or something to contain | |
# this... For now, just cp (or symlink) it up a dir or something. | |
services: | |
qmk_conf: | |
build: ./qmk_configurator | |
ports: |
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
{ | |
// IntelliSense を使用して利用可能な属性を学べます。 | |
// 既存の属性の説明をホバーして表示します。 | |
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug", | |
"type": "gnu-debugger", | |
"request": "launch", |