mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 23:43:34 +08:00
RPi: just use RPI instead of RPI2.
The reason for this change is that RPi2 and RPi3 are compatible, and hopefully all differences coming up can be resolved without ifdefs but at runtime.
This commit is contained in:
@@ -71,7 +71,7 @@ foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
||||
endforeach()
|
||||
|
||||
add_definitions(
|
||||
-D __RPI2
|
||||
-D __RPI
|
||||
)
|
||||
|
||||
set(LINKER_FLAGS "-Wl,-gc-sections")
|
||||
|
||||
Reference in New Issue
Block a user