User:Mrvn/Raspberry Pi 2
Jump to navigation
Jump to search
Notes about the Raspberry Pi 2
Toolchain
I'm using binutils-arm-none-eabi and gcc-arm-none-eabi packages from Debian sid, which includes support for a ton of systems. For RPi2 the following options are fitting:
-------------------------------------------------------------------- | ARM Core | Command Line Options | multilib | |----------|--------------------------------------------|----------| |Cortex-A* | [-mthumb] -march=armv7-a -mfloat-abi=hard | armv7-ar | |(Hard FP) | -mfpu=vfpv3-d16 | /thumb | | | | /fpu | --------------------------------------------------------------------
Specs
PERIPHERAL_BASE = $3F000000 ; Peripheral Base Address (used to be $20000000 on RPi)
LED on GPIO pin 47 (used to be 16 and on/off reversed)