forked from KMKfw/kmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hixan/update-master-2023-11-26
Update master 2023 11 26
- Loading branch information
Showing
313 changed files
with
9,863 additions
and
2,443 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
{ | ||
"name": "Python 3", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/python:1": {} | ||
}, | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "sudo apt update; sudo apt install -y aspell" | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
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,27 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG] Title" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
* Setup and configuration of the affected parts of the firmware (avoid copy-pasting the entire configuration if possible) | ||
* Setup and configuration of peripherals | ||
* Input: keys pressed, ... | ||
(Choose which are applicable.) | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Debug output** | ||
If applicable, add debug output from the serial console to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,20 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Question / Discussion | ||
url: https://kmkfw.zulipchat.com/#narrow/stream/358347-general | ||
about: Chat with KMK peeps and get support. | ||
- name: Feature Requests | ||
url: https://kmkfw.zulipchat.com/#narrow/stream/360458-feature-requests | ||
about: Feel like something is missing? Tell us about it! | ||
- name: Hardware / Drivers | ||
url: https://kmkfw.zulipchat.com/#narrow/stream/370377-drivers-and-hardware | ||
about: Something is not working on a hardware level? Get help here. | ||
- name: Development help | ||
url: https://kmkfw.zulipchat.com/#narrow/stream/384078-KMK-development | ||
about: Trying to implement something cool but got stuck? Ask here! | ||
- name: Showcase | ||
url: https://kmkfw.zulipchat.com/#narrow/stream/377887-showcase | ||
about: Show us what you made with KMK! Or look at what others are doing. | ||
- name: Documentation | ||
url: https://github.com/KMKfw/kmk_firmware/tree/master/docs/en | ||
about: Official KMK documentation |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[Enhancement] Title" | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,46 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: ['main', 'master'] | ||
paths: | ||
- 'kmk/**' | ||
env: | ||
mpy-cross-path: "https://adafruit-circuit-python.s3.amazonaws.com/bin/mpy-cross/" | ||
mpy-cross-name: "mpy-cross.static-amd64-linux-" | ||
mpy-cross-8-release: "8.0.5" | ||
jobs: | ||
Compile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "A ${{ github.event_name }} event trigged build of branch ${{ github.ref }}, repository ${{ github.repository }}" | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache mpy-cross | ||
id: cache-mpy-cross | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-mpy-cross-8 | ||
with: | ||
path: ${{ github.workspace }}/mpy-cross | ||
key: ${{ env.mpy-cross-name }}${{ env.mpy-cross-8-release }} | ||
- if: ${{ steps.cache-mpy-cross.outputs.cache-hit != 'true' }} | ||
name: install mpy-cross | ||
run: | | ||
wget --no-verbose "${{ env.mpy-cross-path }}${{ env.mpy-cross-name }}${{ env.mpy-cross-8-release }}" -O ${{ github.workspace }}/mpy-cross; \ | ||
chmod +x ${{ github.workspace }}/mpy-cross | ||
- name: get short git sha | ||
id: sha | ||
run: echo "SHA=`git rev-parse --short HEAD`" >> $GITHUB_OUTPUT | ||
|
||
- name: compile | ||
run: PATH=.:$PATH make compile | ||
- name: List build dir | ||
run: | | ||
ls -la .compiled/kmk/ | ||
- name: upload zip | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: kmk-${{ steps.sha.outputs.SHA }}+mpy-cross-${{ env.mpy-cross-8-release }} | ||
path: .compiled/kmk/ |
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,13 @@ | ||
name: Spellcheck | ||
on: | ||
push: | ||
paths: | ||
- '**.md' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sudo apt-get install aspell | ||
- run: make spellcheck |
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
Oops, something went wrong.