-
Notifications
You must be signed in to change notification settings - Fork 5
/
meson_config.hpp.in
31 lines (26 loc) · 1.24 KB
/
meson_config.hpp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once
#include <chrono>
constexpr inline auto POWER_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/Power0";
constexpr inline auto RESET_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/Reset0";
constexpr inline auto ID_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/ID0";
constexpr inline auto HS_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/HostSelector";
constexpr inline auto DBG_HS_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/DebugHostSelector";
constexpr inline auto SERIAL_CONSOLE_MUX_DBUS_OBJECT_NAME =
"/xyz/openbmc_project/Chassis/Buttons/SerialUartMux";
constexpr inline auto CHASSIS_STATE_OBJECT_NAME =
"/xyz/openbmc_project/state/chassis";
constexpr inline auto CHASSISSYSTEM_STATE_OBJECT_NAME =
"/xyz/openbmc_project/state/chassis_system";
constexpr inline auto HOST_STATE_OBJECT_NAME =
"/xyz/openbmc_project/state/host";
constexpr inline auto GPIO_BASE_LABEL_NAME = "1e780000.gpio";
#define LOOKUP_GPIO_BASE @LOOKUP_GPIO_BASE@
constexpr inline auto POWER_BUTTON_PROFILE = @POWER_BUTTON_PROFILE@;
constexpr inline auto ID_LED_GROUP = @ID_LED_GROUP@;
constexpr inline const auto LONG_PRESS_TIME_MS =
std::chrono::milliseconds(@LONG_PRESS_TIME_MS@);