File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 40
40
#include <port/lv_port.h>
41
41
#include "nshlib/nshlib.h"
42
42
43
+ /* NSH Redirection requires Pipes */
44
+
45
+ #ifndef CONFIG_DEV_PIPE_SIZE
46
+ # error "FIFO and Named Pipe Drivers" should be enabled in menuconfig
47
+ #endif
48
+
49
+ /* NSH Output requires a Monospaced Font */
50
+
51
+ #ifndef LV_FONT_UNSCII_16
52
+ # error LVGL Font UNSCII 16 should be enabled in menuconfig
53
+ #endif
54
+
43
55
/****************************************************************************
44
56
* Pre-processor Definitions
45
57
****************************************************************************/
70
82
#define READ_PIPE 0
71
83
#define WRITE_PIPE 1
72
84
73
- #ifndef CONFIG_DEV_PIPE_SIZE
74
- # error "Device Drivers > FIFO and named pipe drivers" should be enabled in menuconfig
75
- #endif
76
-
77
- // TODO: Configure font
78
- #ifndef CONFIG_LV_FONT_UNSCII_16
79
- # error "LVGL configuration > Font usage > Enable built-in fonts > UNSCII 16" should be enabled in menuconfig
80
- #endif
81
-
82
85
/****************************************************************************
83
86
* Private Function Prototypes
84
87
****************************************************************************/
You can’t perform that action at this time.
0 commit comments