Skip to content

Commit 18bd726

Browse files
committed
drive name
1 parent b3e3789 commit 18bd726

7 files changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: build_mpy
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
name: Build
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
12+
- name: run build script
13+
run: make run
14+
15+
- name: look
16+
run: ls -la build_out/
17+
18+
- name: Archive
19+
uses: actions/upload-artifact@v3
20+
with:
21+
name: uf2
22+
path: build_out

board_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
board_dir="./bs_python_boards"
55
cpy_dir = "./cpy/circuitpython"
6-
build_script= "#!/bin/bash\nmake update-frozen-modules\n"
6+
build_script= '#!/bin/bash\nmake update-frozen-modules\necho "=============BUILDING================"\n'
77
post_build_script= "#!/bin/bash\n"
88
def generate_build_script():
99
build_script_path= f'{cpy_dir}/dockerbuildcmd.sh'

build_out/boardsource_blok.uf2

1.38 MB
Binary file not shown.
0 Bytes
Binary file not shown.

build_out/firmware.uf2

1.66 MB
Binary file not shown.

filesystem_backup.c

Whitespace-only changes.

misc_file_changes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ def supervisor_file():
1313
file_path = "./cpy/circuitpython/supervisor/supervisor.mk"
1414
find_and_replace_in_file(file_path,"CircuitPython","BsPython")
1515
find_and_replace_in_file(file_path,"circuitpython.org","github.com/boardsource/bs-python")
16-
16+
def filesystem_file():
17+
file_path = "./cpy/circuitpython/supervisor/shared/filesystem.c"
18+
find_and_replace_in_file(file_path,'"CIRCUITPY")','"BSPYTHON")')
19+
find_and_replace_in_file(file_path,"print(\"Hello World!\")\n","from kmk.json_keymap import JsonMap\nkeyboard = JsonMap(\"layout.json\").return_keyboard()\nif __name__ == \"__main__\":\n keyboard.go()\n")
1720
def do_all_the_changes():
1821
supervisor_file()
22+
filesystem_file()

0 commit comments

Comments
 (0)