Commit Graph

11 Commits

Author SHA1 Message Date
morris a1030307f1 gptimer: bringup driver on esp32c6 2022-09-13 10:50:58 +08:00
morris 995b89fbb6 gptimer: add API to get captured count value 2022-08-25 17:55:19 +08:00
morris 7faf1bee73 gptimer: add test with -O0 2022-08-02 22:53:36 +08:00
morris 2c810f8451 timer: save alarm value in driver layer 2021-12-23 11:39:32 +08:00
morris e2275b1f63 gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
SalimTerryLi 874a720286 soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
SalimTerryLi 443845fd54 timer_group: update reg headers for c3&s2&h2 and fix direct 8/16bit reg access 2021-08-19 18:56:32 +08:00
morris 9afdf54748 hal: added HAL_ASSERT 2021-06-22 11:28:01 +08:00
morris 5a520cacf1 timer_group: correct timer_ll_set_divider 2021-03-16 17:56:37 +08:00
Angus Gratton 27a9cf861e driver: Add esp32c3 drivers (except ADC/DAC) and update tests
Some ESP32-C3 drivers are still pending.

Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Angus Gratton 7c08be5771 hal: Add initial ESP32-C3 support
From internal commit 7761d6e8
2020-11-30 15:23:15 +11:00