Commit Graph

1178 Commits

Author SHA1 Message Date
gemu2015 7831c72be5 add setgain 2022-08-08 13:58:54 +02:00
gemu2015 a97c5d8dae add codec wm8960 2022-08-08 13:58:34 +02:00
Stephan Hadinger 299cc5a87b Fix PWM for ESP32 variants 2022-08-05 10:11:56 +02:00
Stephan Hadinger 4dc6adf37f Temp fix for ledcReadFreq() 2022-08-02 23:21:12 +02:00
Stephan Hadinger abf352c8f8 Fix remapping of ledcReadFreq 2022-08-02 19:39:27 +02:00
Stephan Hadinger f45cd5e905 Fixed comments and cleaned up 2022-08-02 10:07:55 +02:00
Stephan Hadinger 47b1f40245 Fix PWM to allow 4 different frequencies 2022-08-01 19:27:49 +02:00
gemu2015 d8fbc5eaf2 fixes memory problems 2022-07-26 15:25:00 +02:00
Stephan Hadinger 9ac38cb9d2 Berry remove unused registry code 2022-07-26 09:51:38 +02:00
s-hadinger cc5fb02653
Merge pull request #16081 from s-hadinger/berry_fix_ref_call
Berry remove unnecessary ref push
2022-07-25 23:14:49 +02:00
Stephan Hadinger 0b7d8ac668 Berry remove unnecessary ref push 2022-07-25 22:49:58 +02:00
Stephan Hadinger 197e25132c Berry fix reference when exeception is raised 2022-07-25 22:32:26 +02:00
Theo Arends c17e73aa9b Refactor analogWrite library 2022-07-22 15:13:41 +02:00
stefanbode 51472ef842
Update esp8266toEsp32.cpp 2022-07-22 14:45:10 +02:00
stefanbode c1fba57bb6
Update esp8266toEsp32.cpp 2022-07-21 10:05:11 +02:00
stefanbode dda1889a7c
Update esp8266toEsp32.h 2022-07-21 09:54:37 +02:00
gemu2015 df9a99944e add shine mp3 encoder 2022-07-20 20:47:42 +02:00
Stephan Hadinger d3837a8b3a ESP32 LVGL library from v8.2.0 to v8.3.0 2022-07-20 09:36:22 +02:00
gemu2015 ef89614b74 ad fixed is2 mclk 2022-07-15 14:46:23 +02:00
gemu2015 82d668144e update sbox codecs 2022-07-11 09:10:10 +02:00
Stephan Hadinger d5ed1abf07 Berry add tasmota.remove_fast_loop() 2022-07-10 19:34:04 +02:00
CCTweaker 5aadcc7b36
Update LedMatrix.cpp
I have a few MAX7219 modules that use a different column assignment and the 2 already implemented orientations did not work for me.

After these changes DisplayRotate 1 and DisplayRotate 3 commands do what they are supposed to do.
2022-07-08 11:42:55 +03:00
Theo Arends 324e4e1084
Merge pull request #15942 from gemu2015/sbox_support
Sbox support
2022-07-07 22:12:08 +02:00
Stephan Hadinger 5e758db898 Berry tcpserver 2022-07-07 19:28:17 +02:00
gemu2015 1f70dc8f97 inverted backpanel 2022-07-07 13:31:52 +02:00
gemu2015 4f84d0f5e3 add sbox codecs 2022-07-07 13:28:45 +02:00
gemu2015 c3856a6873 sbox support 2022-07-07 13:27:48 +02:00
Stephan Hadinger 9f8fffd6ba Berry fix potential crash when parsing unfinished strings 2022-07-07 13:24:03 +02:00
Stephan Hadinger 389543d36f Berry fix regression 2022-07-06 23:13:35 +02:00
Stephan Hadinger 69de76338c Berry allow setmember() to fail with `false` or `undefined` 2022-07-05 21:14:50 +02:00
s-hadinger 57f714eade
Merge pull request #15916 from Staars/development
ESP32: support ULP via Berry
2022-07-02 23:10:19 +02:00
Christian Baars ea90138181 add the missing '@' 2022-07-02 22:59:10 +02:00
Christian Baars e730f43d26 change error reporting for adc_config 2022-07-02 22:33:31 +02:00
Stephan Hadinger 73dd995c3b Berry solidify to file 2022-07-02 21:46:02 +02:00
Christian Baars a793296bc1 ESP32: support ULP via Berry 2022-07-02 21:30:04 +02:00
Stephan Hadinger 74b11c8e3b Berry update tests for module undefined 2022-07-02 16:58:51 +02:00
Stephan Hadinger 9bf0d7fb4e Berry sync with upstream 2022-07-02 16:27:37 +02:00
Stephan Hadinger 8348b3fb25 Fix Berry lexer regression 2022-07-02 15:48:48 +02:00
Stephan Hadinger 7e0f69e935 Partition Wizard use ota.tasmota.com 2022-07-02 00:13:27 +02:00
Stephan Hadinger e551c8743b Rename pycoc to coc 2022-07-01 22:39:23 +02:00
Stephan Hadinger aaa87365f0 Berry prefer `static var` syntax 2022-07-01 19:56:09 +02:00
Stephan Hadinger df7d056b51 Fix compiler warning in Berry lexer 2022-06-30 22:25:09 +02:00
Stephan Hadinger 2a620cd285 Berry fix crash on ESP32 early revisions 2022-06-29 10:16:01 +02:00
Stephan Hadinger 9a74a63740 Berry improved mqtt.unsubscribe() 2022-06-26 18:59:31 +02:00
s-hadinger b744c2e9b3
Merge pull request #15863 from s-hadinger/Berry-improved-bool
Berry improved booleans
2022-06-24 23:34:51 +02:00
Stephan Hadinger 147bbc133e Berry improved booleans 2022-06-24 23:17:33 +02:00
Stephan Hadinger c9e49f7432 Berry add string.replace() 2022-06-24 23:12:49 +02:00
Stephan Hadinger 8aaf620cd0 Berry bytes.ismapped() 2022-06-22 19:05:53 +02:00
Theo Arends ffcf90bdfe Refactor sendmail 2022-06-21 16:53:58 +02:00
Theo Arends 1747348558 Fixed ESP32 SendMail not working over ethernet
Fixed ESP32 SendMail not working over ethernet (#15794)
2022-06-20 17:44:11 +02:00
Theo Arends 541be4a8ab Add telegram DNS checks 2022-06-20 10:49:23 +02:00
Theo Arends c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00
Stephan Hadinger dd364c92da Berry comobj standard deallocator 2022-06-16 22:37:33 +02:00
Stephan Hadinger 49875be903 Berry fix int64 deinit 2022-06-16 22:14:42 +02:00
Stephan Hadinger fb3459b1eb Fix compilation warning 2022-06-15 23:03:22 +02:00
s-hadinger 633dd61be5
Merge pull request #15803 from s-hadinger/berry_comobj_typo
Berry fix typo
2022-06-15 22:34:09 +02:00
Stephan Hadinger 6b0fbf0798 Berry fix typo 2022-06-15 22:23:22 +02:00
Stephan Hadinger 9b26c01dd0 Berry virtual member can return nil 2022-06-15 22:00:31 +02:00
Stephan Hadinger 2a7ef01429 Ported berry_ctypes to python 2022-06-08 22:11:22 +02:00
Stephan Hadinger af41d81c5a Berry ctypes small optimization 2022-06-07 22:20:42 +02:00
Stephan Hadinger 0aefb278cd Berry optimization of crypto module 2022-06-07 21:59:27 +02:00
Stephan Hadinger ffbc95717a Berry weak strings 2022-06-06 21:01:12 +02:00
Jason2866 d7305828d5
Merge branch 'arendst:development' into rm_dead_code 2022-06-04 16:58:46 +02:00
Stephan Hadinger 82d4e14171 Cleaning unused variables 2022-06-03 22:57:05 +02:00
s-hadinger bb582191dd
Merge pull request #15741 from s-hadinger/berry_bytes_tohex
Berry bytes().tohex()
2022-06-03 22:29:10 +02:00
Stephan Hadinger 872ea1377a Berry bytes().tohex() 2022-06-03 22:08:48 +02:00
Stephan Hadinger 7232f5865d Berry int() now accepts hex strings 2022-06-03 21:51:20 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00
Stephan Hadinger 19ff938d09 Berry Zigbee support payload of zcl_frame as bytes() 2022-06-01 22:06:57 +02:00
Theo Arends e8376885ff Fix another future compile error 2022-05-31 15:29:03 +02:00
Stephan Hadinger 82636e41b5 Berry LVGL fix memory leak in log reader 2022-05-29 18:32:04 +02:00
Stephan Hadinger ce33aa5f9d Berry zigbee phase 1 2022-05-24 22:45:04 +02:00
Stephan Hadinger 2a38c1c0f6 Berry add crc.sum() 2022-05-24 22:06:50 +02:00
Stephan Hadinger 208077c808 Berry add bytes().fromhex() 2022-05-24 21:52:37 +02:00
Jason2866 b1223ad933 fix VSC intelisense warning 2022-05-24 16:50:39 +02:00
Stephan Hadinger 999b477419 Simplified SBuffer 2022-05-23 21:12:47 +02:00
Stephan Hadinger fc3907677b Berry improve precompiled gen.sh 2022-05-23 21:06:36 +02:00
Stephan Hadinger 18dee9ff3b Partition_core suppport unknown types 2022-05-21 19:02:58 +02:00
Stephan Hadinger 086c4d6371 Rename OpenHASP to HASPmota 2022-05-20 21:29:39 +02:00
Jason2866 1fda07cd2c
rm commented code 2022-05-18 20:20:53 +02:00
Jason2866 91724dc8c1
Update README.md 2022-05-16 13:30:20 +02:00
Stephan Hadinger c4767578a0 OpenHASP fix dropdown direction 2022-05-13 22:39:51 +02:00
Stephan Hadinger 1e55a9ba50 OpenHASP support for dropdown attributes 2022-05-13 22:28:17 +02:00
Stephan Hadinger e6411a5d69 OpenHASP support for roller's text attribute 2022-05-13 12:12:48 +02:00
Jason2866 232594153d
Update tasmota_lib_changes.md 2022-05-12 12:41:48 +02:00
Stephan Hadinger aa1a0179a4 OpenHASP event value 2022-05-11 22:50:17 +02:00
Theo Arends 865ba51b7a Add command upload 2
Add command upload 2 to upload saveboot binary from production partition
2022-05-11 14:31:39 +02:00
s-hadinger 8814a60678
Merge pull request #15588 from s-hadinger/remove_getFlashChipSize
Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()`
2022-05-10 23:31:58 +02:00
Stephan Hadinger 957c0a369d Remove `ESP.getFlashChipSize()` replaced by `ESP_getFlashChipSize()` 2022-05-10 23:15:26 +02:00
Stephan Hadinger a3c5a190de Berry partition_core fixes 2022-05-10 23:13:27 +02:00
Stephan Hadinger b5206206d7 OpenHSAP fix `val` attribute for `roller` and `slider` 2022-05-10 21:31:18 +02:00
Stephan Hadinger 350b670fa0 Esp32 real flash size 2022-05-09 22:43:27 +02:00
Stephan Hadinger 0b701d1643 Berry allow multiple string literal 2022-05-09 12:36:30 +02:00
Christian Baars 0e87f06ba6 Berry: add content_response() to webserver 2022-05-08 18:00:15 +02:00
Stephan Hadinger 8689563d90 Berry add additional primitives to partition_core 2022-05-08 14:15:36 +02:00
Stephan Hadinger 190b9ca17f Berry flash.factory and partition_core 2022-05-06 20:31:24 +02:00
s-hadinger cf8fe9e147
Merge pull request #15560 from s-hadinger/openhasp_support_strings_in_template
OpenHASP support string in template
2022-05-06 19:07:03 +02:00
Stephan Hadinger 02cafa1c85 OpenHASP support string in template 2022-05-06 18:57:49 +02:00
Stephan Hadinger 9e87e36ff0 Berry fix crash with GC for ctype 2022-05-05 19:10:20 +02:00
Stephan Hadinger f28dc39b82 Berry flash write unaligned and download to flash 2022-05-04 21:13:32 +02:00
Stephan Hadinger 5fbf1f266f Berry flash.factory() 2022-05-01 17:30:33 +02:00
Stephan Hadinger 495bfaf047 Berry add ota rollback 2022-05-01 16:14:19 +02:00
Stephan Hadinger 66aa714524 Berry partition manager display factory partition 2022-04-30 18:50:05 +02:00
Stephan Hadinger c394830f99 Berry make partition manager compatible with single OTA 2022-04-30 17:00:24 +02:00
Stephan Hadinger 83ba50f904 Berry make commands and rules reentrant 2022-04-30 12:48:06 +02:00
Stephan Hadinger 80cb0564cd Berry easier MQTT subscribe 2022-04-29 23:43:55 +02:00
s-hadinger 950933cafa
Berry rename solidified partition to partition_core (#15482)
* Berry rename solidified partition to partition_core

* Add init to force `partition_core` as global
2022-04-29 12:03:19 +02:00
Stephan Hadinger fd3bce508c Berry use crc32 code from esp rom 2022-04-29 10:19:47 +02:00
Stephan Hadinger d3e55ad43e Berry solidification of the partition core engine 2022-04-27 18:16:15 +02:00
Stephan Hadinger 79c171892b Berry fix wrong solidification of class name 2022-04-27 18:11:34 +02:00
Stephan Hadinger 002bc266eb Berry improve logging when using `load()` 2022-04-27 09:40:56 +02:00
Stephan Hadinger 8547cdaa0d Berry fix pointer warning 2022-04-26 23:01:10 +02:00
Stephan Hadinger 55d66c96d3 Berry fix assertion violation when loading bytecode 2022-04-26 22:28:41 +02:00
Stephan Hadinger 2106c5aa56 OpenHASP fix touch event 2022-04-25 19:24:55 +02:00
Theo Arends 522bccb3e2 Initial support for USB serial
Initial support for USB serial when define ARDUINO_USB_CDC_ON_BOOT=1
2022-04-24 17:36:10 +02:00
Stephan Hadinger 91b58679f3 OpenHASP add page events 2022-04-24 16:41:23 +02:00
Jason2866 c6120614d4
fix compile error with latest Arduino32 core
needs proper fix from upstream library
2022-04-24 16:04:46 +02:00
Stephan Hadinger efb2423b88 OpenHASP support for qrcode 2022-04-24 10:18:40 +02:00
Stephan Hadinger a6e0e96d3c LVGL improved qrcode intergation as actual class 2022-04-23 18:55:03 +02:00
Stephan Hadinger 81a8ff273a OpenHASP memory optimization 2022-04-22 22:36:45 +02:00
Stephan Hadinger 71010423eb Sync with latest Berry PRs 2022-04-20 22:57:07 +02:00
Stephan Hadinger 80ab5c3060 LVGL fix conflict between SPI DMA and SD card 2022-04-17 22:47:26 +02:00
Stephan Hadinger b422274e00 Berry support for SD card 2022-04-16 12:29:01 +02:00
Stephan Hadinger 7c48ba0c73 LVGL and OpenHASP for M5Stick 2022-04-14 23:19:05 +02:00
s-hadinger be18aaae18
Merge pull request #15366 from s-hadinger/zip_fs_prep_arduino
Prepare for Arduino PR #6569
2022-04-13 19:23:47 +02:00
Stephan Hadinger 2c12266b1b Prepare for Arduino PR #6569 2022-04-13 19:15:20 +02:00
Theo Arends 97a41afe14
Merge pull request #15361 from stibus/fix/SCD40
Fix SCD40 start low power command
2022-04-13 16:31:10 +02:00
Stefan Tibus 5ef4508618 Clean-up use of `duringMeasurement` flag
- remove obsolete integer `duringMeasurement`
- change boolean `DuringMeasurement` to lower case
- replace integer assignments with boolean assignments
2022-04-13 10:29:00 +02:00
Stefan Tibus 31bbea7502 Remove declaration of unused `co2AvgExtra` 2022-04-13 00:32:28 +02:00
Stefan Tibus 94e2c2f9da Fix early return in `startLowPowerPeriodicMeasurement`
In method `FrogMoreScd40::startLowPowerPeriodicMeasurement` the `return`
statement appeared before the update of the `DuringMeasurement` flag.
Thus, the class would wrongly assume not be in measurement mode and a
subsequent `stopPeriodicMeasurement` would fail. Moved the `return`
statement to after setting the flag.
2022-04-13 00:15:47 +02:00
Stephan Hadinger 18239d9ca3 Berry stack resize debug mode 2022-04-10 22:28:22 +02:00
Stephan Hadinger ad5a31993a OpenHASP solidified 2022-04-09 11:40:41 +02:00
Stephan Hadinger a5c852b047 Berry solidification toggle for string literals 2022-04-09 09:50:17 +02:00
Stephan Hadinger 6ee2ed80f7 Berry supper class in member 2022-04-08 19:53:55 +02:00
Stephan Hadinger e3ebffcc72 OpenHASP v1.0 2022-04-06 21:29:24 +02:00
Stephan Hadinger 4629bb4436 Berry support for int keys in map in solidification 2022-04-06 19:19:17 +02:00
Stephan Hadinger d9cfe6128a Berry prep for OpenHASP 2022-04-05 21:38:43 +02:00
Stephan Hadinger 0915664eae Berry improve asserts and stack size 2022-04-04 09:10:54 +02:00
Theo Arends e564da4313
Merge pull request #15239 from Staars/special_malloc
use special_malloc for external libs NimBLE-Arduino and HomeKit
2022-03-30 14:35:44 +02:00
s-hadinger 33120a85f4
Berry add `tasmota.publish_rule` (#15243)
* Berry add `tasmota.publish_rule`

* Fix return value
2022-03-28 22:29:06 +02:00
Staars b8fd073467 rename .c to .cpp 2022-03-27 17:57:35 +02:00
Staars 3ed44ce0dc use special_malloc for external libs 2022-03-27 17:54:18 +02:00
Stephan Hadinger 355d0ab6e1 LVGL split lv_clock and lv_clock_icon 2022-03-27 16:57:54 +02:00
Stephan Hadinger 4df75cd54b Berry introspect.module 2022-03-27 09:57:05 +02:00
Staars 4fe37a10a4 add watch and block, generated part 2022-03-25 10:16:42 +01:00
Staars cf80b826ac add watch and block, code changes only 2022-03-25 10:15:58 +01:00
Stephan Hadinger e06500cd58 LVGL roboto tapp improved 2022-03-24 13:00:08 +01:00
Stephan Hadinger 3a94f4aed9 Berry load increased logging 2022-03-23 10:56:12 +01:00
Stephan Hadinger 3aa22f9f6a LVGL add lv_font apis 2022-03-23 10:40:51 +01:00
Stephan Hadinger ead18b63d6 Berry bytes setfloat getfloat 2022-03-21 23:07:48 +01:00