test cases/common/215 source set realistic example/boards/arm/xlnx_zcu102.cc
raw| 1 | #include <iostream> |
| 2 | #include "common.h" |
| 3 | #include "arm.h" |
| 4 | |
| 5 | struct XlnxZCU102Board: ARMBoard { |
| 6 | void say_hello(); |
| 7 | }; |
| 8 | |
| 9 | void XlnxZCU102Board::say_hello() |
| 10 | { |
| 11 | some_arm_thing(); |
| 12 | std::cout << ANSI_START << "I am the xlnx_zcu102 board" |
| 13 | << ANSI_END << std::endl; |
| 14 | } |
| 15 | |
| 16 | static XlnxZCU102Board xlnx_zcu102; |