You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/runtime_bug_report.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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)
4
4
title: ''
5
5
labels: ''
6
6
assignees: ''
@@ -14,17 +14,19 @@ A clear and concise description of what the bug is.
14
14
**Full verbose** compilation output, ideally with `arduino-cli` invocation or from IDE 2.3.3+
15
15
Issues without the full verbose output will be discarded as invalid.
16
16
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
19
19
```*** 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 [Toubleshooting section](/troubleshooting)) and paste the output after invoking `sketch` command
21
+
Runtime issues without the **full output** will be discarded as invalid.
21
22
22
23
**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..`)
23
25
Paste (or attach) the output of `arm-none-eabi-readelf -a $your_sketch_elf_file`
The firmwares will be copied to [firmwares](/firmwares) folder.
47
47
48
-
If the board is fully supported by Zephyr, they can also be directly falshed with `west flash`
48
+
If the board is fully supported by Zephyr, they can also be directly flashed with `west flash`
49
49
50
50
## Use the core in Arduino environment
51
51
52
52
After runnign the `bootstrap` script, you should be able to symlink the core to `$sketchbook/hardware/arduino-git/zephyr` and it will appear in the IDE/CLI. Boards FQBN will then become `arduino-git:zephyr:name_from_boards_txt`
53
53
54
-
## Toubleshooting
54
+
## Troubleshooting
55
55
56
56
**Q: My Sketch doesn't start (Serial doen't appear)**
57
57
58
-
**A:** Connect a USB-to-UART adapter to the default UART (eg. TX0/RX0 on Giga, TX,RX on Nano) and read the error message
58
+
**A:** Connect a USB-to-UART adapter to the default UART (eg. TX0/RX0 on Giga, TX,RX on Nano) and read the error message (with the sketch compiled in `Default` mode). If you don't own a USB-to-UART adapter, compile the sketch in `Debug` mode; this will force the shell to wait until you open the Serial Monitor. Then, run `sketch` command and *probably* you'll be able to read the error (if generated by `llext`). For OS crashes, the USB-to-UART adapter is the only way to collect the crash.
59
59
60
60
**Q: I did it and I get a `<err> llext: Undefined symbol with no entry in symbol table ...`**
61
61
@@ -65,7 +65,7 @@ After runnign the `bootstrap` script, you should be able to symlink the core to
65
65
66
66
**A:** Open the `.conf` file for your board, add the required `CONFIG_`, recompile/upload the loader.
67
67
68
-
**Q: I get an OS crash**
68
+
**Q: I get an OS crash, like `<err> os: ***** USAGE FAULT *****`**
69
69
70
70
**A:** This is usally do to some buffer overflow/coding error in the user's own code. However, since the project is still in Beta, a [good bug report](#bug-reporting) could help identifying an issue in our code.
71
71
@@ -77,6 +77,10 @@ After runnign the `bootstrap` script, you should be able to symlink the core to
77
77
78
78
To report a bug, open the [issues](/issues) and follow the instructions. Any issue opened without the needed information will be discarded.
79
79
80
+
## ArduinoBLE
81
+
82
+
BLE stack is enabled for Nano 33 BLE; please use [this branch](https://github.com/facchinm/ArduinoBLE/tree/zephyr_hci) to test it.
83
+
80
84
## TODO
81
85
82
86
-[ ] Unify overlay in [loader](/loader/boards) with the one provided in [variant](/variant) for interoperability with GSoC project
@@ -88,6 +92,7 @@ To report a bug, open the [issues](/issues) and follow the instructions. Any iss
88
92
-[ ] Replace [llext_exports.c](/loader/llext_exports.c) with proper symbols generation (via inclues)
89
93
-[ ] Provide better usability for `Debug` builds (eg. shell over USB)
90
94
-[ ] Fix corner cases with `std::` includes (like `<iterator>`)
0 commit comments