53 Commits

Author SHA1 Message Date
openshwprojects
64ec573482
EXPERIMENT: allow alternate build permutations (with berry), should not break anything
* Update obk_config.h

* Update workflow.yaml

* Update obk_config.h

* v2

* Update workflow.yaml

* test

* tr3

* ffs

* save fx

* Update workflow.yaml

* APP NAME FX?

* Update workflow.yaml

* Update workflow.yaml

* Update workflow.yaml

* Update workflow.yaml

* test

* Update obk_config.h

* Update win_main.c

* Update Makefile

* test

* Update obk_config_berry.h

* test

* test

* matrix

* Update workflow.yaml

* Update obk_config.h
2025-04-17 22:51:58 +02:00
NonPIayerCharacter
9a7447fd4b
Fix T build (#1607) 2025-04-16 09:11:50 +02:00
Bartosz Nitka
7e1afd0fdf
[POC] Run berry-lang (#1544)
* setChannel(ch, v) in Berry

* try

* t2

* b

* fx

* update to berry with autogenerated files

* Add debug to find out whether the submodule is really checked out

* Revert "Add debug to find out whether the submodule is really checked out"

This reverts commit 40ec2f667716aa20180305ec7c3f1e61e88394c8.

* Add src/berry checkout to every build

* berry separate file p1

* #define ENABLE_OBK_BERRY 1 on Beken only

* Compile in obkSimulator

Compiles, but crashes in parser.
Seems like the Berry code has not been tested under MSVC2017.

* Checkout with submodules in obkSimulator workflow

* berry with ffs msvc fix

* berry autogen fiasco fix

* OpenBK7231T compiles from official berry, handle prebuild

Breaks obkSimulator

* Fix botched rebase on .gitmodules

* Build in msvc with a berry prebuild step (requires python)

* MSVC: also extend include directories for Release

* Fix BK723x build, extract common berry build rules into berry.mk

* Fix OpenBL602 build

This doesn't actually compile berry for OpenBL602, but makes compile
errors go away and marks where further work will be needed.

* working delayMs

Test Plan:
```
berry state = 1; var tick; def tick() state = 1 - state; channelSet(1, state); delayMs(1000, tick); end; tick();
```
can be stopped with `stopAllScripts`

* only use os_realloc on PLATFORM_BK7231T

* Move as much berry logic as possible out of cmd_script

* Guard more with ENABLE_OBK_BERRY

* upload script

* file operations & working import

* enough to implement "Advanced turn off after time with timer on UI and timer setting on UI and kept in flash"

* experiments

* clang-format -i src/berry/be_*.{h,c} src/cmnds/cmd_berry.c

* Remove redundant hfile != NULL

Calling with hfile == NULL would be bug in some other part of the code

* Don't checkout other submodules for simulator build

* remove stray debug & .user files

* Use be_newcomobj

* Build sim on linux

* build linux sim [2]

* threads & tests

* Leave enabled on Windows, disable on BEKEN

* SIM_RunWindow fix?

* allow "startScript test.be" as a shorthand for "berry import test" ??

* test?

* fix /

* test arg

* test2

* test

* test add

* fx

* test

* just checking if i can use import without module?

* test with module

* CMD_StopBerry fix?

* run obk command from berry? probably not good idea due to the stack size, will delay execution later?

* str arg

* test to see if i have to repeat import

* submit unfinished code

* concat tst

* more tests

* fix copy/paste mistake, add fib test

* fx

* channelSet

* fx

* try

* tester.fib(11)

* rename

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
Co-authored-by: NonPIayerCharacter <18557343+NonPIayerCharacter@users.noreply.github.com>
2025-03-30 20:37:37 +02:00
NonPIayerCharacter
544f48d022
ECR6600 (#1553)
* ECR6600

* fix macstr

* uart, bl0937

* vbat adc, ota

* pwm freq

* static ip, change mac

* update partitions
2025-03-07 22:11:42 +01:00
NonPIayerCharacter
969e5bfa50
RTL8720D (#1550)
* ambd

* update sdk, get current fw idx

* test

* ota

* reset if hard fault

* revert and fix

* uart flow control

* disable uart tcp debug by default

* test

* wifi test

* adjust lwip
adjust scan

* increase timeout

* enable ssdp, close uart tcp sockets on restart

* test

* pwm

* fix bl0942

* cut some code
2025-02-28 08:43:00 +01:00
NonPIayerCharacter
d4d6c69be3
BK7238 (#1527)
* beken new sdk + bk7238

* fix bk7238
2025-02-14 22:22:59 +01:00
NonPIayerCharacter
6ac1f260ed
RTL8710B/RTL8711AM (#1501)
* --

* test

* ota

* ameba1/rtl8711am

* workflow build

* uart tcp bridge driver

* fix build

* Static ip fix

* fix

* Rework amebaz ota

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
2025-02-01 19:04:23 +01:00
openshwprojects
9b84004ae7
Update workflow.yaml 2025-01-05 15:19:48 +01:00
NonPIayerCharacter
2a9a7270f2
RTL8710C/RTL8720C support (#1468)
* Move delay us and wdt to hals, update workflow

* rtl8720c initial

* move uart to hal

* rtl uart

* obk adjustments

* sdk adjustments, fix ota

* add some features

* fix some warnings

* esp uart + tr6260/esp tcp_msl

* add bl0937, adjust ota

* enable artifacts merge

* add forgotten ln882h delay

* fix mqtt, pwm on boot

* irq fix

* fix wifi disconnect

* update sdk, change lfs location and size

* Update Makefile
2025-01-01 12:11:49 +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
NonPIayerCharacter
c50515603a
ESP32 support (#1344)
* esp-idf

* fix, add s2, s3

* fix + ci

* fix naming

* ota

* adc

* reboot reason

* wdt + uart

* dht + ds1820

* fix esp32

* pwm

* uart hack

* fix build

* charts

* increase stack size

* tests

* fix timer

* optimize

* further c2 optimization

* gpio test, wifi reconnect fix

* gpio test

* Revert ledc freq

* cht83xx, increase inttemp stack size

* fix

* S3 fix, enable sht3x, pwm freq selection

* gpio & i2c fix attempt

* s2 fix

* Update defines for DHT

* Update sdk

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-11-06 14:47:22 +01:00
MaxineMuster
5906d536eb
Fix release sometimes missing windows binaries (#1405)
Update workflow.yaml try fix (sometimes) missing windows binaries by adding "build2" as "needs" for release
2024-10-29 08:46:52 +01:00
openshwprojects
20d21d0a53
testing (#1354)
* run

* print socketg error on change

* typo

* resa

* fix??

* try

* try error

* fix error, add more info

* some tests

* more self tests

* tests
2024-09-21 07:21:19 +02:00
Tester
a4975477e2 fix exapmples 2024-09-20 18:17:09 +02:00
Tester
d85528a2c1 copy bats 2024-09-20 08:33:03 +02:00
openshwprojects
4c716fb487
include samples (#1353) 2024-09-20 08:20:59 +02:00
Tester
649b02b655 fx 2024-09-20 03:35:54 +02:00
Tester
a548daaccc fx 2024-09-20 03:26:20 +02:00
Tester
907747d2e3 trying to fix gh path 1 2024-09-20 03:17:27 +02:00
Tester
b406424b77 test rel bin 2024-09-19 23:16:29 +02:00
Tester
f5751812c8 release bin p1 2024-09-19 23:03:20 +02:00
openshwprojects
23cf6c59d0
add sim bin - test
* Update workflow.yaml

* Update README.md

* Update new_pins.h

* Update workflow.yaml

* Update workflow.yaml

* fx

* fx

* fx

* rellll

* fix

* fix errors

* ddddddd

* qqq

* fx

* tr

* w

* s

* tr

* tr

* tr

* tr

* tr

* tr

* tr

* tr1

* tr

* tr

* test

* tr

* tr3

* fix

* tr1

* Update workflow.yaml

* dlls

* tr

* tr

* needs

* flat

* tr
2024-09-19 22:18:24 +02:00
openshwprojects
2c17531188
Update workflow.yaml 2024-06-05 17:28:23 +02:00
openshwprojects
9cdc340e9a
Update workflow.yaml 2024-06-05 16:16:03 +02:00
openshwprojects
db8fdda73b
Update workflow.yaml 2024-05-13 22:30:53 +02:00
DeDaMrAzR
df7d9abdcd
Update workflow.yaml (#1235)
both upload and download artifact should be v4...
2024-05-13 22:14:26 +02:00
DeDaMrAzR
19c5346945
Update workflow.yaml (#1234)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "OpenBK7231T_App_1232_merge_36e61294cc71".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2024-05-13 21:48:15 +02:00
openshwprojects
4174cf2dbb
Update workflow.yaml 2024-05-13 14:14:52 +02:00
openshwprojects
4984adea18
Update workflow.yaml 2024-05-13 14:04:53 +02:00
tarwirdur
632aa0f5ef
Draft: OpenLN882H autobuild support (#1041)
* OpenLN882H autobuild support

* LN882H: add _OTA.bin asset, changes in .relaserc.yaml, separate build directory for cmake
2024-01-20 08:13:21 +01:00
openshwprojects
0541c2de4a
Update workflow.yaml 2023-12-15 17:44:19 +01:00
openshwprojects
a8a68dfb2c
Update workflow.yaml 2023-12-15 17:38:01 +01:00
openshwprojects
7c16012817
Update Makefile (#630)
* Update Makefile

* Update .releaserc.yaml

* Update workflow.yaml
2023-01-22 13:39:25 +01:00
openshwprojects
8d30d40014
Update workflow.yaml 2023-01-22 10:55:10 +01:00
openshwprojects
18d03a8d71
Test BL602 ota (#628)
test release
2023-01-22 10:10:25 +01:00
openshwprojects
a9c3fbab71
Update workflow.yaml 2023-01-22 02:49:47 +01:00
openshwprojects
f339314002
test update workflow.yaml (#626)
* Update workflow.yaml

* Update workflow.yaml

* Update workflow.yaml
2023-01-22 02:44:59 +01:00
openshwprojects
f9fedf1697
Update workflow.yaml 2023-01-22 02:14:54 +01:00
openshwprojects
4923682eed
Update workflow.yaml 2023-01-22 02:01:53 +01:00
openshwprojects
ee64283926 release qio for T? 2022-10-29 08:23:39 +02:00
TallTechDude
301e8e446d feat: add W600 auto build 2022-10-14 04:55:11 +00:00
TallTechDude
f7b03b12e7 feat: add release notes to Github releases 2022-07-25 02:00:23 +00:00
TallTechDude
653e825a4a feat: add OpenW800 OTA .img file to relases 2022-07-23 04:44:19 +00:00
TallTechDude
bfd3d89718 feat: add OpenW800 Platform 2022-07-22 12:26:38 +00:00
TallTechDude
0f5bcb4e44 feat: add BL602 to automated release builds 2022-05-16 10:39:19 +00:00
Khaled Nassar
861bc93e72 Publish UG artifacts in releases for stock OTA 2022-04-12 13:56:34 +02:00
TallTechDude
a27281257b ci(sdk): automatically update SDK submodules 2022-03-02 18:11:04 +11:00
TallTechDude
9f933a9c19 fix: prevent other builds cancelling if one fails 2022-02-28 08:14:41 +11:00
TallTechDude
a360ac2337 fix: export QIO for BK7231N 2022-02-27 10:37:36 +11:00
TallTechDude
5a89e24ce4 feat: add multi-platform github actions matrix 2022-02-21 04:46:00 +00:00