mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-05-20 23:04:55 +02:00
afdc1fa594
- GPIO15 active-low button input with internal pull-up - 20ms software debounce via busy-wait confirmation - LED mirrors button state, UART reports edge transitions - New gpio_config_input_pullup() in GPIO driver - 1555B FLASH, 13 source files, zero warnings
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/**
|
|
******************************************************************************
|
|
* @file image_def.c
|
|
* @author Kevin Thomas
|
|
* @brief RP2350 IMAGE_DEF block for boot ROM image recognition.
|
|
*
|
|
* Must appear within the first 4 KB of flash for the boot ROM
|
|
* to accept the image.
|
|
*
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2026 Kevin Thomas.
|
|
* All rights reserved.
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file
|
|
* in the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @brief IMAGE_DEF block structure placed in flash
|
|
*/
|
|
__attribute__((section(".embedded_block"), used))
|
|
const uint8_t picobin_block[] = {
|
|
0xD3, 0xDE, 0xFF, 0xFF,
|
|
0x42, 0x01, 0x21, 0x10,
|
|
0xFF, 0x01, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x79, 0x35, 0x12, 0xAB
|
|
};
|