chore: import upstream snapshot with attribution
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "component1.c"
|
||||
INCLUDE_DIRS ".")
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "component1";
|
||||
|
||||
void component1_print_hello(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "Hello from component1!");
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef COMPONENT1_H
|
||||
#define COMPONENT1_H
|
||||
|
||||
void component1_print_hello(void);
|
||||
|
||||
#endif // COMPONENT1_H
|
||||
Reference in New Issue
Block a user