1
0
Fork 0
Commit Graph

491 Commits (jebbatime)

Author SHA1 Message Date
ml server dd7f0d2772 spacecruft mirror for nrfx 2021-06-14 17:37:31 -06:00
ml server d6c45a3ded rm upstream nrfx repo 2021-06-14 17:34:44 -06:00
ml server b5b5dde8a3 use spacecruft mirror 2021-06-14 17:33:16 -06:00
ml server 0b385d7efa rm upstream path 2021-06-14 17:26:01 -06:00
ml server e4b64b0814 readme stub 2021-06-14 17:24:36 -06:00
Daniel Thompson 1d128f1311 Disable the APPDATA area
Currently wasp-os does not keep appdata in the nRF flash. It is offloaded
to spinor instead.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-04 18:56:59 +00:00
Daniel Thompson 477d2e07db boards: Fix builds for nRF52840 devices
The PNVRAM feature is currently only available on NRF52832 board and is
breaking the builds for the nRF52840 devices. Fix this the obvious way.

Fixes: d8d7d76 ("boards: Add pseudo-NVRAM support")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15 18:14:32 +01:00
Daniel Thompson 91fad65a8a k9: Add support for Senbono K9
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-09 18:18:27 +01:00
Daniel Thompson efa4942659 boards: Add a no button mode
Generally having no button is a bad idea because it makes it hard to
manage the watchdog. However if we haven't yet figured out how the
button works it is still useful to have a bootloader.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-09 18:18:09 +01:00
Daniel Thompson 89ba9a874f p8: Update bootloader logo
wasp-os now has an official logo. Let's use it.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-27 22:08:08 +01:00
Daniel Thompson 85a9b76d84 sdk_config: Increase HCI_RX_BUF_QUEUE_SIZE to 16
This makes the bootloader work with both nRF Connect (default settings)
and DaFlasher.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-26 20:58:19 +01:00
SteveAmor 9148e76c41 Adds P8 smart watch
Signed-off-by: Steve Amor <steveamor@users.noreply.github.com>
2020-06-17 18:49:51 +01:00
Daniel Thompson 71f37dd5b2 Extend the button blackout slightly
If the button blackout time is too short then we can reset before
we remove the splash screen... which means we can't hold down the
button when we transition to the payload... which, for wasp-os,
makes it really hard to trigger safe mode.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-11 20:38:53 +01:00
Daniel Thompson 21bcf675a4 Ergonomic changes for PineTime
This involves a longer double reset delay aligned the button blackout
period. The result is that the <- Start will not appear until the button
is active. Finally we shorten the debounce window to make the button
press appear more repsonsive.
2020-05-27 21:41:10 +01:00
Daniel Thompson d8d7d76b17 boards: Add pseudo-NVRAM support
Currently the pseudo-NVRAM is used only to measure the time spent in the
bootloader (which keeps the watch time stable when we reset the device).

At this stage the legacy mechanisms to pass messages via the SRAM have
not been modified.
2020-05-09 14:17:42 +01:00
Daniel Thompson 7786926950 board: Fix build on boards without ST7789_SPI_DISPLAY 2020-01-31 19:19:33 +00:00
Daniel Thompson 6e5c33824e README: Describe the features added for form-factor devices 2020-01-28 21:15:28 +00:00
Daniel Thompson b89f9d43b9 boards: Improve the boot button behaviour 2020-01-28 21:14:49 +00:00
Daniel Thompson 1e7d8c327d main: Tidy up splash screen delays.
Shorten the delay on the application boot path to make the boot feel
quicker. Add a delay to the bootloader path so the user gets to see the
splash screen ;-) .
2020-01-28 21:14:49 +00:00
Daniel Thompson 0125b3e49b boards: Add an SPI and ST7789 driver
This code is somewhat hacky and it (currently) hard coded for PineTime
but it's brings the demo together nicely... so let's capture progress
here!
2020-01-28 21:14:49 +00:00
Daniel Thompson 660aa3247c nitrogen: Update board name for DFU 2020-01-23 22:20:34 +00:00
Daniel Thompson a56548132e pinetime: Update board name for DFU 2020-01-23 22:20:34 +00:00
Daniel Thompson 9734651778 sdk: ble dfu: Allow boards to override the device name 2020-01-23 22:20:34 +00:00
Daniel Thompson 0d74a6efca boards: Make the watchdog more aggressive
Let's not tune for debug by default... the point of the bootloader is that
it is for use when the SWD pins are not easily accessed.
2020-01-23 22:20:32 +00:00
Daniel Thompson 20f5764f64 boards: Extend the watchdog to cover the bootloader too
If the bootloader fails for any reason we'd like to be able to restart
it! This is approach is a bit of a cheat... we are feeding the dog from
a periodic interrupt and there are plenty of ways to the system to fail
that leave periodic interrupts still ticking. However since we test the
user button and reboot from the ISR then this is OK... either the SysTick
stops and we reboot or the SysTick is running and the reboot switch will
still work.
2020-01-23 22:20:06 +00:00
Daniel Thompson fb03ef1dda boards: Remove the pin sense setting
This is redundant (and therefore slightly misleading) we do not "sense"
the pins from the bootloader. We simply poll their status.
2020-01-23 22:20:06 +00:00
Daniel Thompson cfe6b69534 boards/main: Enable the WDT and related entry modes 2020-01-23 22:20:04 +00:00
Daniel Thompson be3f01a002 gitignore: Ignore vim swp files 2020-01-23 22:17:50 +00:00
Daniel Thompson 27207cba4d HACK: main: Increase time spent in UART DFU mode
This is useful for devices that cannot be reset from the UART control
signals... a one second interval is too hard to coordinate.
2020-01-23 22:17:50 +00:00
fanoush b6857b85f0 Shrink the bootloader size for nrf52832
nrf52832 is short of flash and we can shave a little size of the
bootloader... let's do that.

From c4579ff251/micropython/Adafruit_nRF52_Bootloader-dsd6.diff

[daniel@redfelineninja.org.uk: Seperated out of the main DS-D6 patch]
2020-01-23 22:17:50 +00:00
Daniel Thompson 4d0e439229 boards: Alter the flashing rates
Now it is slow for idle, fast for active...
2020-01-23 22:17:50 +00:00
Daniel Thompson 9806b15d5c fixup pinetime board 2020-01-23 22:17:50 +00:00
Daniel Thompson 04ee6a92a7 pinetime_nrf52832: PineTime board support 2020-01-23 22:17:50 +00:00
Daniel Thompson 561d8ff427 fixup nitrogen board 2020-01-23 22:17:50 +00:00
Daniel Thompson 3e490f882f nitrogen_nrf52832: Nitrogen board support 2020-01-23 22:17:50 +00:00
Daniel Thompson bb7841bec8 fixup dsd6 board 2020-01-23 22:17:50 +00:00
fanoush 18e7f3eeb3 dsd6_nrf52832: DS-D6 board support
From c4579ff251/micropython/Adafruit_nRF52_Bootloader-dsd6.diff

[daniel@redfelineninja.org.uk: Rebased and split into smaller patches]
2020-01-21 20:44:36 +00:00
Daniel Thompson 1d2dfa955d boards: Add support for active high buttons
The button on the PineTime isn't a simple pull low design. Instead
the switch is connected across two GPIO pins *and* has external
pull downs on both pins. This circuit requires special handling since
it must be active high and we need to configure the other pin as an
output for the pin to work correctly.
2020-01-21 20:44:23 +00:00
fanoush 282fd12bba Add support for single button and no LED boards
From c4579ff251/micropython/Adafruit_nRF52_Bootloader-dsd6.diff

[daniel@redfelineninja.org.uk: Seperate from raw board support patch]
2020-01-21 20:43:04 +00:00
Limor "Ladyada" Fried 6c2867bc00
Merge pull request #103 from oshwabadge2020/ohs2020-badge
Add support for OHS2020 Badge
2020-01-16 21:12:49 -05:00
Michael Welling 9c6c0d3031 Add support for OHS2020 Badge
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 17:45:44 -08:00
Ha Thach db63651473
Merge pull request #102 from aramcon-badge/aramcon-badge-2019-upstream
Added AramCon Badge 2019 board
2020-01-16 10:46:47 +07:00
Benny Meisels 32bfb2adae Added AramCon Badge 2019 board 2020-01-15 23:04:47 +02:00
hathach 3114f92afb update changelog 2020-01-13 16:43:09 +07:00
Ha Thach 467bd2bf1c
Merge pull request #100 from adafruit/develop
Add support for raytac mdbt50q rx dongle
2020-01-13 16:35:33 +07:00
hathach a83f5d8e11 clean up 2020-01-13 16:03:39 +07:00
Ha Thach 9ff2378a25
Merge pull request #99 from samveen/doc_fix
show passing of GNU_INSTALL_ROOT to make via param
2020-01-13 14:17:26 +07:00
Samveen 5d04a6c26a show passing of GNU_INSTALL_ROOT to make via param 2020-01-13 11:43:42 +05:30
hathach 2fe17d9996 clean up 2020-01-11 11:45:36 +07:00
hathach 54ca93d499 verD 2020-01-10 17:13:02 +07:00