Browse Source

AP_HAL_Linux: change GPIO register address for Raspberry Pi 2

master
Mikhail Avkhimenia 10 years ago committed by Andrew Tridgell
parent
commit
c11304ba7a
  1. 2
      libraries/AP_HAL_Linux/GPIO_RPI.h

2
libraries/AP_HAL_Linux/GPIO_RPI.h

@ -9,7 +9,7 @@ @@ -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…
Cancel
Save