Skip to content

Commit fad5332

Browse files
committed
fix host build and remove warning
1 parent 2395743 commit fad5332

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

binary_info/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
add_subdirectory_exclude_platforms(blink_any)
2-
add_subdirectory_exclude_platforms(hello_anything)
1+
add_subdirectory_exclude_platforms(blink_any host)
2+
add_subdirectory_exclude_platforms(hello_anything host)

uart/hello_uart/hello_uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ int main() {
3939

4040
// Send out a string, with CR/LF conversions
4141
uart_puts(UART_ID, " Hello, UART!\n");
42+
return 0;
4243
}
4344

4445
/// \end::hello_uart[]

0 commit comments

Comments
 (0)