Dien-Nhung Nguyen
4e556ab11f
Add next gen profile and configurations ( #67 )
...
* fix: crash in picture animation
* ble: add next gen profile
* force read header from flash anyway
* fix: bmlist: mem leak
* feat: add reset option after legacy transfers
2025-02-17 10:05:23 +01:00
Dien-Nhung Nguyen
512134607b
feat: ble: add battery level characteristic ( #66 )
...
App might read battery level from characteristic/service uuid: 0x2A19/0x180F
2025-02-10 10:11:52 +01:00
Dien-Nhung Nguyen-Phu
03e30b4b24
chore: fix missing an image in README
2025-01-08 00:36:06 +07:00
Aditya Gupta
96ef72ce55
chore: update readme with correct repo refs
2025-01-01 22:16:28 +00:00
lundril
03e8ecb921
LED: Fix artefacts. ( #61 )
...
* LED: Fix artefacts.
Basic idea to change the state of the Pins:
1) Tri-State all (will TURN OFF all LEDs)
2) Define correct High/Low value for Pins
3) Drive pins which need driving (will TURN ON correct LEDs)
* leddrv: Different implementation.
Fix artefacts when using high brightness.
Highter drive strength if more than 5 LEDs need to be turned on.
* Support 4 different brightness levels.
2025-01-01 16:23:13 +01:00
Dien-Nhung Nguyen
9cda33787c
automatically embedding version numbers ( #53 )
2024-10-21 15:06:13 +02:00
Dien-Nhung Nguyen
321677cf9b
chore: Update README for Installation, Usage and Development ( #58 )
2024-10-08 03:35:55 +02:00
François Cartegnie
bb33a6d82e
Merge pull request #50 from kienvo/batt-indicator
...
feat: Charging status
2024-10-04 15:37:42 +07:00
François Cartegnie
88f4bca38b
Merge pull request #57 from froscon2024/patch-1
...
Update README.md - Use the exact chip name CH582M
2024-10-04 15:36:10 +07:00
froscon2024
22f447c12e
Update README.md - Use the exact chip name CH582M
...
The exact chip number is CH582M on the badges. Because there also exist a CH582F lets make the difference clear that its the M version.
https://github.com/ch32-rs/wchisp?tab=readme-ov-file#tested-on
2024-10-03 14:54:47 +00:00
François Cartegnie
c2fbdd3fc3
Merge pull request #55 from kienvo/usbc-ver
...
feat: Add a build option for USB-C version
2024-09-30 16:20:06 +07:00
Dien-Nhung Nguyen-Phu
44a03c9e39
chore: update CI build for USB-C version
2024-09-29 14:46:10 +07:00
Dien-Nhung Nguyen-Phu
b30731ff6c
feat: add build option for usb-c version
2024-09-29 14:08:42 +07:00
Dien-Nhung Nguyen-Phu
907bf59055
add animation while charging
...
- add 5x7 font
- add animation
- display version after the animation end
- add BOOT state for switching to normal mode while charging
2024-09-29 09:44:22 +07:00
Dien-Nhung Nguyen-Phu
12ce17a6cd
add charging status
2024-09-29 09:44:08 +07:00
Dien-Nhung Nguyen
2a730ef9f6
feat: play all available bitmap slots sequentially ( #49 )
...
Resovles: #40
Changes:
- Add return step state to animation functions
- Add method to get head node from bitmap list
- Add auto change to next bitmap depend on `is_play_sequentially`
2024-09-17 15:18:37 +02:00
Dien-Nhung Nguyen
ea14dd8ac5
chore: add release drafter ( #47 )
2024-09-08 19:59:12 +02:00
Dien-Nhung Nguyen
68e4ce488d
fix: crash loop on new chip ( #45 )
...
changes: skip reading bitmaps on invalid magic header
2024-09-05 17:30:40 +02:00
Dien-Nhung Nguyen
a8b32e91b6
animation: add Bluetooth animation in download mode ( #17 )
2024-08-27 15:48:37 +02:00
Dien-Nhung Nguyen
c95faf32a6
Add animations ( #15 )
...
* animation: add xbm animations
* refactor: correct framebuffer terminology
* animation: add animations and effect
* animation: timing with TMOS scheduler
2024-08-27 15:08:24 +02:00
François Cartegnie
f5874d6073
Merge pull request #35 from kienvo/usb
...
feat: Receive data over USB
2024-08-20 13:43:09 +07:00
Dien-Nhung Nguyen-Phu
c3912e01a2
usb: add cdc-acm serial and write to flash
2024-07-11 22:18:56 +07:00
Dien-Nhung Nguyen-Phu
49fc27a23e
usb: add hiddev and write to flash
2024-07-11 22:18:56 +07:00
Dien-Nhung Nguyen-Phu
4f3b6f4283
usb: handle device request and route to interfaces
2024-07-11 22:18:56 +07:00
Dien-Nhung Nguyen-Phu
515c8a8eb9
usb: remove usbdev from StdPeriphDriver
...
The library only have 4 endpoint supported while the chip have capable
of 8. And its design is kind of cumbersome.
2024-07-11 22:18:56 +07:00
Dien-Nhung Nguyen-Phu
a57090ead9
usb: enable debug log over uart
2024-07-11 22:11:21 +07:00
François Cartegnie
b25d62d136
Merge pull request #31 from kienvo/ble-save
...
feat: Save received data from BLE to flash
2024-07-09 08:46:46 +02:00
François Cartegnie
a6c62295e9
Merge pull request #30 from kienvo/ble-init
...
feat: Bluetooth LE initial setup
2024-07-09 08:46:19 +02:00
François Cartegnie
69b530cbbb
Merge pull request #29 from kienvo/fix-fb
...
fix: Out of bounds on framebuffer access
2024-06-24 14:01:44 +02:00
François Cartegnie
0d44481e1e
Merge pull request #28 from kienvo/fix-linked-list
...
fix: Framebuffer linked list is misplaced on append
2024-06-24 14:01:14 +02:00
Dien-Nhung Nguyen-Phu
86e6f0db4d
feat: save received data from BLE to flash
2024-06-23 19:44:32 +07:00
Dien-Nhung Nguyen-Phu
8274cab154
feat: add initial Bluetooth LE module
2024-06-23 19:33:13 +07:00
Dien-Nhung Nguyen-Phu
2383bf65e5
fix: incorrect fb access
2024-06-23 18:07:07 +07:00
Dien-Nhung Nguyen-Phu
af1ffccd01
fix: fb linked list misplaced
2024-06-23 17:56:43 +07:00
Dien-Nhung Nguyen-Phu
3e9252f426
fix: missing deallocating
2024-06-15 12:19:16 +07:00
François Cartegnie
8039fa4fd7
Merge pull request #20 from kienvo/build-pipeline
...
Add build pipeline
2024-06-14 12:36:42 +07:00
Dien-Nhung Nguyen-Phu
37c3fb886c
chore: add build pipeline
2024-06-14 12:05:24 +07:00
François Cartegnie
98a741d933
Merge pull request #16 from kienvo/power-off
...
Add entering power-off mode
2024-06-13 15:31:18 +07:00
Dien-Nhung Nguyen-Phu
3ababf9fdf
btn: add entering power-off mode
2024-06-13 13:46:49 +07:00
François Cartegnie
52a0620676
Merge pull request #19 from kienvo/fix-first-2led
...
fix: first leds of the first two columns are switched
2024-06-13 11:11:24 +07:00
xieve
80c6508181
fix: first leds of the first two columns are switched
2024-06-13 00:07:57 +07:00
François Cartegnie
316ce879fd
Merge pull request #14 from kienvo/fb
...
Add dynamic framebuffer
2024-06-12 16:39:27 +07:00
François Cartegnie
590c66ef68
Merge pull request #12 from kienvo/brightness
...
Add brightness adjustment
2024-06-12 16:38:08 +07:00
Dien-Nhung Nguyen-Phu
a69b87e037
fb: modularized
2024-06-11 15:05:21 +07:00
Dien-Nhung Nguyen-Phu
6d09a8bb50
button: add brightness adjustment
2024-06-11 14:47:21 +07:00
François Cartegnie
1ae34de744
Merge pull request #13 from kienvo/xbm-support
...
Add support for .xbm bitmap file
2024-06-11 11:29:21 +07:00
François Cartegnie
0d4a46593c
Merge pull request #11 from kienvo/button
...
Add basic button functionalities
2024-06-11 11:24:32 +07:00
Dien-Nhung Nguyen-Phu
43416a62b9
button: add entering bootloader on KEY2 long press
2024-06-10 19:28:00 +07:00
Dien-Nhung Nguyen-Phu
799d8e43b5
button: add basic button functionalities
...
- Provided a way to set handler for each button one-press/long-press
- Debouncing with RC filter and Schmitt trigger
2024-06-10 19:26:48 +07:00
Dien-Nhung Nguyen-Phu
8815700322
Add support for .xbm bitmap file
...
.xbm is easy to include in C as source file. It could be viewed
and edited directly without need to be converted between images
and C array.
2024-06-10 12:34:37 +07:00