RTEMS | riscv: Add ESP32-C6 chip definitions (!1186)
Kinsey Moore (@opticron)
gitlab at rtems.org
Wed Apr 8 17:04:29 UTC 2026
Kinsey Moore started a new discussion on bsps/riscv/esp32/include/c6/chip_definitions.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1186#note_148267
> +#include <bsp.h>
> +
> +#endif /* ASM */
> +
> +/*
> + * References: https://documentation.espressif.com/esp32-c6_technical_reference_manual_en.pdf#intmtrx
> + * The interrupt matrix supports 77 interrupts. The count of 78 below includes 77 peripheral interrupts plus
> + * invalid interrupt 1?
> + * Chapter 10 - Interrupt Matrix - Page 379
> + */
> +#define RISCV_MAXIMUM_EXTERNAL_INTERRUPTS 78
> +#define BSP_INTERRUPT_VECTOR_COUNT RISCV_MAXIMUM_EXTERNAL_INTERRUPTS
> +
> +#define BSP_INTERRUPT_CUSTOM_VALID_VECTOR
> +
> +// Table 10.3-1. CPU Peripheral Interrupt Source Mapping - page 380
The RTEMS project does not use `//` style comments.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1186#note_148267
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260408/0a7c89ac/attachment-0001.htm>
More information about the bugs
mailing list