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 4040#include <port/lv_port.h>
4141#include "nshlib/nshlib.h"
4242
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+
4355/****************************************************************************
4456 * Pre-processor Definitions
4557 ****************************************************************************/
7082#define READ_PIPE 0
7183#define WRITE_PIPE 1
7284
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-
8285/****************************************************************************
8386 * Private Function Prototypes
8487 ****************************************************************************/
You can’t perform that action at this time.
0 commit comments