initial FW setup for Raven validation
This commit is contained in:
BIN
hello/hello
BIN
hello/hello
Binary file not shown.
@ -57,12 +57,6 @@ unsigned read_adc(unsigned index){
|
||||
return result&0x03ff;
|
||||
}
|
||||
|
||||
//int read_csr(int csr_num) __attribute__((always_inline)) {
|
||||
// int result;
|
||||
// asm("csrr %0, %1" : "=r"(result) : "I"(csr_num));
|
||||
// return result;
|
||||
//}
|
||||
|
||||
int main()
|
||||
{
|
||||
GPIO_REG(GPIO_IOF_EN) |= 0x30000;
|
||||
|
Reference in New Issue
Block a user