chore: import upstream snapshot with attribution
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "component2.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 = "component2";
|
||||
|
||||
void component2_print_hello(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "Hello from component2!");
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef COMPONENT2_H
|
||||
#define COMPONENT2_H
|
||||
|
||||
void component2_print_hello(void);
|
||||
|
||||
#endif // COMPONENT2_H
|
||||
Reference in New Issue
Block a user