Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions system/fastboot/fastboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@

#include <netinet/in.h>
#include <sys/boardctl.h>
#ifdef CONFIG_BOARD_USBDEV_SERIALSTR
# include <nuttx/board.h>
#endif
#include <sys/epoll.h>
#include <sys/ioctl.h>
#include <sys/param.h>
Expand Down Expand Up @@ -1254,6 +1257,9 @@ static void fastboot_create_publish(FAR struct fastboot_ctx_s *ctx,
fastboot_publish(ctx, "slot-count", "1", NULL);
fastboot_publish(ctx, "max-download-size", NULL,
&ctx->download_max);
#ifdef CONFIG_BOARD_USBDEV_SERIALSTR
fastboot_publish(ctx, "serialno", board_usbdev_serialstr(), NULL);
#endif
}
}

Expand Down
Loading