-
Notifications
You must be signed in to change notification settings - Fork 1
/
nucleo_f429zi.conf
140 lines (94 loc) · 3.45 KB
/
nucleo_f429zi.conf
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# -----------------------------------------------------------------------------
# Application specific
CONFIG_APP_HTTP_MAX_SESSIONS=8
CONFIG_APP_HTTP_TEST=n
CONFIG_APP_HTTP_TEST_SERVER=n
CONFIG_APP_SYSTEM_MONITORING=y
CONFIG_APP_CANTCP_SERVER=n
CONFIG_APP_CAN_INTERFACE=y
CONFIG_APP_BLE_INTERFACE=y
CONFIG_APP_HA_CANIOT_CONTROLLER=y
CONFIG_APP_HA_EMULATED_DEVICES=n
CONFIG_APP_CREDS_HARDCODED=n
CONFIG_APP_CREDS_FLASH=y
CONFIG_APP_CREDS_FS=n
CONFIG_APP_HA=y
# -----------------------------------------------------------------------------
# use code partition defined in the .overlay files
CONFIG_USE_DT_CODE_PARTITION=y
# -----------------------------------------------------------------------------
# CONFIG_LOG_BUFFER_SIZE=2048
# CONFIG_LOG_MODE_DEFERRED=n
# enable to immediate while debugging or when having immediate response is needed
# disable to log time sensitive functions (need a bit more RAM for a thread and pools)
# -----------------------------------------------------------------------------
CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR=y
# not entropy in delay
CONFIG_NET_DHCPV4=y
CONFIG_NET_DHCPV4_INITIAL_DELAY_MAX=2
CONFIG_NET_DHCPV4_LOG_LEVEL_DBG=n
# requires an additional thread
CONFIG_NET_CONNECTION_MANAGER=n
# -----------------------------------------------------------------------------
CONFIG_CAN=y
CONFIG_CAN_INIT_PRIORITY=80
CONFIG_CAN_DEFAULT_BITRATE=500000
# CONFIG_CAN_MAX_FILTER=5 # Cannot be changed
# this is default
# CONFIG_CAN_LOOPBACK_TX_MSGQ_SIZE=16
# CONFIG_CAN_LOOPBACK_TX_THREAD_PRIORITY=2
# CONFIG_CAN_LOOPBACK_TX_THREAD_STACK_SIZE=256
CONFIG_CAN_LOG_LEVEL_DBG=n
CONFIG_CAN_LOOPBACK=n
# -----------------------------------------------------------------------------
CONFIG_GPIO=y
CONFIG_PWM=y
CONFIG_PWM_LOG_LEVEL_DBG=y
# -----------------------------------------------------------------------------
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_DMA_LOG_LEVEL_DBG=n
# CONFIG_UART_STM32=y (autoselected)
# -----------------------------------------------------------------------------
CONFIG_ADC=y
CONFIG_ADC_LOG_LEVEL_DBG=n
# -----------------------------------------------------------------------------
CONFIG_SENSOR=y
CONFIG_STM32_TEMP=y
# -----------------------------------------------------------------------------
# BLE
CONFIG_BT=y
CONFIG_BT_OBSERVER=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_MAX_CONN=2
CONFIG_BT_BUF_ACL_RX_COUNT=6
# BLE HCI
CONFIG_SPI=y
CONFIG_SPI_STM32_DMA=y
CONFIG_BT_HCI=y
# CONFIG_BT_SPI=y
CONFIG_BT_CTLR=n
# CONFIG_BT_RX_STACK_SIZE=1200
CONFIG_BT_LOG_LEVEL_DBG=n
# Enable following configuration if CONFIG_BT_LOG_LEVEL_DBG is enabled
# CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT=y
# CONFIG_BT_HCI_TX_STACK_SIZE=2018
# -----------------------------------------------------------------------------
CONFIG_CANIOT_LIB=y
CONFIG_CANIOT_LOG_LEVEL=2
CONFIG_CANIOT_ASSERT=n
CONFIG_CANIOT_MAX_PENDING_QUERIES=6
CONFIG_CANIOT_DRIVERS_API=n
CONFIG_CANIOT_CTRL_DRIVERS_API=y
# -----------------------------------------------------------------------------
CONFIG_MY_STM32_HAL=y
# -----------------------------------------------------------------------------
# CONFIG_APP_CLOUD=n
CONFIG_APP_AWS=y
CONFIG_APP_AWS_ENDPOINT="a31gokdeokxhl8-ats.iot.eu-west-1.amazonaws.com"
CONFIG_APP_AWS_THING_NAME="caniot_controller"
# -----------------------------------------------------------------------------
CONFIG_APP_DFU=y
# -----------------------------------------------------------------------------
CONFIG_SDHC_LOG_LEVEL_DBG=n