Skip to content

Commit 6854e5d

Browse files
Merge branch 'main' into readme_beautify
2 parents cf52cf7 + 881e750 commit 6854e5d

21 files changed

+5499
-5422
lines changed

.github/ISSUE_TEMPLATE/compilation_bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ A clear and concise description of what the bug is.
1515
Issues without the full verbose output will be discarded as invalid.
1616

1717
**Mandatory: attach the sketch**
18+
or a Minimal reproducible example
1819
Issues without the sketch will be discarded as invalid.
1920

2021
**Additional context**

.github/ISSUE_TEMPLATE/miscellaneous_bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Miscellaneous bug report
3-
about: Sketch compile but doesn't upload, or similar issues
3+
about: Sketch compiles but doesn't upload, or similar issues
44
title: ''
55
labels: ''
66
assignees: ''

.github/ISSUE_TEMPLATE/runtime_bug_report.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Runtime bug report
3-
about: Sketch compile and uploads but doesn't run correctly (or doesn't run at all)
3+
about: Sketch compiles and uploads but doesn't run correctly (or doesn't run at all)
44
title: ''
55
labels: ''
66
assignees: ''
@@ -14,17 +14,19 @@ A clear and concise description of what the bug is.
1414
**Full verbose** compilation output, ideally with `arduino-cli` invocation or from IDE 2.3.3+
1515
Issues without the full verbose output will be discarded as invalid.
1616

17-
**Output of debug UART**
18-
Complete output of the console crash, starting from
17+
**Output of Serial Monitor**
18+
1. If you have an USB-to-Serial adapter, paste the complete output of the console crash, starting from
1919
```*** Booting Zephyr OS build v3.7...```
20-
Runtime issues without the **full UART output** will be discarded as invalid.
20+
2. If you don't, compile the sketch in `Debug` mode (see *Troubleshooting section* in README) and paste the output after invoking `sketch` command
21+
Runtime issues without the **full output** will be discarded as invalid.
2122

2223
**Output of readelf**
24+
You can find the loaction of the elf file by compiling in Verbose mode and looking near the end of the compilation output (after `Linking everything together..`)
2325
Paste (or attach) the output of `arm-none-eabi-readelf -a $your_sketch_elf_file`
2426

2527
**Optional: attach the elf file**
2628

27-
**Output: attach the sketch**
29+
**Optional: attach the sketch**
2830

2931
**Additional context**
3032
Add any other context about the problem here.

.github/workflows/package_core.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Package core
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
env:
9+
ZEPHYR_SDK_INSTALL_DIR: /opt/zephyr-sdk-0.16.8
10+
steps:
11+
- name: Install toolchain
12+
working-directory: /opt
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get install -y --no-install-recommends git cmake wget python3-pip ninja-build
16+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.8/zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz
17+
tar xf zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz && cd zephyr-sdk-0.16.8 && ./setup.sh -t arm-zephyr-eabi -c
18+
19+
- uses: actions/checkout@v4
20+
21+
- name: Initialize
22+
run: |
23+
./extra/bootstrap.sh
24+
./extra/build_all.sh
25+
./extra/package.sh `git describe --always`
26+
mv ../arduino-core-zephyr-llext* .
27+
28+
- name: Archive core
29+
uses: actions/upload-artifact@v3
30+
with:
31+
name: Core
32+
path: arduino-core-zephyr-llext*

extra/package.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ if [ ! -f platform.txt ]; then
55
exit 2
66
fi
77

8+
FOLDER=`basename $PWD`
9+
810
VERSION=$1
911

10-
tar --exclude=extras/** --exclude=.git* --exclude=build --exclude=venv --exclude=samples -cjhf ../arduino-core-zephyr-llext-${VERSION}.tar.bz2 .
12+
cd ..
13+
tar --exclude=extras/** --exclude=.git* --exclude=build --exclude=venv --exclude=samples -cjhf arduino-core-zephyr-llext-${VERSION}.tar.bz2 $FOLDER
128 Bytes
Binary file not shown.
2.99 KB
Binary file not shown.
224 Bytes
Binary file not shown.
3.04 KB
Binary file not shown.
128 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)