Commit Graph

120 Commits

Author SHA1 Message Date
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
hathach 0e4995c680 drop SD in linker name 2020-05-12 16:06:02 +07:00
hathach 013458ad97 makefile to generate bootloader-nosd.uf2
everything seems working
2020-05-12 14:33:56 +07:00
hathach cf4efa2c94 move boards.c/h into boards folder 2020-05-08 12:27:20 +07:00
hathach 74c650851e more update 2020-05-06 15:53:31 +07:00
hathach af105128f3 populate bootloader address and mbr param if not available in MBR
check SD MAGIC before using sd API when init usb
2020-05-06 00:11:29 +07:00
hathach ed7c5ac2f3 add mbr flash target 2020-05-05 22:04:39 +07:00
hathach 1c1104e989 added RTT printf for debugging 2020-05-04 16:50:56 +07:00
hathach 2b5dd6c614 update makefile for uf2 target and ses 2020-03-27 11:57:55 +07:00
hathach 392f69a2c3 remove genhex target 2020-03-25 20:05:51 +07:00
hathach f097cae0cd remove combinehex and erase target
update Readme
2020-03-25 19:58:17 +07:00
hathach 1db3ffe968 remove size target, make it part of Linking 2020-03-25 19:46:08 +07:00
hathach 9ea3f08e23 more cleanup 2020-03-25 18:49:54 +07:00
hathach 2128d60cc9 enable most warning option, fix all warnings 2020-03-25 18:39:39 +07:00
hathach 7438933f2f more clean up 2020-03-25 14:37:03 +07:00
hathach c0f75b21b0 change comment style 2020-03-25 14:31:21 +07:00
hathach 98271c9f56 clean up QUIET 2020-03-25 14:16:24 +07:00
hathach b91a76a16e clean up ASFLAGS 2020-03-25 14:15:13 +07:00
hathach b2d4b016a9 enale Wextra
clean up some warning
2020-03-25 14:09:07 +07:00
hathach 79ae930f15 fix some warnings with Wextra 2020-03-25 00:31:27 +07:00
hathach 0516c2e247 CFLAGS clean up 2020-03-25 00:04:28 +07:00
hathach 487871db8e tool clean up 2020-03-24 23:53:11 +07:00