Adjusted test cases for new GPIO base address

This commit is contained in:
David Harris 2022-01-26 19:15:48 +00:00
parent 748375c82f
commit b359499820
5 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ _start:
# write to gpio
li x2, 0xFF
la x3, 0x10012000
la x3, 0x10060000
# +8 is output enable
# +C is output value

View File

@ -47,7 +47,7 @@ _start:
# write to gpio
li x2, 0xFF
la x3, 0x10012000
la x3, 0x10060000
# +8 is output enable
# +C is output value

View File

@ -71,7 +71,7 @@ copy_sdc2:
# write to gpio
li x2, 0xFF
la x3, 0x10012000
la x3, 0x10060000
# +8 is output enable
# +C is output value

View File

@ -27,7 +27,7 @@
#define RAM_RANGE 0x7FFFFFFF
#define CLINT_BASE 0x02000000
#define CLINT_RANGE 0x0000FFFF
#define GPIO_BASE 0x10012000
#define GPIO_BASE 0x10060000
#define GPIO_RANGE 0x000000FF
#define UART_BASE 0x10000000
#define UART_RANGE 0x00000007

View File

@ -27,7 +27,7 @@
#define RAM_RANGE 0x7FFFFFFF
#define CLINT_BASE 0x02000000
#define CLINT_RANGE 0x0000FFFF
#define GPIO_BASE 0x10012000
#define GPIO_BASE 0x10060000
#define GPIO_RANGE 0x000000FF
#define UART_BASE 0x10000000
#define UART_RANGE 0x00000007