Skip to content

Commit 04bb3ba

Browse files
authored
Update 2026 05 (#390)
* Merge branch 'mb8.1.12' into upgrade-8.1.2-to-8.1.12 * Update gamekit SHA in targetconfig.json * replace svg in style.less * Fix C18 CODAL
1 parent b13341b commit 04bb3ba

79 files changed

Lines changed: 993 additions & 340 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql.yml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,28 @@ on:
1818
# The branches below must be a subset of the branches above
1919
branches: [ master ]
2020
schedule:
21-
- cron: '34 6 * * 0'
22-
23-
# Permissions required by OpenID Connect to access Azure.
24-
permissions:
25-
security-events: write
21+
- cron: '0 19 * * 0'
22+
workflow_dispatch:
2623

2724
jobs:
2825
analyze:
2926
name: Analyze
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
include:
32+
- language: javascript-typescript
33+
build-mode: none
34+
- language: cpp
35+
build-mode: none
36+
37+
# CodeQL runs on ubuntu-latest and windows-latest
3038
runs-on: ubuntu-latest
39+
permissions:
40+
security-events: write
41+
# required to fetch internal or private CodeQL packs
42+
packages: read
3143

3244
strategy:
3345
fail-fast: false
@@ -43,18 +55,14 @@ jobs:
4355

4456
# Initializes the CodeQL tools for scanning.
4557
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v3
58+
uses: github/codeql-action/init@v4
4759
with:
4860
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53-
54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
56-
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v3
61+
build-mode: ${{ matrix.build-mode }}
62+
# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
63+
# # If this step fails, then you should remove it and run the build manually (see below)
64+
# - name: Autobuild
65+
# uses: github/codeql-action/autobuild@v3
5866

5967
# ℹ️ Command-line programs to run using the OS shell.
6068
# 📚 https://git.io/JvXDl
@@ -68,4 +76,6 @@ jobs:
6876
# make release
6977

7078
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v3
79+
uses: github/codeql-action/analyze@v4
80+
with:
81+
category: "/language:${{matrix.language}}"

compiler/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"newLine": "LF",
1313
"sourceMap": false,
1414
"typeRoots": ["../node_modules/@types"],
15+
"types": [],
1516
"lib": [
1617
"dom",
1718
"dom.iterable",

docs/courses.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22

33
A collection of courses and tutorials built for the @boardname@.
44

5-
## First lessons with MakeCode and the micro:bit
6-
7-
A sequence of six beginner lessons, ideal for getting started with the micro:bit. Students will learn core computing concepts by making and coding engaging projects.
8-
9-
```codecard
10-
[{
11-
"name": "First Lessons",
12-
"description": "A sequence of lessons from the Micro:bit Educational Foundation that provide a pathway through six projects, ideal for getting started with the micro:bit",
13-
"url":"https://microbit.org/teach/lessons/first-lessons-with-makecode-and-the-microbit",
14-
"imageUrl": "/static/courses/first-lessons.png"
15-
}]
16-
```
17-
185
## Intro to Computer Science
196

207
MakeCode's course for learning Computer Science with the micro:bit. This is a 14 week computer science course for middle school grades 6-8.

docs/device/serial.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ Unfortunately, using the serial library requires quite a bit of a setup.
2626

2727
### ~ hint
2828

29-
**Windows earlier than 10**
29+
#### Windows earlier than 10
3030

3131
If you are running a Windows version earlier than 10, you must [install a device driver](https://os.mbed.com/docs/latest/tutorials/windows-serial-driver.html) (for the computer to recognize the serial interface of the Calliope mini).
3232

33-
## ~
33+
### ~
34+
3435
Also, if you don't see the serial port as one of your computer's devices, you might need to [update the firmware](/device/firmware) on the @boardname@. Find the device name for the attached serial port in the following instructions for your operating system.
3536

36-
### Windows > Tera Term
37+
## Windows
38+
39+
### Tera Term
3740

38-
* Install the terminal emulator [Tera Term](https://ttssh2.osdn.jp/index.html.en). At the time of this writing, the latest version is 4.88 and can be downloaded [from here](http://en.osdn.jp/frs/redir.php?m=jaist&f=%2Fttssh2%2F63767%2Fteraterm-4.88.exe). Follow the instructions from the installer.
41+
* Install the terminal emulator [Tera Term](https://teratermproject.github.io/index-en.html). The the latest release and can be downloaded [from here](https://github.com/TeraTermProject/teraterm/releases). Scroll down to the "Assets" section and download the release package that is appropriate for your computer. For example, if you have an x64 based processor, click on the one that ends in "x64.exe".
3942

4043
Once both the driver and the terminal emulator are installed, plug in the Calliope mini and wait until the device is fully setup. Then, open TeraTerm.
4144

@@ -47,7 +50,7 @@ You should be good. Feel free to hit `Setup` > `Save Setup` in the menus to eras
4750

4851
Please note that Windows will assign you a different COM port if you plug in another Calliope mini. If you're juggling between Calliope mini, you'll have to change the COM port every time.
4952

50-
### Windows > Putty
53+
### Putty
5154

5255
If you prefer another terminal emulator (such as [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/)), here are some instructions.
5356

docs/microbit-org/createai.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# CreateAI
2+
3+
Projects to get learners started quickly with AI and machine learning on the micro:bit.
4+
5+
## Projects
6+
7+
```codecard
8+
[{
9+
"name": "AI storytelling friend",
10+
"description": "Use storytelling to introduce AI.",
11+
"url": "https://microbit.org/projects/make-it-code-it/ai-storytelling-friend/",
12+
"imageUrl":"/static/microbit-org/createai/storytelling-friend.png",
13+
"label": " ",
14+
"labelClass": "black microbit-ribbon large",
15+
"cardType": "link"
16+
}, {
17+
"name": "Simple AI exercise timer",
18+
"description": "Make a smart exercise timer using AI.",
19+
"url": "https://microbit.org/projects/make-it-code-it/simple-ai-exercise-timer/",
20+
"imageUrl":"/static/microbit-org/createai/simple-exercise-timer.png",
21+
"label": " ",
22+
"labelClass": "black microbit-ribbon large",
23+
"cardType": "link"
24+
}, {
25+
"name": "AI activity timer",
26+
"description": "Use AI to detect and time specific activities.",
27+
"url": "https://microbit.org/projects/make-it-code-it/ai-activity-timer/",
28+
"imageUrl":"/static/microbit-org/createai/activity-timer.png",
29+
"label": " ",
30+
"labelClass": "black microbit-ribbon large",
31+
"cardType": "link"
32+
}, {
33+
"name": "More about CreateAI",
34+
"description": "Explore AI on and offscreen with tools, resources and more.",
35+
"url": "https://microbit.org/createai/",
36+
"imageUrl":"/static/microbit-org/createai/more-about.png",
37+
"label": " ",
38+
"labelClass": "black microbit-ribbon large",
39+
"cardType": "link"
40+
}]
41+
```

docs/microbit-org/data-logging.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Data Logging Examples
2+
3+
Use the micro:bit’s data logging feature in science and other experiments.
4+
5+
## Projects
6+
7+
```codecard
8+
[{
9+
"name": "Traffic survey data logger",
10+
"description": "Survey traffic, wildlife or anything around you!",
11+
"url": "https://makecode.microbit.org/_gh4CetMLC5i4",
12+
"imageUrl": "/static/microbit-org/data-logging/traffic-survey.png",
13+
"label": " ",
14+
"labelClass": "black microbit-ribbon large",
15+
"cardType": "sharedExample"
16+
}, {
17+
"name": "Kick strength data logger",
18+
"description": "Use data science to improve your sports skills.",
19+
"url": "https://makecode.microbit.org/_drsVdM9dccxq",
20+
"imageUrl": "/static/microbit-org/data-logging/kick-strength.png",
21+
"label": " ",
22+
"labelClass": "black microbit-ribbon large",
23+
"cardType": "sharedExample"
24+
}, {
25+
"name": "Environment data logger",
26+
"description": "Record and study data about the world around you.",
27+
"url": "https://makecode.microbit.org/_WbKetCEgVDX2",
28+
"imageUrl": "/static/microbit-org/data-logging/environment.png",
29+
"label": " ",
30+
"labelClass": "black microbit-ribbon large",
31+
"cardType": "sharedExample"
32+
}, {
33+
"name": "Solar panel experiment",
34+
"description": "Decide where to put a solar panel with your micro:bit.",
35+
"url": "https://makecode.microbit.org/_7L8hXcRUDCPF",
36+
"imageUrl": "/static/microbit-org/data-logging/solar-panel.png",
37+
"label": " ",
38+
"labelClass": "black microbit-ribbon large",
39+
"cardType": "sharedExample"
40+
}, {
41+
"name": "Movement data logger",
42+
"description": "Use data logging to make a better step counter.",
43+
"url": "https://makecode.microbit.org/_6ftECdEohfpb",
44+
"imageUrl": "/static/microbit-org/data-logging/movement.png",
45+
"label": " ",
46+
"labelClass": "black microbit-ribbon large",
47+
"cardType": "sharedExample"
48+
}]
49+
```
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Introductory micro:bit Feature Videos
2+
3+
Short animated videos to share with learners.
4+
5+
## Videos
6+
7+
```codecard
8+
[{
9+
"name": "Introduction to the BBC micro:bit",
10+
"description": "Meet the BBC micro:bit.",
11+
"label": " ",
12+
"labelClass": "black microbit-ribbon large",
13+
"youTubeId": "u2u7UJSRuko",
14+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
15+
"imageUrl": "/static/microbit-org/feature-videos/introduction.png"
16+
},
17+
{
18+
"name": "Input and output devices",
19+
"description": "How the BBC micro:bit helps you understand computer input and output devices.",
20+
"label": " ",
21+
"labelClass": "black microbit-ribbon large",
22+
"youTubeId": "NkoS2JXaBuM",
23+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
24+
"imageUrl": "/static/microbit-org/feature-videos/input-output.png"
25+
},
26+
{
27+
"name": "Processor",
28+
"description": "The processor is the most important part of your BBC micro:bit - watch this video to discover why they are essential parts of any computer, phone or tablet.",
29+
"label": " ",
30+
"labelClass": "black microbit-ribbon large",
31+
"youTubeId": "Y9tk07CzTAA",
32+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
33+
"imageUrl": "/static/microbit-org/feature-videos/processor.png"
34+
},
35+
{
36+
"name": "LEDs",
37+
"description": "LED lights are perfect for the BBC micro:bit - watch this video to find out why.",
38+
"label": " ",
39+
"labelClass": "black microbit-ribbon large",
40+
"youTubeId": "eRhlaXqT-0w",
41+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
42+
"imageUrl": "/static/microbit-org/feature-videos/leds.png"
43+
},
44+
{
45+
"name": "Buttons",
46+
"description": "The buttons are probably the first input device you'll use on BBC micro:bit - this video tells you how you can use them. ",
47+
"label": " ",
48+
"labelClass": "black microbit-ribbon large",
49+
"youTubeId": "hnT0qHM3_hQ",
50+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
51+
"imageUrl": "/static/microbit-org/feature-videos/buttons.png"
52+
},
53+
{
54+
"name": "Accelerometer",
55+
"description": "Like a phone, the micro:bit can sense movement using its accelerometer. This video tells you more about how you can use it.",
56+
"label": " ",
57+
"labelClass": "black microbit-ribbon large",
58+
"youTubeId": "UT35ODxvmS0",
59+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
60+
"imageUrl": "/static/microbit-org/feature-videos/accelerometer.png"
61+
},
62+
{
63+
"name": "Full playlist",
64+
"description": "Watch videos on all the features of the micro:bit.",
65+
"label": " ",
66+
"labelClass": "black microbit-ribbon large",
67+
"url": "https://www.youtube.com/playlist?list=PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
68+
"youTubePlaylistId": "PLEo0hMrjdofusveMscRFN9FeqKzDBzuXr",
69+
"imageUrl": "/static/microbit-org/feature-videos/full-playlist.png"
70+
}]
71+
```

docs/microbit-org/first-lessons.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# First Lessons with MakeCode and the micro:bit
2+
3+
Six projects featured in our starter [lessons](https://microbit.org/teach/lessons/first-lessons-with-makecode-and-the-microbit/) and companion [PD course](https://microbit.thinkific.com/courses/first-lessons-with-makecode-and-the-micro-bit).
4+
5+
## Lessons
6+
7+
```codecard
8+
[{
9+
"name": "First lessons overview",
10+
"description": "A sequence of lessons from the Micro:bit Educational Foundation that provide a pathway through six projects, ideal for getting started with the micro:bit",
11+
"url":"https://microbit.org/teach/lessons/first-lessons-with-makecode-and-the-microbit",
12+
"imageUrl": "/static/microbit-org/first-lessons/overview.png",
13+
"label": " ",
14+
"labelClass": "black microbit-ribbon large",
15+
"cardType": "link"
16+
}, {
17+
"name": "Name badge",
18+
"description": "Students create their first programs and transfer them to their micro:bits.",
19+
"url": "https://microbit.org/teach/lessons/name-badge/",
20+
"imageUrl": "/static/microbit-org/first-lessons/name-badge.png",
21+
"label": " ",
22+
"labelClass": "black microbit-ribbon large",
23+
"cardType": "link"
24+
}, {
25+
"name": "Beating heart",
26+
"description": "Create a simple animation to learn about sequence and simple loops.",
27+
"url": "https://microbit.org/teach/lessons/beating-heart/",
28+
"imageUrl": "/static/microbit-org/first-lessons/beating-heart.png",
29+
"label": " ",
30+
"labelClass": "black microbit-ribbon large",
31+
"cardType": "link"
32+
}, {
33+
"name": "Emotion badge",
34+
"description": "Start learning about inputs and outputs using buttons and icons on the display.",
35+
"url": "https://microbit.org/teach/lessons/emotion-badge/",
36+
"imageUrl": "/static/microbit-org/first-lessons/emotion-badge.png",
37+
"label": " ",
38+
"labelClass": "black microbit-ribbon large",
39+
"cardType": "link"
40+
}, {
41+
"name": "Step counter",
42+
"description": "Introduce variables to track your step count and begin to use the accelerometer input.",
43+
"url": "https://microbit.org/teach/lessons/step-counter/",
44+
"imageUrl": "/static/microbit-org/first-lessons/step-counter.png",
45+
"label": " ",
46+
"labelClass": "black microbit-ribbon large",
47+
"cardType": "link"
48+
}, {
49+
"name": "Nightlight",
50+
"description": "Make an automatic nightlight and discover how logic, conditionals and inputs and outputs combine to make a simple control system.",
51+
"url": "https://microbit.org/teach/lessons/nightlight/",
52+
"imageUrl": "/static/microbit-org/first-lessons/nightlight.png",
53+
"label": " ",
54+
"labelClass": "black microbit-ribbon large",
55+
"cardType": "link"
56+
}, {
57+
"name": "Rock, paper, scissors",
58+
"description": "Combine skills from the previous lessons to turn your micro:bit into an electronic simulation of a popular game of chance.",
59+
"url": "https://microbit.org/teach/lessons/rock-paper-scissors/",
60+
"imageUrl": "/static/microbit-org/first-lessons/rock-paper-scissors.png",
61+
"label": " ",
62+
"labelClass": "black microbit-ribbon large",
63+
"cardType": "link"
64+
}]
65+
```

0 commit comments

Comments
 (0)