Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
a5bf0ba
Support for no button
matsujirushi Feb 2, 2023
22224ce
Add files via upload
OmarEMbed Feb 16, 2025
8970125
Update board.h
OmarEMbed Feb 16, 2025
73020f3
fix: add size optimization
andreaskurz May 9, 2025
ddcb2db
chore: add documentation for CMake
andreaskurz May 9, 2025
389e5b0
chore: update uf2 submodule to latest
JuergenLeber Jun 8, 2025
00b5e72
fix: fix small typo
JuergenLeber Jun 8, 2025
b8544f5
feat: add SD S340 support for nRF52840 and nRF52833
JuergenLeber Jun 8, 2025
de9a9b7
refactor: deduplicate code for disabling SD
JuergenLeber Jun 10, 2025
3182f60
fix: remove -lnosys option for debug linker scripts as it conflicts w…
JuergenLeber Jun 8, 2025
70da7d8
set CMAKE_BUILD_TYPE to MinSizeRel if not defined instead of forcing -Os
hathach Jun 30, 2025
0e98348
Merge pull request #354 from andreaskurz/askz/fix-cmake-build
hathach Jun 30, 2025
df983b5
Merge pull request #357 from JuergenLeber/minor-updates-and-fixes
hathach Jun 30, 2025
b1e0883
Merge pull request #347 from OmarEMbed/master
hathach Jun 30, 2025
4bce0cc
Merge pull request #358 from JuergenLeber/repair-debug-build
hathach Jun 30, 2025
d475f25
Merge branch 'master' into fork/JuergenLeber/add-sd-s340-support
hathach Jun 30, 2025
31c3081
update makefile/cmake for softdevice macro. Remove the _s340 filter i…
hathach Jun 30, 2025
6a9a6a3
Merge pull request #359 from JuergenLeber/add-sd-s340-support
hathach Jun 30, 2025
fa1cacc
feat: add ANT_LICENSE_KEY handling for SoftDevice S340
JuergenLeber Oct 27, 2025
4ca93c5
feat: adjust documentation for builds with SoftDevice S340
JuergenLeber Oct 27, 2025
6250be4
fix boot loop due to wrong value read from REGOUT0
tomaszduda23 Nov 11, 2025
a766738
Merge pull request #367 from tomaszduda23/master
hathach Dec 4, 2025
c4b2c50
Merge pull request #366 from JuergenLeber/master
hathach Dec 4, 2025
4493a35
add board.cmake
hathach Dec 19, 2025
d7e4a25
update cmake build
hathach Dec 19, 2025
859a721
remove git submodules from uf2 version
hathach Dec 19, 2025
24768bc
clean up
hathach Dec 19, 2025
0147d71
Merge pull request #372 from adafruit/update-buildsystem
hathach Dec 19, 2025
951a93a
Improve bootloader version parsing from GIT_VERSION
piotrmalek Jan 14, 2026
f5ab453
Allow BLE characteristics to support both WriteWithoutResponse (for c…
ejtagle Jan 15, 2026
2910556
Wait until notification queue has enough room so no notifications of …
ejtagle Jan 15, 2026
b5ddc18
Fix improper processing of Flash WRITE/ERASE completion notifications…
ejtagle Jan 15, 2026
04d029a
Allow overriding device name in DFU mode
ejtagle Jan 15, 2026
36422ba
Speedup FLASH writes by temporarily increasing BLE stack local latency
ejtagle Jan 15, 2026
d28c2e0
Enable negotiation of MTU sizes above 20. This will significatively i…
ejtagle Jan 15, 2026
ca46deb
Factor out FLASH erase procedure (non OTA), fix FLASH write procedure…
ejtagle Jan 15, 2026
efe383d
Add DFU mode exit timeout of 3 minutes. If the user enters DFU mode B…
ejtagle Jan 15, 2026
450ce3b
Definitions for DUAL BANKED firmware updates (storing 2 copies of the…
ejtagle Jan 15, 2026
88eab38
Allow flashing of a SINGLE BANK bootloader after a DUAL BANKED bootlo…
ejtagle Jan 15, 2026
d8c27bb
If there is no application in FLASH, or flash was corrupted, make sur…
ejtagle Jan 15, 2026
f20bfe9
Add DUAL_BANK functionality (disabled by default, can be enabled pass…
ejtagle Jan 15, 2026
c8af92c
Implement signed firmware verification: If enabled (Disabled by defau…
ejtagle Jan 15, 2026
01290c7
Improved documentation on dual bank and signed bootloader
ejtagle Jan 15, 2026
3307083
Add missing tinycrypt dependency
ejtagle Jan 15, 2026
0623a20
Fixed compilation
ejtagle Jan 15, 2026
6b5158a
Removed redundant call to verify if the supplied public key is valid
ejtagle Jan 15, 2026
1647753
Fix autodetection of workarounds for GCC 12.x 13.x and 14.x under Win…
ejtagle Jan 15, 2026
827edd2
Bumped SLAVE_LATENCY to 4. Does not make any difference in our tests,…
ejtagle Jan 15, 2026
3e87e07
fix typo
hathach Jan 21, 2026
3c44708
minor clean up and fix dfu_bl_image_validate() return nrf error code
hathach Jan 23, 2026
78540d6
Merge pull request #375 from ejtagle/master
hathach Jan 23, 2026
e1ea1c6
Wait until FLASH operation queue has enough available room, instead o…
ejtagle Jan 26, 2026
29dd14e
Merged improvements
ejtagle Jan 26, 2026
c9dd183
Merge branch 'adafruit:master' into master
ejtagle Jan 26, 2026
698bfa2
Merge branch 'master' into fork/SeeedJP/pr/1
hathach Jan 26, 2026
794aef2
clean up
hathach Jan 26, 2026
30c7349
Merge pull request #376 from adafruit/pr/1
hathach Jan 26, 2026
210c6f4
add AGENTs.md, remove unused BUTTONS_NUMBER
hathach Jan 26, 2026
6770e15
Merge branch 'adafruit:master' into master
ejtagle Jan 26, 2026
da75a54
Add support for Syldra development board
ambraglow Jan 27, 2026
3249f41
In case a RESET command is received in the middle of a OTA DFU, reboo…
ejtagle Jan 28, 2026
d435d66
fix: Fix build errors on GCC15
ReFil Jan 28, 2026
87b8354
Allow defaulting to OTA DFU instead of Serial/UF2 DFU (turned off by …
ejtagle Jan 30, 2026
cb30e6f
update board and supported_boards.md
hathach Jan 31, 2026
d0f13ea
Made sure to clear pending interrupts and exceptions before jumping t…
ejtagle Jan 31, 2026
e8ffbd0
Allow using an external LNA/PA to increase BLE range
ejtagle Jan 31, 2026
4d1ca56
nice!nano board has no buttons
ejtagle Jan 31, 2026
e6da12a
Update Makefile
ejtagle Jan 31, 2026
a76d419
minor clean up
hathach Feb 2, 2026
583d67b
Merge pull request #377 from ejtagle/master
hathach Feb 2, 2026
29173a4
rename BUTTON_FRESET to BUTTON_DFU_OTA
hathach Feb 2, 2026
7cf6787
Merge branch 'master' into refactor-button
hathach Feb 2, 2026
a6f668e
clean up
hathach Feb 2, 2026
5a11529
Merge pull request #383 from adafruit/refactor-button
hathach Feb 2, 2026
1069753
Merge branch 'master' into fork/ambraglow/master
hathach Feb 2, 2026
5bb68e6
sync master
hathach Feb 2, 2026
cef2651
correct uf2 board id
hathach Feb 2, 2026
ede0f06
Merge pull request #378 from ambraglow/master
hathach Feb 2, 2026
1307fe7
Enable FLASH overwrite protection from user applications for MBR and …
ejtagle Feb 2, 2026
c61f330
Merge branch 'master' of https://github.com/ejtagle/Adafruit_nRF52_Bo…
ejtagle Feb 2, 2026
3714bb7
Merge branch 'adafruit:master' into master
ejtagle Feb 2, 2026
6b24be5
- add GCC diagnostic ignored "-Warray-bounds" to affected code
hathach Feb 3, 2026
6180d8a
Merge pull request #381 from ReFil/gcc-15-fixes
hathach Feb 3, 2026
c3282f4
Merge branch 'master' into fork/piotrmalek/master
hathach Feb 3, 2026
8c45bf8
- always enable flash protect
hathach Feb 3, 2026
48cfda2
check page size alignment for address as well
hathach Feb 3, 2026
c2ae418
minor
hathach Feb 3, 2026
2d889d3
Merge branch 'adafruit:master' into master
ejtagle Feb 4, 2026
dd816e5
Seeed Xiao BLE boards: enable 2nd LED
mestrode Feb 16, 2026
a32baf5
Merge pull request #387 from mestrode/master
hathach Feb 23, 2026
8023c1e
Merge pull request #384 from ejtagle/master
hathach Feb 25, 2026
57ce8b2
When in bootloader mode and USB is disconnected the system now jumpt …
jesuslg123 Mar 8, 2026
96c5744
Ignore files
jesuslg123 Mar 8, 2026
1f17efd
Revert unwanted change
jesuslg123 Mar 8, 2026
545fc05
update AGENTS.md
hathach Mar 18, 2026
ac08632
restrict GitHub Actions to master branch and add workflow_dispatch tr…
hathach Mar 19, 2026
48a149f
Merge pull request #393 from adafruit/add-agents-md
hathach Mar 19, 2026
67105f8
validate app presence more robustly, allow debugger flashing e.g with…
hathach May 14, 2026
b3ac920
Merge pull request #396 from adafruit/skip-app-valid-for-debugger-flash
hathach May 15, 2026
64f1b70
usb tud_mount_cb() to set m_usb_was_mounted
hathach May 20, 2026
2f27295
dfu_transport_serial: normalize new lines to CRLF
hathach May 20, 2026
00dba18
Merge pull request #390 from jesuslg123/auto-reboot-on-usb-disconnected
hathach May 21, 2026
4b0fc1c
Merge branch 'master' into fork/piotrmalek/master
hathach May 21, 2026
dc42c2a
update cmake version as well
hathach May 21, 2026
c67f0bc
Merge pull request #374 from piotrmalek/master
hathach May 21, 2026
dfabf13
feat: prune the board matrix to the 17 Meshtastic boards, on the main…
jamesarich Aug 20, 2026
3c7c298
feat: port the OTAFIX display layer and version string
jamesarich Aug 20, 2026
f8bc6d5
default to ota dfu
oltaco Dec 15, 2025
7914aad
use maximum ble tx power for nrf52840
oltaco Apr 13, 2026
c55a7fa
fix: size CURRENT.UF2 to the real installed app, not the max region (…
jamesarich Aug 19, 2026
91fc5fa
add display support to OTA DFU mode
oltaco Sep 4, 2025
6f88993
add usb_teardown after ota dfu
jamesarich Aug 20, 2026
1458940
lazy erase
oltaco Dec 14, 2025
fecfb3f
packet accumulator for small packets
oltaco Dec 20, 2025
83ce15b
chore: carry the Meshtastic fork's repo identity onto the mainline base
jamesarich Aug 20, 2026
960b301
Merge origin/master into rebase-adafruit-0.11
jamesarich Aug 20, 2026
db7c34b
Merge remote-tracking branch 'origin/master' into rebase-adafruit-0.11
jamesarich Aug 21, 2026
bfe39b6
Revert "lazy erase" — stalls BLE OTA at the first on-demand page eras…
jamesarich Aug 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
---
Language: Cpp
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AcrossComments: false
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCaseColons: false
AlignEscapedNewlines: LeftWithLastLine
AlignOperands: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: true
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BracedInitializerIndentWidth: 2
BreakBeforeBinaryOperators: None
BreakConstructorInitializers: AfterColon
BreakConstructorInitializersBeforeComma: false
ContinuationIndentWidth: 2
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<.*'
Priority: 1
- Regex: '^".*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentPPDirectives: BeforeHash
InsertBraces: true
IndentCaseLabels: true
InsertNewlineAtEOF: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
PenaltyBreakBeforeFirstCallParameter: 1000000
PenaltyBreakOpenParenthesis: 1000000
PPIndentWidth: 2
QualifierAlignment: Custom
QualifierOrder: ['static', 'const', 'volatile', 'restrict', 'type']
SpaceAfterTemplateKeyword: false
SpaceBeforeRangeBasedForLoopColon: false
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SortIncludes: false
TabWidth: 2
...
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dkms.conf

segger/Output
_build/
_bin/
cmake-build-*/
bin/
*.emSession
*.jlink
Expand All @@ -67,7 +67,9 @@ TAGS
.DS_Store
Makefile.user

# Python virtual environments
# Exclude all SoftDevice S340 files
lib/softdevice/s340*
_bin/
venv/
.python-version
lib/python3.13/
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
path = lib/uf2
url = https://github.com/microsoft/uf2.git

[submodule "lib/tinycrypt"]
path = lib/tinycrypt
url = https://github.com/intel/tinycrypt
Loading