summaryrefslogtreecommitdiff
path: root/firmware/export/config/sonynwzlinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/sonynwzlinux.h')
-rw-r--r--firmware/export/config/sonynwzlinux.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config/sonynwzlinux.h b/firmware/export/config/sonynwzlinux.h
index 4c66651e6b..4d95ef9cdd 100644
--- a/firmware/export/config/sonynwzlinux.h
+++ b/firmware/export/config/sonynwzlinux.h
@@ -2,7 +2,9 @@
2 * This config file is for the Sony NWZ Linux based targets 2 * This config file is for the Sony NWZ Linux based targets
3 */ 3 */
4 4
5#ifndef SIMULATOR
5#define CONFIG_PLATFORM (PLATFORM_HOSTED) 6#define CONFIG_PLATFORM (PLATFORM_HOSTED)
7#endif
6 8
7/* define this if you have a bitmap LCD display */ 9/* define this if you have a bitmap LCD display */
8#define HAVE_LCD_BITMAP 10#define HAVE_LCD_BITMAP
@@ -64,10 +66,17 @@
64#define CONFIG_KEYPAD SONY_NWZ_PAD 66#define CONFIG_KEYPAD SONY_NWZ_PAD
65#define HAS_BUTTON_HOLD 67#define HAS_BUTTON_HOLD
66 68
69/** Non-simulator section **/
70#ifndef SIMULATOR
67/* We have usb power and can detect usb but it is handled by Linux */ 71/* We have usb power and can detect usb but it is handled by Linux */
68#define HAVE_USB_POWER 72#define HAVE_USB_POWER
69#define USB_NONE 73#define USB_NONE
70 74
75/* Audio codec */
76#define HAVE_NWZ_LINUX_CODEC
77
78#endif /* SIMULATOR */
79
71#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE 80#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
72 81
73/* Linux controlls charging, we can monitor */ 82/* Linux controlls charging, we can monitor */
@@ -92,9 +101,6 @@
92/* Battery */ 101/* Battery */
93#define BATTERY_TYPES_COUNT 1 102#define BATTERY_TYPES_COUNT 1
94 103
95/* Audio codec */
96#define HAVE_NWZ_LINUX_CODEC
97
98/* special define to be use in various places */ 104/* special define to be use in various places */
99#define SONY_NWZ_LINUX 105#define SONY_NWZ_LINUX
100 106