RTEMS | RISC-V: Add support for ESP32-C3 (!1160)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Apr 1 03:23:39 UTC 2026




Kinsey Moore commented on a discussion on bsps/riscv/esp32/include/bsp/irq.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147741

 > + * SUCH DAMAGE.
 > + */
 > +
 > +#ifndef LIBBSP_ESP32_BSP_IRQ_H
 > +#define LIBBSP_ESP32_BSP_IRQ_H
 > +
 > +#include <rtems/score/basedefs.h>
 > +#include <bspopts.h>
 > +#define JOIN_PATHS(path1, path2) RTEMS_XSTRING(path1/path2)
 > +
 > +typedef int (*uart_tx_one_char_t)(uint8_t c);
 > +typedef void (*uart_tx_flush_t)(uint8_t uart_no);
 > +typedef unsigned char (*uart_rx_one_char_t)(unsigned char *char_in);
 > +typedef void (*gpio_output_set_t)(uint32_t set_mask, uint32_t clear_mask, uint32_t enable_mask, uint32_t disable_mask);
 > +
 > +#include JOIN_PATHS(ESPRESSIF_CHIP_VARIANT, chip_definitions.h)

I suppose another option is to drop the multi-BSP handling in this patch set and let future additions figure it out, but given that's likely to be a GSoC student I went this direction.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147741
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/20260401/65e637b3/attachment-0001.htm>


More information about the bugs mailing list