Files
esp-idf/tools/cmakev2/test/components/component2/component2.c
Frantisek Hrbata ff432c3e5a feat(cmakev2/test): add simple test for component include
Add two project components, component1 and component2, and verify that
their real targets are created when they are included.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-04 07:48:12 +01:00

14 lines
243 B
C

/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include "component1.h"
void component2_func(void)
{
component1_func();
printf("component2\n");
}