summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r--cmd/sbc_harness/main.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c
index 157f51e..93c2f1c 100644
--- a/cmd/sbc_harness/main.c
+++ b/cmd/sbc_harness/main.c
@@ -4,26 +4,35 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
-#include <string.h> /* libc: for strlen() */
+/* libc */
+#include <string.h> /* libc: for strlen() */
+/* pico-sdk */
#include <pico/stdio_uart.h> /* pico-sdk:pico_stdio_uart: for stdio_uart_init() */
#include <hardware/flash.h> /* pico-sdk:hardware_flash: for flash_get_unique_id() */
+/* our OS */
#include <libcr/coroutine.h>
#include <libhw/generic/alarmclock.h> /* so we can set `bootclock` */
#include <libhw/rp2040_hwspi.h>
#include <libhw/rp2040_hwtimer.h>
#include <libhw/w5500.h>
-#include <libmisc/hash.h>
-#include <libusb/usb_common.h>
+
+/* our application libraries */
#include <libdhcp/client.h>
+#include <libusb/usb_common.h>
#include <lib9p/srv.h>
+/* our utility libraries */
+#include <libmisc/hash.h>
#define LOG_NAME MAIN
#include <libmisc/log.h>
+/* local headers */
#include "usb_keyboard.h"
+/* configuration **************************************************************/
+
#include "config.h"
static COROUTINE hello_world_cr(void *_chan) {