esp32: Add support for ESP32-P4.

This commit adds support for ESP32-P4 SoCs.

Signed-off-by: Vincent1-python <pywei201209@163.com>
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Vincent1-python
2025-08-15 17:26:05 +08:00
committed by Damien George
parent 604cda5d54
commit e6f1f78713
31 changed files with 393 additions and 31 deletions

View File

@@ -47,6 +47,9 @@
#define TIMER_FLAGS 0
#if CONFIG_IDF_TARGET_ESP32P4
static uint8_t __DECLARE_RCC_ATOMIC_ENV __attribute__ ((unused));
#endif
const mp_obj_type_t machine_timer_type;
static mp_obj_t machine_timer_init_helper(machine_timer_obj_t *self, mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args);