Commit Graph
607 Commits
Author SHA1 Message Date
Edrig 7d76c828ec Add File for Holyiot Nrf52840
new file : src/boards/holyiot_nrf52840/board.h
	new file : src/boards/holyiot_nrf52840/board.mk
	new file : src/boards/holyiot_nrf52840/pinconfig.c
2020-08-04 14:37:04 +02:00
Ha Thach 0b3c515d9e Merge pull request #149 from nitz/sorry-my-build-env-is-absolute-nonsense
Fixing Windows not playing nicely with mkdir.
2020-07-17 22:32:45 +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
Ha Thach 764147d269 Merge pull request #148 from adafruit/add-missing-license
add mising license for ghostfat
2020-07-16 12:43:57 +07:00
hathach d790f4adc9 add mising license for ghostfat
also do a bit of clean up
2020-07-16 12:34:27 +07:00
Ha Thach 4c9df5bc41 Merge pull request #147 from nitz/patch-1
Change delimiter in git submodule cut to double quote
2020-07-16 12:28:30 +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
Ha Thach 209c611a8b Merge pull request #145 from IkigaiSense/ikigaisense_vita
add-ikigaisense_vita-nrf52840
2020-07-15 11:55:10 +07:00
ikigaisense 2118c82eaf ikigaisense_vita-PID-change 2020-07-14 11:48:53 -06:00
ikigaisense 8e52dd5e49 add-ikigaisense_vita-nrf52840 2020-07-14 11:14:36 -06:00
Ha Thach 0b0677d0d7 Merge pull request #144 from ElectronicCats/bast_ble
Added variant for Bast ble
2020-07-12 00:11:22 +07:00
sabas1080 2aad7be11b add button dummie 2020-07-11 01:01:21 -05:00
sabas1080 3512f27da5 change VID and PID 2020-07-11 01:01:01 -05:00
Ha Thach 10b470afad Merge pull request #143 from adafruit/usb_timeout
Reset into app, if no USB connection in 3s
2020-07-10 01:13:05 +07:00
Michal Moskal 6642747a2d Disable timeout in OTA mode; add comments 2020-07-09 11:03:06 -07:00
Ha Thach d7016237d2 Merge pull request #142 from adafruit/itsy_config
Add pin config for itsy bitsy 840
2020-07-09 12:27:45 +07:00
Michal Moskal 6b4cf21ba2 Reset into app, if no USB connection in 3s
(only applies in SINGLE_TAP_RESET mode (MakeCode))
2020-07-08 13:49:53 -07:00
Michal Moskal 7966e5e85c Add pin config for itsy bitsy 840 2020-07-08 13:43:36 -07:00
sabas1080 c7ec6baabe init bootloader 2020-06-20 12:07:00 -05:00
Ha Thach d6b28e6605 Merge pull request #137 from Nicell/nice_nano
Add nice!nano development board
2020-06-05 23:38:24 +07:00
Nick c6d9ca8082 Add unique PID 2020-06-05 10:02:10 -05:00
Nick 4ba551827f Add nice!nano 2020-06-04 19:18:54 -05:00
Ha Thach 6217eb9eeb Merge pull request #136 from henrygab/self-uf2-large-volume
Self uf2 large volume
2020-05-30 00:37:35 +07:00
Henry Gabryjelski 28e09e0aba READ CAPACITY uses CFG_UF2_NUM_BLOCKS,
Therefore, use that existing configuration setting
for BPB_TOTAL_BLOCKS.
2020-05-28 23:02:13 -07:00
Henry Gabryjelski 513cc7ab44 Enable use of larger sized GhostFAT volume 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 1b0816163b Ready for review and testing?
CFG_UF2_NUM_BLOCKS is currently set in uf2cfg.h.
Likely will hard-code file system to a large value.

Maximum value for CFG_UF2_NUM_BLOCKS: 0x101dd

If remove one `STATIC_ASSERT()`, at the risk of
compatibility issues with FAT implementations that
have off-by-one errors (of which there are many),
the maximum value could be raised to 0x101fd.

The maximum value is based on the following values:
* BPB_SECTOR_SIZE         (fixed at 512 for FAT16)
* BPB_RESERVED_SECTORS    (fixed at   1 for FAT16)
* BPB_NUMBER_OF_FATS      (fixed at   2 for FAT16)
* BPB_ROOT_DIR_ENTRIES    (fixed at  64 by  GhostFAT)
* BPB_SECTORS_PER_CLUSTER (fixed at   1 by  GhostFAT)
* BPB_SECTORS_PER_FAT     (calculated from CFG_UF2_NUM_BLOCKS)

If any of the above change, then the maximum value
will also change.
2020-05-28 22:58:59 -07:00
Henry Gabryjelski 041defeb63 Statically ensure valid FAT16 cluster count 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 2c9826acd9 Fix start cluster calculation.
Fixes 133.
2020-05-28 22:58:59 -07:00
Henry Gabryjelski 09697eb541 Use defines rather than magic numbers 2020-05-28 22:58:59 -07:00
Henry Gabryjelski cc829aa405 additional minor cleanup 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 614da97a4a More descriptive names for some defines 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 00669e813e more static-compilation changes 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 763c7df557 More static assertions and defines 2020-05-28 22:58:59 -07:00
Henry Gabryjelski f157069595 Static assertions and additional #defines 2020-05-28 22:58:59 -07:00
Henry Gabryjelski 947045239a Move BPB related defines 2020-05-28 22:58:59 -07:00
Henry Gabryjelski da2aca70cc Exclude VSCode directory 2020-05-28 22:58:59 -07:00
Ha Thach ff120ffadb Merge pull request #128 from adafruit/self-uf2
Major upgrade to bootloader to decouple SoftDevice and self upgrade with uf2
2020-05-29 09:33:16 +07:00
hathach 2df81e6543 use python3 for hex merge 2020-05-13 22:34:05 +07:00
hathach a4084e0f46 add SD detection to INFO.txt 2020-05-13 14:11:47 +07:00
hathach 26e02484f3 remove submodule intelhex, use copied hexmerge.py instead 2020-05-13 13:22:34 +07:00
hathach 148723984c revert VID/PID for pca10056/pca10059 use feather nrf52840
as it previously does.
2020-05-13 00:59:27 +07:00
hathach 62336dc766 add uf2 conv for bootloader 2020-05-13 00:00:28 +07:00
hathach 316891dbd5 everything seems good 2020-05-12 23:21:58 +07:00
hathach cf1ccfecad all boards are now required pinconfig for storing bootloader ID in cf2 format 2020-05-12 20:52:21 +07:00
hathach e6de13f679 clean up 2020-05-12 20:43:12 +07:00
hathach 7929dc3dae add check for boatloader id in cf2 config 2020-05-12 20:27:07 +07:00
hathach 7c8e1e59e5 change bootloader family id to random generated value of 0xd663823c 2020-05-12 16:41:07 +07:00