Commit Graph

61 Commits

Author SHA1 Message Date
dxl
846aa056e9 if battery to low, we can flash led to tips and quickly enter systemoff. 2023-06-06 20:29:15 +08:00
dxl
73344f499c Add bas, to watch battery level and notification. 2023-06-06 20:27:08 +08:00
dxl
ff75014db1 SAADC config and enable. 2023-06-06 20:26:19 +08:00
dxl
0f05ec3da8 Add saadc resource to project. 2023-06-06 20:25:54 +08:00
dxl
d5c0d9a63a if inactivity timeout, we can shutdown system, to protect battery. 2023-06-06 20:24:54 +08:00
dxl
ff294ceb28 Fix the issue of flash address being out of bounds. 2023-06-06 20:22:51 +08:00
dxl
a161333de6 add battery sense pin define(AINx) 2023-06-06 20:22:10 +08:00
dxl
31eaa0c73d inactivity timeout too long. 2023-06-06 20:21:09 +08:00
dxl
0ee1b3a283 type fixed. 2023-06-06 20:20:13 +08:00
dxl
39a972b05b macro for low battery shutdown timeout 2023-06-06 20:19:37 +08:00
ShigemoriHakura
115904a202 Merge main branch codes 2023-06-01 04:09:13 +08:00
ShigemoriHakura
d4e6c03efa Fix LF issue when read the card using pm3 2023-06-01 04:05:37 +08:00
ShigemoriHakura
f48c19f083 Merge remote-tracking branch 'upstream/main' 2023-06-01 01:02:45 +08:00
dxl
36e15e2712 Fix compile bug. 2023-05-30 12:03:27 +08:00
dxl
7666ac3e71 Delete the compatibility code of the original test development board, and iterate the subsequent hardware version starting from 1. 2023-05-30 11:49:03 +08:00
dxl
d5c32b7f77 Low frequency analog card optimization. 2023-05-30 11:45:54 +08:00
ShigemoriHakura
a43dc0a685 Merge remote-tracking branch 'upstream/main' 2023-05-23 01:00:23 +08:00
derGraph
ac25e14f28 Changed Chinese to English in app_main.c 2023-05-21 22:27:38 +02:00
ShigemoriHakura
e8a6371a8e Merge remote-tracking branch 'upstream/main' 2023-05-12 01:17:09 +08:00
derGraph
07248a1a6e Comment language
Changed the Comment language to English for better readability
2023-04-30 22:40:23 +02:00
ShigemoriHakura
11c102715e for vscode makefile and pyinstaller gitignore 2023-04-22 14:33:10 +08:00
dxl
766c905159 Delete all chinese(note o.0) 2023-03-22 11:39:29 +08:00
dxl
d240076373 Can get fw version and device chip id 2023-03-22 11:29:34 +08:00
dxl
7182809605 USB transport must initialize first. 2023-03-15 10:33:32 +08:00
dxl
bebd1047fc Send cmd to enter bootloader from application. 2023-03-15 10:30:17 +08:00
dxl
3cd24ca1a0 Comunication with BLE is implemented. 2023-03-14 16:15:06 +08:00
dxl
5987d1c329 Variable clearing 2023-03-14 15:45:40 +08:00
dxl
ad331a0f0a move some resource. 2023-03-14 15:37:17 +08:00
dxl
4799b01ea6 Move dfu_public_key.c to boot dir. 2023-03-13 18:23:23 +08:00
dxl
e61356d692 Optimize USB rgb marquee logic. 2023-02-27 22:57:07 +08:00
dxl
6d094acd60 The USB rgb marquee will be stop during tag simulation. 2023-02-27 22:55:25 +08:00
dxl
94856cf477 Modify the sleep countdown delay. 2023-02-27 21:53:17 +08:00
dxl
371cc7e7d5 Add logic to automatically initialize some factory data in main. 2023-02-27 17:30:05 +08:00
dxl
c92313bdc8 Add a tool function to determine whether a record exists. 2023-02-27 15:53:28 +08:00
dxl
11875bab1c Optimize rgb marquee. 2023-02-27 15:42:24 +08:00
dxl
ff7110d776 Optimize NFC module scheduling. 2023-02-27 11:22:46 +08:00
dxl
f478ecfa17 The lighting effect is basically completed(marquee). 2023-02-24 12:32:20 +08:00
dxl
deeec029e3 RGB water lamp. 2023-02-22 18:32:27 +08:00
dxl
9c44ab00b0 Complete the adaptation of LITE version of hardware. 2023-02-22 11:55:26 +08:00
dxl
7311be46a5 Use common resources to provide hardware-related interfaces and functions. 2023-02-22 11:53:33 +08:00
dxl
23ab54a3a3 Application completes the hardware distinction between ultra and lite versions. 2023-02-17 17:47:40 +08:00
dxl
e6ad3b63d0 Fix the problem that cannot pass through the firewall of some readers. 2023-02-10 14:05:55 +08:00
dxl
2847a8e27c Fix the USB loss event. 2023-02-10 11:22:00 +08:00
dxl
49238665a8 Move some res to header file. 2023-02-10 11:21:37 +08:00
dxl
096ec40b19 Temporarily use macro definitions for version compatibility. 2023-02-10 11:20:44 +08:00
dxl
384114d2ef Add CMD for set and get card slot data nicknames. 2023-02-10 11:19:44 +08:00
dxl
f16e56461d Add some utility functions. 2023-02-10 11:17:35 +08:00
dxl
583d5847a0 Print more information. 2023-02-10 11:16:27 +08:00
dxl
e3ca5bb032 Use optimization levels alone. 2023-01-03 17:17:47 +08:00
dxl
64c8684273 A log msg type fixed. 2023-01-03 14:45:30 +08:00