Select one of the symbols to view example projects that use it.
 
Outline
#include <stdio.h>
#include "sdkconfig.h"
#include "func.h"
app_main()
Files
loading...
SourceVuESP-IDF Framework and Examplesmulti_config samplemain/multi_config_example_main.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Multiple build configurations example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *//* ... */ #include <stdio.h> #include "sdkconfig.h" #include "func.h" void app_main(void) { printf("This app is built for running on: " CONFIG_EXAMPLE_PRODUCT_NAME "\n"); /* This will call func() either from func_dev.c or func_prod.c, depending on * the build configuration. *//* ... */ func(); printf("See README.md for building and running other app configurations.\n"); }{ ... }
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.