File tree 3 files changed +4
-4
lines changed
encrypted/hello_encrypted
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ App|Description
86
86
[ channel_irq] ( dma/channel_irq ) | Use an IRQ handler to reconfigure a DMA channel, in order to continuously drive data through a PIO state machine.
87
87
[ sniff_crc] ( dma/sniff_crc ) | Use the DMA engine's 'sniff' capability to calculate a CRC32 on a data buffer.
88
88
89
- ### Encrypted
89
+ ### Encrypted (RP235x Only)
90
90
91
91
App|Description
92
92
---|---
Original file line number Diff line number Diff line change 1
- # Example encrypted binard
1
+ # Example encrypted binary
2
2
add_executable (hello_encrypted
3
3
hello_encrypted.c
4
4
secret.S
5
5
)
6
6
7
- # include secret.txt
7
+ # include directory containing secret.txt
8
8
target_include_directories (hello_encrypted PRIVATE ${CMAKE_CURRENT_LIST_DIR} )
9
9
10
10
# add dependency on secret.txt
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ int main() {
24
24
uint32_t flash_update_base = boot_info .reboot_params [0 ];
25
25
if (flash_update_base ) {
26
26
printf ("Perform self-check... " );
27
- if (1 == 1 ) {
27
+ if (1 == 1 ) { // replace this with your actual self-check function
28
28
printf ("passed\n" );
29
29
} else {
30
30
printf ("failed - looping forever\n" );
You can’t perform that action at this time.
0 commit comments