mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 21:19:09 +08:00
825b745408
This PR adds support for the ESWIN EIC7700X RISC-V SoC. This will be used by the upcoming port of NuttX for PINE64 StarPro64 SBC. Most of the code was derived from NuttX for SOPHGO SG2000 SoC. The modified code is explained here: https://lupyuen.github.io/articles/starpro64#appendix-port-nuttx-to-starpro64 Modified Files in arch/risc-v: Kconfig: Added ARCH_CHIP_EIC7700X for EIC7700X SoC New Files in arch/risc-v: include/eic7700x/chip.h: EIC7700X Definitions include/eic7700x/irq.h: External Interrupts src/eic7700x/chip.h: Interrupt Stack Macro src/eic7700x/eic7700x_allocateheap.c: Kernel Heap src/eic7700x/eic7700x_head.S: Linux Header and Boot Code src/eic7700x/eic7700x_irq.c: Configure Interrupts src/eic7700x/eic7700x_irq_dispatch.c: Dispatch Interrupts src/eic7700x/eic7700x_memorymap.h: Memory Map src/eic7700x/eic7700x_mm_init.c, eic7700x_mm_init.h: Memory Mgmt src/eic7700x/eic7700x_pgalloc.c: Page Allocator src/eic7700x/eic7700x_start.c: Startup Code src/eic7700x/eic7700x_timerisr.c: Timer Interrupt src/eic7700x/hardware/eic7700x_memorymap.h: PLIC and UART Base Address src/eic7700x/hardware/eic7700x_plic.h: PLIC Register Addresses src/eic7700x/Kconfig: EIC7700X Config src/eic7700x/Make.defs: Makefile Signed-off-by: Lup Yuen Lee <luppy@appkaki.com>