initial FW setup for Raven validation

This commit is contained in:
2020-09-03 11:13:37 +02:00
parent ce24b0f2f2
commit e15e299968
73 changed files with 7429 additions and 6 deletions

Binary file not shown.

View File

@ -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;