Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion bootloaders/encrypted/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ example_auto_set_url(enc_bootloader)

# Example binary to load
add_executable(hello_serial_enc
../../hello_world/serial/hello_serial.c
hello_serial.c
)

# pull in common dependencies
Expand Down
17 changes: 17 additions & 0 deletions bootloaders/encrypted/hello_serial.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <stdio.h>
#include "pico/stdlib.h"

int main() {
stdio_init_all();
while (true) {
printf("Hello, world!\n");
printf("I'm an encrypted binary\n");
sleep_ms(1000);
}
}
Loading