AP_HAL_Linux: change GPIO register address for Raspberry Pi 2
This commit is contained in:
parent
641fa05028
commit
c11304ba7a
@ -9,7 +9,7 @@
|
||||
#define HIGH 1
|
||||
|
||||
// Raspberry Pi GPIO memory
|
||||
#define BCM2708_PERI_BASE 0x20000000
|
||||
#define BCM2708_PERI_BASE 0x3F000000
|
||||
#define GPIO_BASE (BCM2708_PERI_BASE + 0x200000)
|
||||
#define PAGE_SIZE (4*1024)
|
||||
#define BLOCK_SIZE (4*1024)
|
||||
|
Loading…
Reference in New Issue
Block a user