universalisos/microkernel/test/esp32_uart_test.c
Fábio Coutada 62e8454f91 build: add UEFI ISO builder, test boot scripts, EIM config
- make-uefi-iso.sh: UEFI ISO image builder
- test_boot.S, test_boot.ld: test boot assembly and linker script
- eim_config.toml: EIM (External Interface Module) configuration
- edk2-ovmf RPM for UEFI firmware
- GAP_ANALYSIS_PIKEOS_PARITY.md: PikeOS parity gap analysis
2026-07-15 15:33:07 +01:00

9 lines
249 B
C

#include <stdint.h>
#define UART0 ((volatile uint32_t*)0x3FF40000)
void _start(void) {
UART0[5] = 43; /* CLKDIV */
UART0[8] = (1<<16)|(1<<18)|(0x3<<1); /* CONF0 */
UART0[0] = 'H'; /* DATA */
UART0[0] = 'i';
for(;;);
}