We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba83100 commit 175b382Copy full SHA for 175b382
bootloaders/encrypted/CMakeLists.txt
@@ -64,7 +64,7 @@ example_auto_set_url(enc_bootloader)
64
65
# Example binary to load
66
add_executable(hello_serial_enc
67
- ../../hello_world/serial/hello_serial.c
+ hello_serial.c
68
)
69
70
# pull in common dependencies
bootloaders/encrypted/hello_serial.c
@@ -0,0 +1,17 @@
1
+/**
2
+ * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3
+ *
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+#include <stdio.h>
8
+#include "pico/stdlib.h"
9
10
+int main() {
11
+ stdio_init_all();
12
+ while (true) {
13
+ printf("Hello, world!\n");
14
+ printf("I'm an encrypted binary\n");
15
+ sleep_ms(1000);
16
+ }
17
+}
0 commit comments