Initial commit: Loongson FPGA SoC project for 2026 CIC-IEC

This commit is contained in:
2026-06-23 01:22:45 +08:00
commit fbc993b846
181 changed files with 51135 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef LED_H
#define LED_H
#include "common_func.h"
#define LEDS_BASEADDR 0xbf20f300
#define LEDS_GPIO_DATA (LEDS_BASEADDR + 0x00)
// set leds pin
void setLedPin(uint32_t data);
void toggleLedPin(uint32_t data);
#endif