Kuba Szczodrzyński
6bf549b104
[misc] Update .clang-format style
2025-05-28 15:50:18 +02:00
lamauny
69e7e2debe
[lightning-ln882h] Add support for Lightning LN882H family ( #312 )
...
* fix mbedtls bad pointer in function call (prototype mismatch)
* fix issue with weak families functions implemented in static library, it will never be linked. fixed by redefining prototypes inside families
* [ln882x] add support for lightning ln882x & ln882h families
* add i2c (wire) support
* add analog (adc) support
* add watchdog support
* [ln882x] changed default uart 0/1 pins; added board wl2s
* [ln882x] fix IRQ & ADC pins
* [ln882x] boards cosmetic
* [ln882x] wifi sta use otp mac addr by default; re-enabled wifi powersave mode
* [ln882x] clang-format clean code
* [ln882x] clang-format clean code
* Update families.json
* Apply suggestions from code review
* [ln882x] reformat json board files
* [ln882x] os_queue cleanup
* [ln882x] removed Beken auto-download command
* [ln882x] removed personal script file
* [ln882x] removed unusefull pi section in debugging.md
* [ln882x] removed Arduino.h and changed private I2C definition
* [ln882x] updated README.md
* [ln882x] changed pin naming scheme to PA/PB
* [ln882x] clean code
* [ln882x] clean code
* [ln882x] add ota image verification
* Update push-dev.yml
* [ln882x] fix boards ADC missing inputs]
* [ln882x] removed reg_xxx fixup files and use include guards instead
* [ln882x] cleanup code
* [ln882x] cleanup code
* [ln882x] fix lt_init weak functions linking
* [ln882x] revert lt_api.h modification, fixed with previous commit
* [ln882x] setup UF2 firmware for flasher with partitions
* [ln882x] update README.md
* [ln882x] include ln_wifi.h and ln_serial.h to avoid including bad headers on case insensitive systems
* [ln882x] Replace RingBuffer by SerialRingBuffer
* [ln882x] clang-format
* [ln882x] update README.md
* Apply suggestions from code review
* Reformat board JSON files
* Add mkdocs link redirect
* Update ltchiptool to v4.12.0
---------
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
2025-03-25 17:26:53 +01:00
Kuba Szczodrzyński
6083cca72e
[misc] Update style to clang-format 19, black 25 and isort 6
2025-01-30 18:50:55 +01:00
Hajo Noerenberg
2ea0066536
[common] Make Serial RX buffer size configurable, increase default to 256 bytes ( #313 )
...
* Make Serial RX buffer configurable and set default to 256 bytes
* Replace RingBuffer by SerialRingBuffer
2025-01-13 12:14:41 +01:00
devgs
e1c5761df9
[beken-72xx] Allow setting deep sleep wake-up pins as floating ( #275 )
...
According to guide `gpio_stay_*_map` are specifically there to prevent
pulling pins to a specific level and let them float during deep sleep.
https://docs.bekencorp.com/sdk_3.0.x/bk7238/build/en/latest/developer-guide/power_save/sleep_test.html
This allows any external low-power circuitry to change a pin level, as
required, to trigger the wake up
This requires changes in BDK and was implemented via fixup. Also, exposed
`gpio_stay_lo_map` parameter via `lt_deep_sleep_keep_floating_gpio` to
manage this configuration for pins in range P0-P31.
2024-09-05 14:45:48 +02:00
Kuba Szczodrzyński
21a194f43d
[core] Fix lwIP debugging support
2024-05-31 14:58:38 +02:00
Kuba Szczodrzyński
3b36a70c9a
[core] Fix ESP_LOG#() macro syntax
2024-05-18 13:50:10 +02:00
cap9qd
cf52021d38
[core] Split reboot reasons due to wakeup ( #254 )
...
* Updates to break out wakeup reasons.
Per https://github.com/libretiny-eu/libretiny/issues/234
* Update cores/common/base/api/lt_device.h
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
* fix clang-format
* Fix formatting of python files.
* Update lt_device.h
---------
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
2024-02-25 18:45:22 +01:00
Kuba Szczodrzyński
1ac3d30d84
[libs] Implement Update MD5
2023-08-29 19:19:28 +02:00
Kuba Szczodrzyński
27393e47c3
[beken-72xx] Initialize UART to fix deep sleep
2023-08-23 16:08:03 +02:00
Péter Sárközi
93e0a5d066
[beken-72xx] Implement deep sleep ( #140 )
...
* Initial support code for Deep Sleep
* Global functions
* Remove unnecessary override
* clang-format
* Support for multiple pins
* Fix math
* Add a way to unset GPIOs
* Clang format
* Update brief
---------
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl >
2023-07-13 18:00:14 +02:00
Kuba Szczodrzyński
4d81fcac26
[realtek-ambz2] Flash bootloader & partition table in UF2
2023-07-13 17:00:42 +02:00
Kuba Szczodrzyński
a3bbdf1c16
[core] Migrate to uf2ota v5.0.0, refactor OTA API
2023-07-13 12:15:48 +02:00
Kuba Szczodrzyński
39df2e7b54
[core] Move C types to API units
2023-07-13 12:06:37 +02:00
Kuba Szczodrzyński
e38e53bac0
[core] Split lt_api.c into separate units
2023-06-22 18:30:14 +02:00
Kuba Szczodrzyński
b38a4d5d46
[core] Add hardware peripheral availability defines
2023-06-21 17:02:48 +02:00
Kuba Szczodrzyński
73ede2838c
Merge branch 'master' into family/ambz2
2023-06-20 18:53:46 +02:00
Kuba Szczodrzyński
05e13dafed
[beken-72xx] Rename BK7231U to BK7231T, add BK7231Q family
2023-06-20 17:19:21 +02:00
Kuba Szczodrzyński
6135e4f7b0
[boards] Update flash layouts, add W302 chip
2023-05-29 16:16:58 +02:00
Kuba Szczodrzyński
4532c88873
[core] Add lt_set_debug_mode() function, update core types
2023-05-27 16:03:46 +02:00
Kuba Szczodrzyński
4dae304f51
[core] Add lt_get_device_mac() function
2023-05-25 20:43:00 +02:00
Kuba Szczodrzyński
bc74c21599
[realtek-ambz2] Enable compilation of Arduino core
2023-05-24 13:02:33 +02:00
Kuba Szczodrzyński
b073290989
[realtek-ambz2] Implement base C API
2023-05-23 19:54:00 +02:00
Kuba Szczodrzyński
07e9aa1ded
[realtek-ambz2] Make compiling base core possible
2023-05-19 10:42:59 +02:00
Kuba Szczodrzyński
752768b1e2
[docs] Update supported chip list, remove AmebaZ2 boards for now
2023-05-18 21:03:08 +02:00
Kuba Szczodrzyński
8337ac121e
[core] Fix reentrant malloc wrappers
2023-05-01 20:58:37 +02:00
Kuba Szczodrzyński
dbc905dca3
[core] Rename project to LibreTiny
2023-04-27 23:30:46 +02:00
Kuba Szczodrzyński
461e4c6df0
[core] Prepare for project name change
2023-04-24 11:35:39 +02:00
Kuba Szczodrzyński
c5361a4738
[beken-72xx] Use realloc() based on malloc()
2023-04-22 18:29:52 +02:00
Kuba Szczodrzyński
42c18859f3
[core] Update ltchiptool to fix activating OTA
2023-04-22 18:10:47 +02:00
Kuba Szczodrzyński
63ac7b365d
[core] Add ESP inline library
2023-03-20 21:29:57 +01:00
Kuba Szczodrzyński
2882eaa0c2
[core] Print platform versions, add GCC version to startup banner
2023-03-17 17:32:28 +01:00
Kuba Szczodrzyński
8faffedddc
[core] Fix swapped flash reading/writing API
2023-03-16 17:48:34 +01:00
Kuba Szczodrzyński
4e3b081c60
[core] Include GCC version in the startup banner
2023-03-13 17:27:21 +01:00
Kuba Szczodrzyński
c3f12ab247
[core] Rename CPU and memory APIs
2023-03-12 14:11:16 +01:00
Kuba Szczodrzyński
dfcb36361e
[docs] Refactor & update API documentation
2023-03-11 21:58:43 +01:00
Kuba Szczodrzyński
fd1afea1bc
[core] Refactor LT class into C methods
2023-03-10 19:08:55 +01:00
Kuba Szczodrzyński
3113b387c3
[boards] Move docs generation to GitHub Actions
2023-03-04 16:56:49 +01:00
Kuba Szczodrzyński
6d2b653f61
[core] Remove public FreeRTOS dependency
2023-03-04 12:47:45 +01:00
Kuba Szczodrzyński
47daefe675
[realtek-amb] Fix or suppress compilation warnings
2023-03-04 11:12:58 +01:00
Kuba Szczodrzyński
e8c18f4e66
[core] Add common malloc() implementation
2023-03-04 11:12:55 +01:00
Kuba Szczodrzyński
ce0a88147b
[realtek-ambz] Update base core to new structure
2023-03-04 11:10:30 +01:00
Kuba Szczodrzyński
b51501fb21
[beken-72xx] Update Arduino core to new structure
2023-03-04 11:10:18 +01:00
Kuba Szczodrzyński
bc328657aa
[beken-72xx] Update base core to new structure
2023-03-04 11:09:27 +01:00
Kuba Szczodrzyński
8bbc7e13fb
[core] Move arduino/ files to cores/
2023-03-04 11:05:28 +01:00
Kuba Szczodrzyński
f1ecb312c7
[core] Move platform/ files to cores/
2023-03-04 11:05:24 +01:00