summaryrefslogtreecommitdiff
path: root/test/test_config.h
blob: 620a9dc096e3ef7e1126a607367b8e2e33a51ed8 (plain)
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
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* Per-test config flags */

#ifndef __CROS_EC_TEST_CONFIG_H
#define __CROS_EC_TEST_CONFIG_H

#ifdef TEST_kb_8042
#undef CONFIG_KEYBOARD_PROTOCOL_MKBP
#define CONFIG_KEYBOARD_PROTOCOL_8042
#endif

#ifdef TEST_sbs_charging
#define CONFIG_BATTERY_MOCK
#define CONFIG_CHARGER
#define CONFIG_CHARGER_INPUT_CURRENT 4032
#endif

#ifdef TEST_adapter
#define CONFIG_EXTPOWER_FALCO
#endif

#ifdef TEST_thermal
#define CONFIG_TEMP_SENSOR
#endif

#endif  /* __CROS_EC_TEST_CONFIG_H */