1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #include "amp_board_config.h"
6 
7 #define AMP_FS_ROOT_DIR "./test/"
8 
9 /* js engine low memory enabled */
10 // #define AMP_LOWMEMORY_ENABLE
11 
12 /* manager channel */
13 // #define AMP_NETWORK_ENABLE
14 
15 /* das(device security) service */
16 // #define AMP_DAS_ENABLED
17 
18 /* ntp service */
19 // #define AMP_NTP_ENABLED
20 
21 /* location service */
22 // #define AMP_LOCATION_SERVICE_ENABLED
23 
24 /* enable high-level jsapi */
25 #define JSE_HIGHLEVEL_JSAPI
26 
27 /* debug mode, use test pk and ps*/
28 #define AMP_DEBUG_MODE
29 
30 /* os */
31 #define JSE_CORE_ADDON_BUILDIN
32 // #define JSE_CORE_ADDON_CHECKSUM
33 #define JSE_CORE_ADDON_SYSTEM
34 #define JSE_CORE_ADDON_FS
35 #define JSE_CORE_ADDON_KV
36 // #define JSE_CORE_ADDON_PM
37 // #define JSE_CORE_ADDON_BATTERY
38 // #define JSE_CORE_ADDON_CHARGER
39 #define JSE_CORE_ADDON_SYSTIMER
40 // #define JSE_CORE_ADDON_CRYPTO
41 #define JSE_CORE_ADDON_INITJS
42 
43 /* periperal */
44 #define JSE_HW_ADDON_ADC
45 // #define JSE_HW_ADDON_CAN
46 #define JSE_HW_ADDON_DAC
47 #define JSE_HW_ADDON_GPIO
48 //#define JSE_HW_ADDON_IR
49 #define JSE_HW_ADDON_I2C
50 // #define JSE_HW_ADDON_SPI
51 #define JSE_HW_ADDON_TIMER
52 #define JSE_HW_ADDON_PWM
53 #define JSE_HW_ADDON_ONEWIRE
54 #define JSE_HW_ADDON_RTC
55 #define JSE_HW_ADDON_UART
56 #define JSE_HW_ADDON_WDG
57 //#define JSE_HW_ADDON_LCD
58 
59 #define JSE_HW_ADDON_DS18B20
60 
61 /* network */
62 // #define JSE_NET_ADDON_UDP
63 // #define JSE_NET_ADDON_TCP
64 #define JSE_NET_ADDON_MQTT
65 #define JSE_NET_ADDON_HTTP
66 // #define JSE_NET_ADDON_WIFI
67 // #define JSE_NET_ADDON_CELLULAR
68 // #define JSE_NET_ADDON_NETMGR
69 
70 /* advanced component */
71 #define JSE_ADVANCED_ADDON_AIOT_DEVICE
72 #define JSE_ADVANCED_ADDON_AIOT_GATEWAY
73 #define JSE_ADVANCED_ADDON_AUDIOPLAYER
74 // #define JSE_ADVANCED_ADDON_TTS
75 // #define JSE_ADVANCED_ADDON_LOCATION
76 // #define JSE_ADVANCED_ADDON_KEYPAD
77 // #define JSE_ADVANCED_ADDON_UND
78 // #define JSE_ADVANCED_ADDON_OTA
79 
80 /* ui component */
81 #ifdef CONFIG_AMP_UI_SUPPORT
82 #define JSE_ADVANCED_ADDON_UI
83 #endif
84 
85 /* recovery switch & status led */
86 #define AMP_RECOVERY_ENABLE
87 #define AMP_REPL_PROMPT     "amp> "
88 
89 /* manager channel device info for porject */
90 #define AMP_INTERNAL_PRODUCTKEY_VALUE       ""
91 #define AMP_INTERNAL_PRODUCTSECRET_VALUE    ""
92