90 Commits

Author SHA1 Message Date
Lyon
0adbb62369 format and push pkgs, fix SOFT_IIC 2023-07-15 14:59:56 +08:00
李昂
84ba0114f0 auto apply patches 2023-07-15 14:55:29 +08:00
Lyon
1f92b8135c using clang-tidy and add format.py to auto-format 2023-07-09 23:12:21 +08:00
lyon
aeb7c0e8d0 use new pika_event api 2023-06-10 01:47:11 +08:00
pikastech
270f476dec support parity, databits and stopbits for std uart 2023-04-17 21:38:43 +08:00
pikastech
d2ae781a18 fix typo 2023-03-30 11:33:13 +08:00
pikastech
1faaacafb7 add STD_in/out ctrl on soft_iic 2023-03-30 11:21:12 +08:00
pikastech
5fdf6701e0 add SOFT_IIC.c
add hal_SOFT_IIC
2023-03-30 11:13:58 +08:00
pikastech
fc5e21140b fix ci, fix wars 2023-02-27 19:47:46 +08:00
lyon
91f9d74082 fix read too many bytes from uart.readBytes() 2023-02-03 17:11:47 +08:00
lyon
4c553fdb3e use new WIFI hal framework 2023-01-27 22:47:48 +08:00
lyon
897a7eba0b fix str() for bytes 2023-01-26 15:58:58 +08:00
lyon
9b82685e4d check faild on network
fix pos to kw when no enough pos

ifconfig test ok
2023-01-25 14:13:09 +08:00
lyon
262bc09f1e test wifi sacn on linux 2023-01-25 00:25:18 +08:00
lyon
ecd12f75a1 network from hal OK 2023-01-24 23:40:41 +08:00
lyon
835574e687 add wifi.state enum 2023-01-24 21:10:06 +08:00
lyon
012022dea4 add network module, add WIFI hal 2023-01-24 21:00:02 +08:00
lyon
065faab243 support str(type()) again 2023-01-23 23:53:40 +08:00
李昂
312e708525 update pika_hal and pikaobj 2023-01-18 12:23:30 +08:00
lyon
6f8c270871 fix warning when enum use 1byte on armcc 2023-01-10 20:57:06 +08:00
lyon
8021938826 redirect PikaStdDevice.Time to time, fix msc 2023-01-10 11:41:21 +08:00
lyon
1610574158 error when import pyi from pyi, and imported def fn 2023-01-09 21:56:45 +08:00
lyon
79df1cf1cc move PikaStdDevice.Time to time 2023-01-09 20:35:22 +08:00
lyon
e62072fe0b add close() for std 2022-12-28 06:41:36 +08:00
lyon
87ace89752 update std, add SOFT_SPI 2022-12-27 18:53:26 +08:00
lyon
7d79a22271 fix std and mqtt 2022-12-27 16:07:22 +08:00
lyon
83680dce51 Merge branch 'master' into mqttdev 2022-12-27 16:04:29 +08:00
lyon
61a3707705 add std_common 2022-12-24 14:54:46 +08:00
lyon
72fb6bd5ed update port std 2022-12-23 20:30:56 +08:00
lyon
256319e035 update port linux std
fix baseDev.addEventCallBack

use setCallBack in std

update std

support flow control for uart

add flowcontrol API for std.uart
2022-12-23 18:43:08 +08:00
lyon
64091bcd55 fix platform_getTick, fix socket LWIP gethostname 2022-12-23 17:58:12 +08:00
lyon
2bf121afcb use EVENT_SIGNAL on event_callback 2022-12-22 14:54:51 +08:00
lyon
f400b027d9 add HAL_EVENT_CALLBACK_ENA config 2022-12-22 14:23:21 +08:00
lyon
fce67d309d use WEAK for std.time 2022-12-20 22:44:39 +08:00
lyon
fd6d39143c support uart for std by pika_hal 2022-12-19 16:56:53 +08:00
lyon
140e8e19c8 save cb to a new object 2022-12-18 19:22:43 +08:00
lyon
765d32483f add __platform_panic_hanlde 2022-12-17 16:02:59 +08:00
lyon
cfef8564f5 fix stddevice 2022-12-07 19:25:28 +08:00
pikastech
7b95d1c20f fix va_start err on ac5 2022-11-23 19:07:08 +08:00
lyon
4c69dd29cc use 2M default spi speed 2022-11-21 22:23:40 +08:00
lyon
f695d8c0c4 typo 2022-11-21 22:12:28 +08:00
lyon
c0a57aa6d1 fix name 2022-11-21 22:10:52 +08:00
lyon
89e00e2043 rm _MAX enum
support default config and merge unused config
2022-11-21 22:09:22 +08:00
lyon
7e3c43dfa9 cancel _MAX for numed enum 2022-11-21 19:07:31 +08:00
lyon
33501dbb33 move api to top of file 2022-11-21 18:28:10 +08:00
lyon
c9b9fc2d4a complate config for HAL
more event_callback and more HAL config
2022-11-21 18:27:27 +08:00
lyon
e288c40a2c fix pika_hal enum 2022-11-21 17:04:23 +08:00
lyon
2344903b89 update PikaStdDevice to port/linux
use unused as defult enum
2022-11-21 17:02:18 +08:00
lyon
2ad9caacc9 add test for hal, use table_map for hal 2022-11-20 23:55:03 +08:00
pikastech
fa374c72da adding pika_hal 2022-11-20 22:16:41 +08:00