Commit Graph
151 Commits
Author SHA1 Message Date
Eduardo José Tagle 1307fe7f57 Enable FLASH overwrite protection from user applications for MBR and bootloader 2026-02-02 14:28:12 -03:00
Eduardo José TagleandCopilot e6da12ab45 Update Makefile
Yes, the '-D' was missing

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-31 16:23:36 -03:00
Eduardo José Tagle 87b8354d1f Allow defaulting to OTA DFU instead of Serial/UF2 DFU (turned off by default) 2026-01-30 13:09:24 -03:00
Eduardo José Tagle 16477539d9 Fix autodetection of workarounds for GCC 12.x 13.x and 14.x under Windows 2026-01-15 15:43:59 -03:00
Eduardo José Tagle c8af92c4d8 Implement signed firmware verification: If enabled (Disabled by default), the bootloader will reject and not flash any firmware that is not digitally signed with the proper key 2026-01-15 01:53:57 -03:00
Eduardo José Tagle f20bfe9f63 Add DUAL_BANK functionality (disabled by default, can be enabled passing DUAL_BANK=1 to the Makefile in the make command line 2026-01-15 01:40:51 -03:00
hathach 859a721b41 remove git submodules from uf2 version 2025-12-19 18:11:08 +07:00
Jürgen Leber fa1caccd67 feat: add ANT_LICENSE_KEY handling for SoftDevice S340 2025-10-27 20:57:29 +01:00
hathach 31c3081668 update makefile/cmake for softdevice macro. Remove the _s340 filter in ci 2025-06-30 17:32:49 +07:00
JuergenLeber b8544f5c8c feat: add SD S340 support for nRF52840 and nRF52833 2025-06-10 19:05:21 +02:00
Andreas Kurz c83fa9fc2b fix: array subscript 0 outside array bounds
This will also add version 14.x of the compiler to apply additional CLFAGS.

 #339

Signed-off-by: Andreas Kurz <info@akurz.net>
2025-05-04 20:59:12 +02:00
hathach ab74be4811 correct itsybitsy dotstar 2024-07-19 13:02:31 +07:00
hathach 2d68ec56e3 default SD version to 7.3.0 for 833, 6.1.1 for 840 and 832
some cmake rename
2024-06-05 17:29:26 +07:00
Said Alvarado-Marin 4f8c2afabf fix compilation for arm-none-eabi-gcc version 13 2024-02-04 14:33:02 +01:00
hathach 0eead42aec add display for sense tft 2024-01-05 16:59:16 +07:00
hathach 79add7baf5 - add screen/display support for st77xx
- able to make spi transfer, but data seem to be off
2024-01-05 15:49:27 +07:00
hathach dbc7648649 add linker --print-memory-usage 2023-07-20 22:00:29 +07:00
Ha Thach 7229caf9d6 Merge branch 'master' into add-debug-build 2022-10-16 13:13:54 +07:00
hathach 3af7f744b4 add temp flash-skip-crc target 2022-10-16 13:09:19 +07:00
Gabriel Hansson 5217eb6dbc fix error: array subscript 0 is outside array bounds for newer gcc versions 2022-08-29 18:29:21 +00:00
hathach c42dce080c add debug linker when building with DEBUG=1
extend bootloader start to reserved app for debug build
2022-07-14 12:28:02 +07:00
hathach b36925d92a correct DFU_DEV_REV for 833 to 52833 (previously 52840) 2022-07-13 17:35:22 +07:00
hathach c9a548f0c8 more clean up 2022-07-13 12:01:53 +07:00
hathach dbeaafa7b5 added feather 833 2022-07-13 01:04:54 +07:00
hathach 0811a477ae fix -Wcast-function-type warnings 2022-07-12 23:37:04 +07:00
hathach 6c0bb9d8ec clean up makefile
- rename target sd -> flash-sd, mbr -> flash-mbr, dfu-flash -> flash-dfu
- update readme
- clean up python script, add multiprocess build
2022-07-12 20:40:57 +07:00
Pierre Constantineau 084dbc5ae0 Merge https://github.com/kbladewht/Adafruit_nRF52_Bootloader into V7-SD-FROM-KBLADEWHT 2021-12-09 22:01:27 -06:00
kbladewht 0e4e8770df support 833 2021-11-14 07:35:35 +08:00
kbladewht b3ed95f020 Update Makefile 2021-11-13 22:28:17 +08:00
Ha Thach 41db95f28e Add linkermap target for size analysis (#227)
* correct url link for led glasses driver
* add linkermap to ci
2021-10-13 00:02:52 +07:00
hathach 0f052bcee0 remove wildcard in makefile 2021-09-15 22:05:20 +07:00
Ha Thach 3d04d61bc6 Merge pull request #221 from daniel-thompson/fix_gcc-11
Use -fno-ipa-modref when building with gcc-11 (or later)
2021-09-10 23:47:08 +07:00
Daniel Thompson 235c0fac5b Use -fno-ipa-modref when building with gcc-11 (or later)
As the large comment in the body of the patch, there are mistakes in
the inline assembler fragments contained in the Nordic Softdevice header
files. Fixing the problem is a bit fiddly so for now we'll simply work
around the issue by disabling an optimization pass that was introduced
in gcc-11.
2021-09-07 20:22:56 +01:00
hathach 1a6d8eae97 clean up 2021-08-04 19:05:30 +07:00
hathach dedbb74562 increase app reserved size to 40KB to match circuitpython for 840
along with other clean up
2021-08-04 16:35:42 +07:00
hathach 01b032ee7d add upload artifacts and release assets to ci 2021-01-19 13:00:43 +07:00
Michal Moskal b960b99182 Add optional Makefile.user (eg for BOARD=...) 2020-12-01 10:43:19 +01:00
hathach e5e10260d7 more shell command 2020-10-15 23:50:20 +07:00
hathach 3da8e987df use shell cmd instead of assignment 2020-10-11 13:42:17 +07:00
hathach 5f39316cd9 fix side-effect prevent dfu when disable timeout 2020-09-04 18:20:07 +07:00
Ha Thach 9ae36fe7e8 Merge pull request #155 from nitz/feature-board-makerdiary-m2
Add MakerDiary nRF52840 M.2 Module board.
2020-08-06 23:32:52 +07:00
nitz 9d86c6b81e Replaced conditional recipes with function calls. 2020-08-06 09:36:44 -04:00
nitz 5b507ac126 Move dfu-flash to be outside flasher check 2020-08-06 08:28:43 -04:00
nitz bb3f0c8667 Rename default flasher from nrf to nrfjprog 2020-08-06 08:27:56 -04:00
nitz 1fac639352 Fix whitespace 2020-08-06 08:26:54 -04:00
nitz f22e19e81b Add pyocd flash targets.
They are used when make is invoked with FLASHER=pyocd. Still defaults to using NRFUTIL.
2020-08-05 20:01:39 -04:00
nitz 86a6622724 Revert NO_SOFT_DEVICE change.
Will be more work, will work on it in it's own feature branch.
2020-08-05 08:46:24 -04:00
nitz 307125255b Rename USES_NFCT to USE_NFCT 2020-08-05 08:09:33 -04:00
nitz 75c89998c6 Support for skipping the NFCT as GPIO & SD defines
nrf52840_m2 makes use of these skips.
2020-08-04 18:55:55 -04:00
Henry Gabryjelski 1a138da50d Exclude non-board files from list of valid boards.
Fixes #153.
Regression caused by commit cf4efa2c94.
2020-07-25 22:24:53 -07:00