-
Notifications
You must be signed in to change notification settings - Fork 0
/
prj.conf
61 lines (46 loc) · 1.19 KB
/
prj.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
CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
# We use TWIS 0
CONFIG_NRFX_TWIS0=y
CONFIG_ASSERT=y
CONFIG_RING_BUFFER=y
CONFIG_UART_INTERRUPT_DRIVEN=y
## Enable logging (and redirect printk to log output)
CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
CONFIG_LOG_MODE_IMMEDIATE=y
## Free up UART
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_BACKEND_UART=n
## Enable logging on RTT
CONFIG_LOG_BACKEND_RTT=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=65536
## Always get the latest logs, even if not read yet
CONFIG_LOG_BACKEND_RTT_MODE_OVERWRITE=y
CONFIG_REBOOT=n
# CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_PWM=y
# Enable USB for UART ROM transfers
CONFIG_SERIAL=y
CONFIG_UART_LINE_CTRL=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="open-sesame"
CONFIG_USB_DEVICE_PID=0x0004
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
CONFIG_USB_WORKQUEUE_STACK_SIZE=4096
CONFIG_THREAD_NAME=y
# display test
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_LOG=y
CONFIG_DISPLAY=y
CONFIG_CHARACTER_FRAMEBUFFER=y
CONFIG_DEBUG=y
CONFIG_NRFX_PPI=y
CONFIG_INPUT=y
CONFIG_INPUT_MODE_SYNCHRONOUS=y
# -> PIXEL_FORMAT_MONO01
# SSD1306 doesn't support that format, but setting
# this config achieves the same thing.
CONFIG_SSD1306_REVERSE_MODE=y