1
0
Fork 0
Commit Graph

310 Commits (jebbatime)

Author SHA1 Message Date
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 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 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 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
Michael Welling 9c6c0d3031 Add support for OHS2020 Badge
Signed-off-by: Michael Welling <mwelling@ieee.org>
2020-01-16 17:45:44 -08:00
Benny Meisels 32bfb2adae Added AramCon Badge 2019 board 2020-01-15 23:04:47 +02:00
hathach a83f5d8e11 clean up 2020-01-13 16:03:39 +07:00
hathach 2fe17d9996 clean up 2020-01-11 11:45:36 +07:00
hathach 54ca93d499 verD 2020-01-10 17:13:02 +07:00
hathach 0e6936de76 adding raytac mdbt50q rx dongle support
https://github.com/adafruit/Adafruit_nRF52_Arduino/pull/328
2020-01-10 17:08:09 +07:00
Ryan A. Pavlik 6df0bfdc4c
Fix URL shown for CPB
It was going to the orange M4 HalloWing.
2020-01-02 10:25:09 -06:00
Lady Ada 3adfba32c8 add clue bootloader 2019-12-26 19:15:00 -05:00
hathach 16e7af43a3 fix linker for 833
compile and able to flash but 52833 is not compatible with S140 v6, need
to upgrade it to S140 v7
2019-11-29 11:44:51 +07:00
hathach e3449cd771 able to build with 52833 2019-11-29 01:02:05 +07:00
hathach 7cd90551c9 added board.mk for all boards 2019-11-12 00:32:47 +07:00
hathach 8a979d33bc clean up, use BLEDIS_MANUFACTURER and BLEDIS_MODEL for USB Manufacturer and Product string 2019-11-11 15:50:28 +07:00
hathach c6d02901b3 serial descriptor clean up 2019-11-11 15:35:43 +07:00
hathach 126115a2cb update repo to work with latest tinyusb and nrfx module 2019-11-11 15:27:44 +07:00
ladyada 85a1556864 UF2 bootloader for nano33 2019-10-25 21:45:43 -04:00
hathach 9556f2ace8 follow up to PR #77 2019-09-25 12:17:46 +07:00
Kreg Hanning 8906b2a8bd Add check for button direction 2019-09-09 08:59:31 -04:00
Henry Gabryjelski 04290e7bea
Fix bug in __DOSTIME__ macro 2019-08-14 12:32:36 -07:00
Ladyada d78322519a this time with correct pins 2019-08-04 21:03:13 -04:00