141 Commits

Author SHA1 Message Date
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
Chris Dailey
73ec884012 Give RM the same treatment MK got, and indent MK 2020-07-17 11:22:26 -04:00
Chris Dailey
0d13cb445c Replace mkdir := assignment with = assignment 2020-07-17 08:45:54 -04:00
nitz
301e4ace3e Fixing Windows not playing nicely with mkdir.
I really don't know why Windows is such a pain sometimes:
 * The `-p` doesn't get handled as a switch, and instead actually creates a directory named "-p"...
 * The forward slash in the path being created causes cmd.exe to be sad instead of interpreting it as a path. Quotes around the path makes it happy.

One day things will be sane on Windows.

Today is not that day. 😂
2020-07-16 21:13:37 -04:00
hathach
d790f4adc9 add mising license for ghostfat
also do a bit of clean up
2020-07-16 12:34:27 +07:00
Chris Dailey
35429d0f64 Replace variable assignments to shell assignments
This has the wonderful effect of executing the commands once then reusing their output as the variable is needed. Speeds clean build time considerably if `git submodule status` takes a bit on your machine!
2020-07-16 01:13:58 -04:00
Chris Dailey
32a43b71e6 Change delimiter in git submodule cut to double quote
The single quote causes issues with the string parsing on shells that expect double quotes.
2020-07-15 01:45:49 -04:00
hathach
2df81e6543 use python3 for hex merge 2020-05-13 22:34:05 +07:00
hathach
26e02484f3 remove submodule intelhex, use copied hexmerge.py instead 2020-05-13 13:22:34 +07:00
hathach
316891dbd5 everything seems good 2020-05-12 23:21:58 +07:00
hathach
7c8e1e59e5 change bootloader family id to random generated value of 0xd663823c 2020-05-12 16:41:07 +07:00