Phil Howard
42a29dbe7b
Wakeup: Port to Badger 2040.
2022-08-08 12:05:55 +01:00
Phil Howard
de61929eac
Badger2040: Fix fast partial update endless busy wait for #464 .
2022-07-25 16:46:23 +01:00
Phil Howard
646bd1a9b0
UC8151: Refactor to uc8151_legacy.
2022-06-23 13:57:25 +01:00
Phil Howard
6a3ba0d421
MicroPython: Shim MP_REGISTER_MODULE for >1.18 compat.
...
MicroPython has changed MP_REGISTER_MODULE to use only *two* args and now runs the preprocessing stage on files before running makemoduledefs.py.
This change avoids the build exploding, since the new regex matches the last two args as a single argument and generates a malformed module defs include.
The pattern here exploits the fact that 1.18 and below do not preprocess files, so *both* MP_REGISTER_MODULE lines are included in the source, but *only* the three arg version is matched by regex.
In >1.18 the files will be processed and the three arg version removed before makemoduledefs.py processes it.
2022-06-14 12:08:47 +01:00
Phil Howard
a9eb58a3ce
MicroPython: Fix Class name QSTRs.
2022-06-13 20:06:39 +01:00
Phil Howard
8d638e2744
MicroPython: Drop redundant Print. Saves 4K.
2022-06-13 18:59:51 +01:00
Phil Howard
bc0390b86c
MicroPython: Use placement new to alloc classes on GC_HEAP
2022-05-23 15:34:49 +01:00
Phil Howard
8392401cf9
Badger 2040: Fix partial update hang for #348
2022-05-06 17:56:10 +01:00
helgibbons
ac3bfa537d
Update Badger readme to include bitmap fonts
2022-04-07 12:48:51 +01:00
helgibbons
6c4459701a
Update Badger readme to include bitmap fonts
2022-04-07 12:45:41 +01:00
Philip Howard
dbb9a3d181
Merge pull request #332 from pimoroni/feature/unicode-ish
...
Fonts: Ungracefully handle accented characters.
2022-04-01 16:26:31 +01:00
Phil Howard
3b8740fab6
Bitmap Fonts: Add letter spacing.
2022-04-01 15:38:48 +01:00
Phil Howard
0d43973326
Bitmap Fonts: Refactor and support for pound/degrees.
2022-04-01 15:38:42 +01:00
Mike Bell
4d67e35137
Badger2040: UART enabled build works
2022-03-30 22:23:24 +01:00
Mike Bell
16bfa467ce
Reinitialize hardware after system clock change
2022-03-30 21:07:40 +01:00
Mike Bell
179796b80f
Very Slow to 4MHz, fix linter error
2022-03-30 00:27:28 +01:00
Mike Bell
c1c1b9f1bc
Badger2040: Use new system speed call in examples and document it.
2022-03-29 23:16:18 +01:00
Mike Bell
9b5e4ecfac
Badger2040: Add system_speed call
2022-03-29 23:16:10 +01:00
Mike Bell
0a11a9f555
Comment why this works
2022-03-26 12:58:36 +00:00
Mike Bell
4061b446b3
Badger2040: Make wake state access methods static
2022-03-26 12:51:55 +00:00
Mike Bell
7720bbe602
Simplify Badger Wake on the C++ side, tidy up X_to_wake on the python interface
2022-03-26 12:45:25 +00:00
Mike Bell
e1a4d56993
Badger2040: Read the button state and enable 3v3 before initializing crystal
2022-03-26 11:55:56 +00:00
Mike Bell
be0f1358d1
Merge remote-tracking branch 'origin/MichaelBell-battery-improvements' into battery-improvements
2022-03-25 15:35:48 +00:00
Phil Howard
b497422bdb
Badger2040: Remove button release wait from clear.
2022-03-25 15:13:03 +00:00
Phil Howard
75d0112421
Badger2040: Wait for buttons to be released. Rename woken.
2022-03-25 14:55:08 +00:00
Mike Bell
1f1f9b00df
Badger2040: Light the act LED immediately on wake
2022-03-25 14:53:04 +00:00
Phil Howard
b8d5a3db75
Badger2040: Bring back clear pressed to wake.
2022-03-25 14:25:04 +00:00
Phil Howard
b1fd8936cf
Badger2040: Enforce minimum update blocking time.
2022-03-25 10:57:30 +00:00
Mike Bell
f332dcdf2e
Remove unused clear_pressed_to_wake method
2022-03-25 01:23:17 +00:00
Phil Howard
5bd13a5cd1
Badger2040: Create badger_os utils module.
2022-03-24 23:20:46 +00:00
Mike Bell
0ab44ef10a
Only record front button state at init time
2022-03-24 22:01:10 +00:00
Mike Bell
a7f2014309
Add woken method
2022-03-24 21:21:20 +00:00
Mike Bell
946de6ffa2
Take Gadgetoid's proposed change, reduce magic
2022-03-24 20:49:51 +00:00
Mike Bell
c41714c4c9
Actually enable 3v3 at startup
2022-03-24 00:24:26 +00:00
Mike Bell
78c11d220d
Enable battery power on wake, expose pressed_to_wake on Badger object
2022-03-23 21:41:49 +00:00
Mike Bell
51b0e472e1
Add ability to halt the Badger from Micropython and get wake button presses. Change badge app to halt when image displayed
2022-03-23 00:30:07 +00:00
helgibbons
dae16ea777
Update README.md
2022-03-08 17:47:10 +00:00
helgibbons
117c842fc0
Update README.md
2022-03-08 17:39:53 +00:00
Hel Gibbons
b01afbaac8
Update README.md
2022-03-08 17:36:35 +00:00
Hel Gibbons
613625776b
Update README.md
2022-03-08 17:28:57 +00:00
helgibbons
6d1a902adc
Update README.md
2022-03-08 17:25:46 +00:00
helgibbons
a5451f726f
Update README.md
2022-03-08 17:23:30 +00:00
Phil Howard
e62b3a8fc8
Badger2040: Move assets & builtin tooling to examples dir
2022-03-04 15:26:00 +00:00
Phil Howard
e096e57566
Badger2040: Add missing boot.py
2022-03-04 11:32:11 +00:00
Phil Howard
e8d6d5930f
Badger2040: Rename e-reader and checklist to match builtins
2022-03-04 11:13:51 +00:00
Phil Howard
ef72098949
Badger2040: Build assets from source + CMake builtin copy
2022-03-04 11:06:42 +00:00
Phil Howard
f90559ed41
Badger2040: Add support for colour inverted mode
2022-02-25 14:49:28 +00:00
Phil Howard
169e332917
Badger2040: Add Medium speed, drop spicy super turbo
2022-02-25 13:37:35 +00:00
Phil Howard
2f8603e6b3
Badger2040: Add MicroPython README
2022-02-25 11:08:32 +00:00
Phil Howard
40616f9795
Badger2040: Attempt to power off on soft reset
2022-02-25 11:08:32 +00:00