AP_HAL_Linux: change GPIO register address for Raspberry Pi 2

This commit is contained in:
Mikhail Avkhimenia 2015-03-28 15:49:08 +03:00 committed by Andrew Tridgell
parent 641fa05028
commit c11304ba7a

View File

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