Commit Graph

44 Commits

Author SHA1 Message Date
NonPIayerCharacter
d4d6c69be3 BK7238 (#1527)
* beken new sdk + bk7238

* fix bk7238
2025-02-14 22:22:59 +01:00
NonPIayerCharacter
532a90313c TR6260 support (#1446)
* TR6260 initial

* fix gh-actions

* various fixes/features

* wifi fast connect fix

* fix gpio, add i2c

* move config to obk
2024-12-12 18:55:26 +01:00
Tester23
c00f1a968d temporary bl602 fix 2024-07-20 14:52:54 +02:00
openshwprojects
e1f8e59e13 simple IR2 driver for sending captures from flipper zero
* test

* Update drv_ir2.c

* fx

* fx

* fx

* qq

* test3

* tok

* test duty

* fx

* hdr

* fx

* fx

* tr

* n header

* tr

* tr

* fx

* fx

* test

* tr

tr

* fx

* simpler

* fx

* test

* fx

* dbg

* tr

* tr

* fx

* fx

* fx

* tr

* fx

* pin select

* fx

* fx

* Update drv_ir2.c

* Update drv_ir2.c

* try

* Update drv_ir2.c

* Update drv_ir2.c

* fx

* Update drv_ir2.c

* args len

* http_fn_cmd_tool: len

* better buffer handling

* try lager buffer

* clear

* Update drv_ir2.c

* long packet self tests

* Update drv_ir2.c

* Update drv_ir2.c

* alternate alias

* Queue size

* fx

* fx

* disable

* sample
2024-07-06 00:42:25 +02:00
giedriuslt
03d6824186 Stack size for BL is not enough to execute backlog commands (#1226)
Specifically "Save, Reset SVM and run file as script thread" crashes the chip due to stack overflow
2024-05-12 18:55:22 +02:00
Indu Prakash
643311d9b9 Increased stack size, added printf 2022-12-26 06:21:02 -06:00
Indu Prakash
2bcb79989b OTA support 2022-12-25 13:20:39 -06:00
btsimonh
dc00837cbc IDLE MUST RUN!!!
Added idle counter to 1s timer.
Added rtos_delay_milliseconds in 1s timer, inside OTA, and in http tcp server and client threads.
Reason: During OTA, it could get to a state where the IDLE thread got no time.
The problem with this is that the tcp_client thread stack never got released, and so during this time, the heap was reduced by 8k for each call, resulting in no more heap, and death (hang).
2022-10-25 12:31:24 +01:00
openshwprojects
ef019647cf increase http client stack size; add LFS read file to buffer function; make sure events are clear 2022-10-23 05:27:03 +02:00
Indu Prakash
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
root
fcffa95dca BL0937 - implemented energy counter. TODO: save to flash.
http server - buffer size change, added MQTT status information.
MQTT - connect event counter for debug purpose.
MQTT - debug outputs.
MQTT - ERR-ISCONN result bug fix.
MQTT - Wifi connection check added.
MQTT - connect/reconnect patch
Formatting changes. Reading code was sometimes hard.
bug fix new device.
bug fix http server
2022-10-03 09:45:23 +02:00
openshwprojects
89254bb461 RGB set api, silent the tcp message 2022-09-10 18:47:32 +02:00
openshwprojects
03a29f4882 EXPERIMENT: buffer tcp chunks up to 1kb and send them as about 1kb chunks, it seems to fix http server unresponsive in some rare cases. TODO: check on more cases if it really helps in general 2022-08-23 00:58:33 +02:00
openshwprojects
1706a296a6 xr809 mac change fix/hack as requested by ahkashinobi from Elektroda com 2022-08-09 17:31:58 +02:00
openshwprojects
9c913dd99e leave option to use old multithreaded http server 2022-08-09 16:34:33 +02:00
openshwprojects
d05551b07d try lower http buffer size, it seemingly makes http smoother (larger packets are split) 2022-08-01 18:47:36 +02:00
openshwprojects
7fbcd110f9 fixing compile warnings etc 2022-07-31 20:20:13 +02:00
openshwprojects
1c808cb785 EXPERIMENT: avoid memory allocation per TCP client (will help recover device if a memory problem occurs, will help avoid heap fragmentation and frequent malloc/free) 2022-07-17 10:21:54 +02:00
openshwprojects
8f657f57a2 that was not needed 2022-07-16 22:36:53 +02:00
openshwprojects
82424db897 w800 config and mqtt works 2022-07-11 14:22:53 +02:00
Richard Harman
f156c5fecd fix EOL whitespace 2022-05-29 09:32:47 -04:00
Richard Harman
fdbf665cfc fix line endings 2022-05-29 09:32:14 -04:00
openshwprojects
62a7d676c7 not needed header 2022-05-13 22:42:09 +02:00
openshwprojects
9b88617fa0 corrrect names for threads 2022-04-16 02:09:58 +02:00
openshwprojects
7ffa51c003 clear up reduntant headers 2022-04-15 20:49:49 +02:00
openshwprojects
04f48ac886 bl602 port p1 2022-04-15 20:31:43 +02:00
openshwprojects
db603b1ae4 gi, comments 2022-04-15 12:10:20 +02:00
openshwprojects
c1c5757574 ports logs and javascript app to xr809, clear up logging from duplicate log functions 2022-03-07 14:01:15 +01:00
openshwprojects
ba7aba3cb9 xr809 build logging.c 2022-03-07 09:55:00 +01:00
btsimonh
6fa8049892 add command POST at api/cmnd 2022-03-04 21:27:04 +00:00
ExploWare
94f4a8f600 Newlines all changed to Windows style 2022-02-27 23:21:09 +01:00
openshwprojects
50332533da xr809 functional config save, mqtt working, pins save, wifi save, mqtt save 2022-02-15 00:23:04 +01:00
openshwprojects
ccc2f92f6e xr809 support - initial version 2022-02-12 23:31:57 +01:00
btsimonh
b4115b9019 Merge remote-tracking branch 'origin/main' into littlefs 2022-02-12 17:58:32 +00:00
openshwprojects
7da9528431 XR809 tcp port - not tested 2022-02-12 17:32:16 +01:00
btsimonh
cff74553fa Add HTTP response code support plus other tweaks to help in responding 2022-02-12 11:08:20 +00:00
btsimonh
dd25a5a993 Logging update to include level and feature codes. 2022-02-10 21:07:38 +00:00
btsimonh
62fb793019 working json, plus some bugfixes 2022-02-08 18:45:31 +00:00
btsimonh
6a66798f9d add json parser? 2022-02-08 17:27:40 +00:00
btsimonh
25580f7367 Base http server on 'http_request' structure. It holds everything needed by a respondant to a request. 2022-02-07 18:35:02 +00:00
btsimonh
97142ea969 http server return bugfix 2022-02-06 20:25:19 +00:00
btsimonh
80e8e7f13a All warnings eliminated, 1 bug sorted. 2022-02-02 17:34:03 +00:00
btsimonh
e370b47f41 fix some warnings 2022-02-02 09:14:45 +00:00
openshwprojects
a4bd510392 SYNC btsimonh changes 2022-02-01 12:28:09 +01:00