You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
512 B
20 lines
512 B
#ifndef RASPBOOTIN2_PLATFORM
|
|
#define RASPBOOTIN2_PLATFORM
|
|
|
|
// uncomment the line you want to build for
|
|
//#define PLATFORM_RPI
|
|
//#define PLATFORM_RPIBP
|
|
//#define PLATFORM_RPI2
|
|
|
|
#ifdef PLATFORM_RPI
|
|
#define PBASE 0x20000000
|
|
#define PNAME "Raspberry Pi"
|
|
#elif PLATFORM_RPIBP
|
|
#define PBASE 0x20000000
|
|
#define PNAME "Raspberry Pi Model B+"
|
|
#elif defined PLATFORM_RPI2
|
|
#define PBASE 0x3F000000
|
|
#define PNAME "Raspberry Pi 2"
|
|
#endif
|
|
#endif
|