Add newest shellmatta and include missing syscalls
This commit is contained in:
parent
cd892e1d5c
commit
cd23e93825
@ -28,7 +28,7 @@ endif
|
|||||||
CFILES += adc-meas.c
|
CFILES += adc-meas.c
|
||||||
|
|
||||||
# Shellmatta
|
# Shellmatta
|
||||||
CFILES += shellmatta/src/shellmatta.c shellmatta/src/shellmatta_autocomplete.c shellmatta/src/shellmatta_escape.c shellmatta/src/shellmatta_history.c shellmatta/src/shellmatta_utils.c shell.c
|
CFILES += shellmatta/src/shellmatta.c shellmatta/src/shellmatta_autocomplete.c shellmatta/src/shellmatta_escape.c shellmatta/src/shellmatta_history.c shellmatta/src/shellmatta_utils.c shellmatta/src/shellmatta_opt.c shell.c
|
||||||
INCLUDEPATH += -Ishellmatta/api
|
INCLUDEPATH += -Ishellmatta/api
|
||||||
# DEFINES += -DSHELLMATTA_STRIP_PRINTF
|
# DEFINES += -DSHELLMATTA_STRIP_PRINTF
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2921f9791b69e2026331e14a2f77f5e88c995321
|
Subproject commit 6c76dfc7aed2594579f09d0b797d6a51cffff343
|
@ -91,3 +91,14 @@ int _write(int fd, const void *buf, int count)
|
|||||||
uart_send_array_with_dma(&shell_uart, (char *)buf, count);
|
uart_send_array_with_dma(&shell_uart, (char *)buf, count);
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int _getpid()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int _kill(int pid)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user