esp-idf-lib
esp-idf-lib copied to clipboard
Component library for ESP32-xx and ESP8266
This allows us to use `-wwrite-strings` over the repo. Otherwise we get: ```c /home/dank/esp/build/_deps/espidflib-src/components/max1704x/max1704x.c:101:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | static char *TAG =...
Fixed typo in the tca6424a_set_level func, that caused any pin set to disable other 7 pins
scd4x self-calibration passes `bool` and `bool*` to `execute_cmd()`, but this function eventually swaps its 16-bit argument words. a `bool` is typically represented by a single byte, and thus the `swap()`...
yes, these are just multiplied, and multiplication of integers is commutative, so the resulting size will be correct either way. with the parameters inverted, however, alignment requirements might be incorrect.
This is a premature PoC, calling for feedback. I did not test it with a real hardware. There should be style violations and other run-time errors. Never ported any dependent...
an update for support esp32-s3 for devices max1704x
### The issue The [`CONTRIBUTING.md`](https://github.com/UncleRus/esp-idf-lib/blob/1abe2e5194b1a45c8878229ad893a058816cdd18/CONTRIBUTING.md#L483) file contains broken links in lines: https://github.com/UncleRus/esp-idf-lib/blob/1abe2e5194b1a45c8878229ad893a058816cdd18/CONTRIBUTING.md?plain=1#L86 https://github.com/UncleRus/esp-idf-lib/blob/1abe2e5194b1a45c8878229ad893a058816cdd18/CONTRIBUTING.md?plain=1#L483 Mentioned workflows do not exist anymore. ### The context These workflows were removed in cb25d34e2ec585cd05da8f5b1f28e077447a19e6. ### Possible...
The `value` in `_write_reg` could be a _pointer to const_. This PR fixes that.
Add support for NXP RTC PCF2132 Datasheet: [https://www.nxp.com/docs/en/data-sheet/PCF2131.pdf](https://www.nxp.com/docs/en/data-sheet/PCF2131.pdf) Done: - RTC init - Set Time - Read Time ToDo: - Alarms - Timestamp - Advanced config in registers