Skip to content

Commit

Permalink
split hex file in v1/v2 to avoid download failure in robot
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Nov 8, 2023
1 parent 55b7a02 commit 77a694d
Show file tree
Hide file tree
Showing 35 changed files with 366,488 additions and 219,995 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/makecode-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,7 @@ jobs:
- name: build robot
run: |
cd robot
makecode
makecode -c mkc-elecfreakscutebot.json
cp ./built/binary.hex ../assets/microcode-robot-elecfreaks-cutebot.hex
makecode -c mkc-elecfreakscutebotpro.json
cp ./built/binary.hex ../assets/microcode-robot-elecfreaks-cutebotpro.hex
makecode -c mkc-yahboomtinybit.json
cp ./built/binary.hex ../assets/microcode-robot-yahboom-tinybit.hex
makecode -c mkc-keystudiominismartrobot.json
cp ./built/binary.hex ../assets/microcode-robot-keystudio-minismartrobot.hex
makecode -c mkc-dfrobotmaqueen.json
cp ./built/binary.hex ../assets/microcode-robot-dfrobot-maqueen.hex
makecode -c mkc-dfrobotmaqueenplusv2.json
cp ./built/binary.hex ../assets/microcode-robot-dfrobot-maqueen-plus-v2.hex
makecode -c mkc-kittenbotminilfr.json
cp ./built/binary.hex ../assets/microcode-robot-kittenbot-minilfr.hex
makecode -c mkc-kittenbotnanobit.json
cp ./built/binary.hex ../assets/microcode-robot-kittenbot-nanobit.hex
makecode -c mkc-kittenbotrobotbit.json
cp ./built/binary.hex ../assets/microcode-robot-kittenbot-robotbit.hex
makecode -c mkc-inksmithk8.json
cp ./built/binary.hex ../assets/microcode-robot-inksmith-k8.hex
sh mkhex.sh
- name: copy files
run: |
cp ./built/binary.js ./assets/js/binary.js
Expand Down
18,320 changes: 0 additions & 18,320 deletions assets/microcode-robot-dfrobot-maqueen-plus-v2.hex

This file was deleted.

18,313 changes: 0 additions & 18,313 deletions assets/microcode-robot-dfrobot-maqueen.hex

This file was deleted.

18,359 changes: 0 additions & 18,359 deletions assets/microcode-robot-elecfreaks-cutebot.hex

This file was deleted.

18,345 changes: 0 additions & 18,345 deletions assets/microcode-robot-elecfreaks-cutebotpro.hex

This file was deleted.

18,294 changes: 0 additions & 18,294 deletions assets/microcode-robot-inksmith-k8.hex

This file was deleted.

18,380 changes: 0 additions & 18,380 deletions assets/microcode-robot-keystudio-minismartrobot.hex

This file was deleted.

18,332 changes: 0 additions & 18,332 deletions assets/microcode-robot-kittenbot-minilfr.hex

This file was deleted.

18,299 changes: 0 additions & 18,299 deletions assets/microcode-robot-kittenbot-nanobit.hex

This file was deleted.

18,409 changes: 0 additions & 18,409 deletions assets/microcode-robot-kittenbot-robotbit.hex

This file was deleted.

18,393 changes: 0 additions & 18,393 deletions assets/microcode-robot-yahboom-tinybit.hex

This file was deleted.

18,126 changes: 0 additions & 18,126 deletions assets/robot-cutebot.hex

This file was deleted.

18,395 changes: 0 additions & 18,395 deletions assets/robot-tinybit.hex

This file was deleted.

15,400 changes: 15,400 additions & 0 deletions assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v1.hex

Large diffs are not rendered by default.

21,175 changes: 21,175 additions & 0 deletions assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v2.hex

Large diffs are not rendered by default.

15,412 changes: 15,412 additions & 0 deletions assets/robothex/microcode-robot-dfrobot-maqueen-plus-for-microbit-v1.hex

Large diffs are not rendered by default.

21,187 changes: 21,187 additions & 0 deletions assets/robothex/microcode-robot-dfrobot-maqueen-plus-for-microbit-v2.hex

Large diffs are not rendered by default.

15,443 changes: 15,443 additions & 0 deletions assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v1.hex

Large diffs are not rendered by default.

21,218 changes: 21,218 additions & 0 deletions assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v2.hex

Large diffs are not rendered by default.

15,441 changes: 15,441 additions & 0 deletions assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v1.hex

Large diffs are not rendered by default.

21,216 changes: 21,216 additions & 0 deletions assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v2.hex

Large diffs are not rendered by default.

15,380 changes: 15,380 additions & 0 deletions assets/robothex/microcode-robot-inksmith-k8-for-microbit-v1.hex

Large diffs are not rendered by default.

21,155 changes: 21,155 additions & 0 deletions assets/robothex/microcode-robot-inksmith-k8-for-microbit-v2.hex

Large diffs are not rendered by default.

15,474 changes: 15,474 additions & 0 deletions assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v1.hex

Large diffs are not rendered by default.

21,249 changes: 21,249 additions & 0 deletions assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v2.hex

Large diffs are not rendered by default.

15,428 changes: 15,428 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v1.hex

Large diffs are not rendered by default.

21,203 changes: 21,203 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v2.hex

Large diffs are not rendered by default.

15,393 changes: 15,393 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-nanobit-for-microbit-v1.hex

Large diffs are not rendered by default.

21,168 changes: 21,168 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-nanobit-for-microbit-v2.hex

Large diffs are not rendered by default.

15,492 changes: 15,492 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-robotbit-for-microbit-v1.hex

Large diffs are not rendered by default.

21,267 changes: 21,267 additions & 0 deletions assets/robothex/microcode-robot-kittenbot-robotbit-for-microbit-v2.hex

Large diffs are not rendered by default.

15,482 changes: 15,482 additions & 0 deletions assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v1.hex

Large diffs are not rendered by default.

21,257 changes: 21,257 additions & 0 deletions assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v2.hex

Large diffs are not rendered by default.

24 changes: 16 additions & 8 deletions docs/robots-supported.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,54 +19,62 @@ See [how to contribute](#contributing) for more information.
![Photograph of the Maqueen](./images/maqueen.jpeg){:class="photo"}

- [Home](https://wiki.dfrobot.com/micro_Maqueen_for_micro_bit_SKU_ROB0148-EN)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-dfrobot-maqueen.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v2.hex)

### DFRobot Maqueen Plus V2 {#dfrobot-maq-plus}

![Photograph of the Maqueen plus](./images/dfrobotmaqueenplusv2.jpg){:class="photo"}

- [Home](https://www.dfrobot.com/product-2026.html)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-dfrobot-maqueen-plus-v2.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-dfrobot-maqueen-plus-v2-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-dfrobot-maqueen-plus-v2-for-microbit-v2.hex)

### Elecfreaks Cutebot {#cutebot}

![Photograph of the Cutebot](./images/cutebot.jpeg){:class="photo"}

- [Home](https://www.elecfreaks.com/micro-bit-smart-cutebot.html)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-elecfreaks-cutebot.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v2.hex)

### Elecfreaks Cutebot PRO {#cutebot-pro}

![Photograph of the Cutebot PRO](./images/cutebotpro.jpeg){:class="photo"}

- [Home](https://shop.elecfreaks.com/products/elecfreaks-smart-cutebot-pro-v2-programming-robot-car-for-micro-bit)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-elecfreaks-cutebotpro.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v2.hex)

## InkSmith K8 {#inksmith-k8}

![Photograph of the K8](./images/inksmithk8.webp){:class="photo"}

- [Home](https://www.inksmith.ca/products/k8-robotics-kit)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-inksmith-k8.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-inksmith-k8-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-inksmith-k8-for-microbit-v2.hex)

### KeyStudio KS0426 Mini Smart Robot {#keystudio-mini}

- [Home](https://wiki.keyestudio.com/KS0426_Keyestudio_Micro%EF%BC%9Abit_Mini_Smart_Robot_Car_Kit_V2)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-keystudio-minismartrobot.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v2.hex)

### KittenBot MiniLFR {#kittenbot-mlfr}

![Photo of the MiniLFR robot](./images/minilfr.png){:class="photo"}

- [Home](https://www.kittenbot.cc/products/kittenbot-minilfr-programmable-robot-car-kit-for-microbit)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-kittenbot-minilfr.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v2.hex)

### Yahboom Tiny:bit {#yahboom}

![Photograph of the Tiny:bit](./images/tinybit.jpeg){:class="photo"}

- [Home](http://www.yahboom.net/study/Tiny:bit)
- [Download](https://microsoft.github.io/microcode/assets/microcode-robot-yahboom-tinybit.hex)
- [Download for micro:bit V1](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v1.hex)
- [Download for micro:bit V2](https://microsoft.github.io/microcode/assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v2.hex)

### Contributing {#contributing}

Expand Down
31 changes: 31 additions & 0 deletions robot/mkhex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
makecode
makecode -c mkc-elecfreakscutebot.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-elecfreaks-cutebot-for-microbit-v2.hex
makecode -c mkc-elecfreakscutebotpro.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-elecfreaks-cutebotpro-for-microbit-v2.hex
makecode -c mkc-yahboomtinybit.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-yahboom-tinybit-for-microbit-v2.hex
makecode -c mkc-keystudiominismartrobot.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-keystudio-minismartrobot-for-microbit-v2.hex
makecode -c mkc-dfrobotmaqueen.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-dfrobot-maqueen-for-microbit-v2.hex
makecode -c mkc-dfrobotmaqueenplusv2.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-dfrobot-maqueen-plus-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-dfrobot-maqueen-plus-for-microbit-v2.hex
makecode -c mkc-kittenbotminilfr.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-kittenbot-minilfr-for-microbit-v2.hex
makecode -c mkc-kittenbotnanobit.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-kittenbot-nanobit-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-kittenbot-nanobit-for-microbit-v2.hex
makecode -c mkc-kittenbotrobotbit.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-kittenbot-robotbit-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-kittenbot-robotbit-for-microbit-v2.hex
makecode -c mkc-inksmithk8.json
cp ./built/mbdal-binary.hex ../assets/robothex/microcode-robot-inksmith-k8-for-microbit-v1.hex
cp ./built/mbcodal-binary.hex ../assets/robothex/microcode-robot-inksmith-k8-for-microbit-v2.hex

0 comments on commit 77a694d

Please sign in to comment.