Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
sdkconfig.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 iosabi
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
27
#ifndef SDKCONFIG_H
28
#define SDKCONFIG_H
29
30
#if !DOXYGEN
31
32
#include "riotbuild.h"
33
34
#include "esp8266_idf_version.h"
35
#include "sdkconfig_default.h"
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
#if MODULE_ESP_LOG_COLORED
42
#define CONFIG_LOG_COLORS 1
43
#endif
44
45
#ifndef CONFIG_LOG_BOOTLOADER_LEVEL
46
/*
47
* SDK Log levels:
48
*
49
* 0 = NONE
50
* 1 = ERROR
51
* 2 = WARN
52
* 3 = INFO
53
* 4 = DEBUG
54
* 5 = VERBOSE
55
*/
56
#if MODULE_ESP_LOG_STARTUP
57
#define CONFIG_LOG_BOOTLOADER_LEVEL 3
/* INFO */
58
#else
59
#define CONFIG_LOG_BOOTLOADER_LEVEL 0
/* NONE */
60
#endif
61
#endif
62
63
/*
64
* Bootloader output baudrate, defined by the app settings as BAUD or
65
* BOOTLOADER_BAUD.
66
*/
67
#ifndef CONFIG_CONSOLE_UART_BAUDRATE
68
#define CONFIG_CONSOLE_UART_BAUDRATE (RIOT_BOOTLOADER_BAUD)
69
#endif
70
71
/*
72
* The makefile FLASH_SIZE value is set in MB, but set as bytes to
73
* CONFIG_SPI_FLASH_SIZE.
74
*/
75
#ifndef CONFIG_SPI_FLASH_SIZE
76
#define CONFIG_SPI_FLASH_SIZE ((RIOT_FLASH_SIZE) * 1024 * 1024)
77
#endif
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* !DOXYGEN */
84
#endif
/* SDKCONFIG_H */
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8