Select one of the symbols to view example projects that use it.
 
Outline
#include "pico/bootrom/lock.h"
#include "pico/runtime_init.h"
#include "hardware/sync.h"
runtime_init_bootrom_locking_enable()
__pre_init_runtime_init_bootrom_locking_enable
Files
loading...
SourceVuRaspberry Pi Pico SDK and ExamplesPicoSDKsrc/rp2_common/pico_bootrom/bootrom_lock.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * Copyright (c) 2024 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause *//* ... */ #include "pico/bootrom/lock.h" #include "pico/runtime_init.h" #if PICO_BOOTROM_LOCKING_ENABLED #if !PICO_RUNTIME_NO_INIT_BOOTROM_LOCKING_ENABLE #include "hardware/sync.h" void __weak runtime_init_bootrom_locking_enable(void) { bootrom_acquire_lock_blocking(BOOTROM_LOCK_ENABLE); }{ ... } #endif/* ... */ #if !PICO_RUNTIME_SKIP_INIT_BOOTROM_LOCKING_ENABLE PICO_RUNTIME_INIT_FUNC_RUNTIME(runtime_init_bootrom_locking_enable, PICO_RUNTIME_INIT_BOOTROM_LOCKING_ENABLE); #endif/* ... */ #endif
Details
Show:
from
Types: Columns: