feat(bootloader): add an example that implements multiboot

Add a new example for the bootloader that shows how to override it to implement multiboot.
This commit is contained in:
Omar Chebib
2024-12-12 13:56:02 +08:00
parent 28f1b18675
commit 840eef31ce
11 changed files with 433 additions and 0 deletions
@@ -0,0 +1,3 @@
idf_component_register(SRCS "bootloader_multiboot_example_main.c"
INCLUDE_DIRS "."
PRIV_REQUIRES newlib)
@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
void app_main(void)
{
/**
* Nothing special is done here, everything interesting in this example
* is done in the custom bootloader code, located in:
* `bootloader_components/main/bootloader_start.c`
*/
printf("Application started!\n");
}