| 13 | using namespace tt::hal; |
| 14 | |
| 15 | static std::vector<std::shared_ptr<tt::hal::Device>> createDevices() { |
| 16 | auto* i2c_internal = device_find_by_name("i2c0"); |
| 17 | check(i2c_internal); |
| 18 | return { |
| 19 | createPower(), |
| 20 | createDisplay(), |
| 21 | std::make_shared<TdeckKeyboard>(i2c_internal), |
| 22 | std::make_shared<KeyboardBacklightDevice>(), |
| 23 | std::make_shared<TrackballDevice>(), |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | extern const Configuration hardwareConfiguration = { |
| 28 | .initBoot = initBoot, |
nothing calls this directly
no test coverage detected