diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-20 23:23:18 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-21 02:55:06 -0700 |
commit | a5ee9c593544bedb328df4d4ea7fcbf9517c3caa (patch) | |
tree | a386840c79240b07251b7db67c22fbe7af8cf9db /cmd/sbc_harness | |
parent | 22b6c53fd314a328631f492e371ade1374b439c7 (diff) |
cmd/sbc_harness: main.c: Tidy #includes
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r-- | cmd/sbc_harness/main.c | 15 |
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) { |