Browse Source

Initial commit

Thorsten Riess 1 year ago
commit
2a334e59d0
12 changed files with 890 additions and 0 deletions
  1. 140
    0
      .gitignore
  2. 29
    0
      .idea/codeStyles/Project.xml
  3. 2
    0
      .idea/laserpong.iml
  4. 4
    0
      .idea/misc.xml
  5. 8
    0
      .idea/modules.xml
  6. 6
    0
      .idea/vcs.xml
  7. 82
    0
      CMakeLists.txt
  8. 9
    0
      Makefile
  9. 5
    0
      README.md
  10. 5
    0
      main/component.mk
  11. 62
    0
      main/laserpong_main.c
  12. 538
    0
      sdkconfig

+ 140
- 0
.gitignore View File

@@ -0,0 +1,140 @@
1
+# Created by .ignore support plugin (hsz.mobi)
2
+### C template
3
+# Prerequisites
4
+*.d
5
+
6
+# Object files
7
+*.o
8
+*.ko
9
+*.obj
10
+*.elf
11
+
12
+# Linker output
13
+*.ilk
14
+*.map
15
+*.exp
16
+
17
+# Precompiled Headers
18
+*.gch
19
+*.pch
20
+
21
+# Libraries
22
+*.lib
23
+*.a
24
+*.la
25
+*.lo
26
+
27
+# Shared objects (inc. Windows DLLs)
28
+*.dll
29
+*.so
30
+*.so.*
31
+*.dylib
32
+
33
+# Executables
34
+*.exe
35
+*.out
36
+*.app
37
+*.i*86
38
+*.x86_64
39
+*.hex
40
+
41
+# Debug files
42
+*.dSYM/
43
+*.su
44
+*.idb
45
+*.pdb
46
+
47
+# Kernel Module Compile Results
48
+*.mod*
49
+*.cmd
50
+.tmp_versions/
51
+modules.order
52
+Module.symvers
53
+Mkfile.old
54
+dkms.conf
55
+### CMake template
56
+CMakeCache.txt
57
+CMakeFiles
58
+CMakeScripts
59
+Testing
60
+# usually, makefile is generated, here, it is not.
61
+# Makefile
62
+cmake_install.cmake
63
+install_manifest.txt
64
+compile_commands.json
65
+CTestTestfile.cmake
66
+### JetBrains template
67
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
68
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
69
+
70
+# User-specific stuff:
71
+.idea/**/workspace.xml
72
+.idea/**/tasks.xml
73
+.idea/dictionaries
74
+
75
+# Sensitive or high-churn files:
76
+.idea/**/dataSources/
77
+.idea/**/dataSources.ids
78
+.idea/**/dataSources.xml
79
+.idea/**/dataSources.local.xml
80
+.idea/**/sqlDataSources.xml
81
+.idea/**/dynamic.xml
82
+.idea/**/uiDesigner.xml
83
+
84
+# Gradle:
85
+.idea/**/gradle.xml
86
+.idea/**/libraries
87
+
88
+# CMake
89
+cmake-build-debug/
90
+cmake-build-release/
91
+
92
+# Mongo Explorer plugin:
93
+.idea/**/mongoSettings.xml
94
+
95
+## File-based project format:
96
+*.iws
97
+
98
+## Plugin-specific files:
99
+
100
+# IntelliJ
101
+out/
102
+
103
+# mpeltonen/sbt-idea plugin
104
+.idea_modules/
105
+
106
+# JIRA plugin
107
+atlassian-ide-plugin.xml
108
+
109
+# Cursive Clojure plugin
110
+.idea/replstate.xml
111
+
112
+# Crashlytics plugin (for Android Studio and IntelliJ)
113
+com_crashlytics_export_strings.xml
114
+crashlytics.properties
115
+crashlytics-build.properties
116
+fabric.properties
117
+### C++ template
118
+# Prerequisites
119
+
120
+# Compiled Object files
121
+*.slo
122
+
123
+# Precompiled Headers
124
+
125
+# Compiled Dynamic libraries
126
+
127
+# Fortran module files
128
+*.mod
129
+*.smod
130
+
131
+# Compiled Static libraries
132
+*.lai
133
+
134
+# Executables
135
+
136
+# deprecated
137
+*.old
138
+
139
+# build
140
+/build

+ 29
- 0
.idea/codeStyles/Project.xml View File

@@ -0,0 +1,29 @@
1
+<component name="ProjectCodeStyleConfiguration">
2
+  <code_scheme name="Project" version="173">
3
+    <Objective-C-extensions>
4
+      <file>
5
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
6
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
7
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
8
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
9
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
10
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
11
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
12
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
13
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
14
+      </file>
15
+      <class>
16
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
17
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
18
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
19
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
20
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
21
+        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
22
+      </class>
23
+      <extensions>
24
+        <pair source="cpp" header="h" fileNamingConvention="NONE" />
25
+        <pair source="c" header="h" fileNamingConvention="NONE" />
26
+      </extensions>
27
+    </Objective-C-extensions>
28
+  </code_scheme>
29
+</component>

+ 2
- 0
.idea/laserpong.iml View File

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module classpath="CMake" type="CPP_MODULE" version="4" />

+ 4
- 0
.idea/misc.xml View File

@@ -0,0 +1,4 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
4
+</project>

+ 8
- 0
.idea/modules.xml View File

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/laserpong.iml" filepath="$PROJECT_DIR$/.idea/laserpong.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
.idea/vcs.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

+ 82
- 0
CMakeLists.txt View File

@@ -0,0 +1,82 @@
1
+
2
+# NOTE: This file is only used for configuring CLion, use regular `make` for building.
3
+
4
+set (IDF_PATH "/home/spanz/esp/esp-idf/")
5
+
6
+cmake_minimum_required(VERSION 3.9)
7
+project(laserpong C)
8
+
9
+set(CMAKE_SYSTEM_NAME xtensa-esp32-elf)
10
+set(CMAKE_C_COMPILER xtensa-esp32-elf-gcc)
11
+set(CMAKE_FIND_ROOT_PATH /home/spanz/esp/xtensa-esp32-elf/)
12
+
13
+set(CMAKE_CXX_STANDARD 11)
14
+set(CMAKE_C_STANDARD 11)
15
+
16
+
17
+file(GLOB_RECURSE SOURCES "${IDF_PATH}/*.c")
18
+
19
+set(COMPONENTS
20
+        app_trace
21
+        app_update
22
+        aws_iot
23
+        bootloader
24
+        bootloader_support
25
+        bt
26
+        coap
27
+        console
28
+        cxx
29
+        driver
30
+        esp32
31
+        esp_adc_cal
32
+        espcoredump
33
+        esptool_py
34
+        ethernet
35
+        expat
36
+        fatfs
37
+        freertos
38
+        heap
39
+        idf_test
40
+        jsmn
41
+        json
42
+        libsodium
43
+        log
44
+        lwip
45
+        mbedtls
46
+        mdns
47
+        micro-ecc
48
+        newlib
49
+        nghttp
50
+        nvs_flash
51
+        openssl
52
+        partition_table
53
+        pthread
54
+        sdmmc
55
+        soc
56
+        spiffs
57
+        spi_flash
58
+        tcpip_adapter
59
+        ulp
60
+        vfs
61
+        wear_levelling
62
+        wpa_supplicant
63
+        xtensa-debug-module)
64
+
65
+set (INCLUDE_DIRS "")
66
+foreach (component ${COMPONENTS})
67
+    list (APPEND INCLUDE_DIRS ${IDF_PATH}/components/${component}/include)
68
+endforeach()
69
+list(REMOVE_DUPLICATES INCLUDE_DIRS)
70
+include_directories(${INCLUDE_DIRS})
71
+include_directories("build/include")
72
+#include_directories("components/arduino-esp32/cores/esp32/")
73
+#include_directories("components/OneWire/")
74
+#include_directories("components/Arduino-Temperature-Control-Library/")
75
+
76
+set(SOURCE_FILES
77
+        main/laserpong_main.c
78
+#        components/OneWire/OneWire.cpp
79
+    )
80
+list(APPEND SOURCE_FILES ${SOURCES})
81
+
82
+add_executable(laserpong ${SOURCE_FILES})

+ 9
- 0
Makefile View File

@@ -0,0 +1,9 @@
1
+#
2
+# This is a project Makefile. It is assumed the directory this Makefile resides in is a
3
+# project subdirectory.
4
+#
5
+
6
+PROJECT_NAME := laserpong
7
+
8
+include $(IDF_PATH)/make/project.mk
9
+

+ 5
- 0
README.md View File

@@ -0,0 +1,5 @@
1
+# Hello World Example
2
+
3
+Starts a FreeRTOS task to print "Hello World"
4
+
5
+See the README.md file in the upper level 'examples' directory for more information about examples.

+ 5
- 0
main/component.mk View File

@@ -0,0 +1,5 @@
1
+#
2
+# "main" pseudo-component makefile.
3
+#
4
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
5
+

+ 62
- 0
main/laserpong_main.c View File

@@ -0,0 +1,62 @@
1
+/* Hello World Example
2
+
3
+   This example code is in the Public Domain (or CC0 licensed, at your option.)
4
+
5
+   Unless required by applicable law or agreed to in writing, this
6
+   software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
7
+   CONDITIONS OF ANY KIND, either express or implied.
8
+*/
9
+#include <stdio.h>
10
+#include "freertos/FreeRTOS.h"
11
+#include "freertos/task.h"
12
+#include "esp_system.h"
13
+#include "esp_spi_flash.h"
14
+#include "driver/ledc.h"
15
+
16
+void app_main()
17
+{
18
+    printf("Hello world!\n");
19
+
20
+    ledc_timer_config_t timer_conf;
21
+    timer_conf.duty_resolution = LEDC_TIMER_15_BIT;
22
+    timer_conf.freq_hz = 50;
23
+    timer_conf.speed_mode = LEDC_HIGH_SPEED_MODE;
24
+    timer_conf.timer_num = LEDC_TIMER_0;
25
+    ledc_timer_config(&timer_conf);
26
+
27
+    ledc_channel_config_t ledc_conf;
28
+    ledc_conf.channel = LEDC_CHANNEL_0;
29
+    ledc_conf.duty = 3276; //800; //3276; //1638; // to 3276
30
+    ledc_conf.gpio_num = 15;
31
+    ledc_conf.intr_type = LEDC_INTR_DISABLE;
32
+    ledc_conf.speed_mode = LEDC_HIGH_SPEED_MODE;
33
+    ledc_conf.timer_sel = LEDC_TIMER_0;
34
+    ledc_channel_config(&ledc_conf);
35
+
36
+    /* Print chip information */
37
+    esp_chip_info_t chip_info;
38
+    esp_chip_info(&chip_info);
39
+    printf("This is ESP32 chip with %d CPU cores, WiFi%s%s, ",
40
+            chip_info.cores,
41
+            (chip_info.features & CHIP_FEATURE_BT) ? "/BT" : "",
42
+            (chip_info.features & CHIP_FEATURE_BLE) ? "/BLE" : "");
43
+
44
+    printf("silicon revision %d, ", chip_info.revision);
45
+
46
+    printf("%dMB %s flash\n", spi_flash_get_chip_size() / (1024 * 1024),
47
+            (chip_info.features & CHIP_FEATURE_EMB_FLASH) ? "embedded" : "external");
48
+
49
+    for (int i = 10; i >= 0; i--) {
50
+        printf("Restarting in %d seconds...\n", i);
51
+        vTaskDelay(1000 / portTICK_PERIOD_MS);
52
+        if(ledc_conf.duty > 1000) {
53
+            ledc_conf.duty = 800;
54
+        } else {
55
+            ledc_conf.duty = 3276;
56
+        }
57
+        ledc_channel_config(&ledc_conf);
58
+    }
59
+    printf("Restarting now.\n");
60
+    fflush(stdout);
61
+    esp_restart();
62
+}

+ 538
- 0
sdkconfig View File

@@ -0,0 +1,538 @@
1
+#
2
+# Automatically generated file; DO NOT EDIT.
3
+# Espressif IoT Development Framework Configuration
4
+#
5
+
6
+#
7
+# SDK tool configuration
8
+#
9
+CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
10
+CONFIG_PYTHON="python"
11
+CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
12
+
13
+#
14
+# Bootloader config
15
+#
16
+CONFIG_LOG_BOOTLOADER_LEVEL_NONE=
17
+CONFIG_LOG_BOOTLOADER_LEVEL_ERROR=
18
+CONFIG_LOG_BOOTLOADER_LEVEL_WARN=
19
+CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
20
+CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG=
21
+CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE=
22
+CONFIG_LOG_BOOTLOADER_LEVEL=3
23
+CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V=
24
+CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
25
+
26
+#
27
+# Security features
28
+#
29
+CONFIG_SECURE_BOOT_ENABLED=
30
+CONFIG_FLASH_ENCRYPTION_ENABLED=
31
+
32
+#
33
+# Serial flasher config
34
+#
35
+CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
36
+CONFIG_ESPTOOLPY_BAUD_115200B=y
37
+CONFIG_ESPTOOLPY_BAUD_230400B=
38
+CONFIG_ESPTOOLPY_BAUD_921600B=
39
+CONFIG_ESPTOOLPY_BAUD_2MB=
40
+CONFIG_ESPTOOLPY_BAUD_OTHER=
41
+CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
42
+CONFIG_ESPTOOLPY_BAUD=115200
43
+CONFIG_ESPTOOLPY_COMPRESSED=y
44
+CONFIG_FLASHMODE_QIO=
45
+CONFIG_FLASHMODE_QOUT=
46
+CONFIG_FLASHMODE_DIO=y
47
+CONFIG_FLASHMODE_DOUT=
48
+CONFIG_ESPTOOLPY_FLASHMODE="dio"
49
+CONFIG_ESPTOOLPY_FLASHFREQ_80M=
50
+CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
51
+CONFIG_ESPTOOLPY_FLASHFREQ_26M=
52
+CONFIG_ESPTOOLPY_FLASHFREQ_20M=
53
+CONFIG_ESPTOOLPY_FLASHFREQ="40m"
54
+CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
55
+CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
56
+CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
57
+CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
58
+CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
59
+CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
60
+CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
61
+CONFIG_ESPTOOLPY_BEFORE_RESET=y
62
+CONFIG_ESPTOOLPY_BEFORE_NORESET=
63
+CONFIG_ESPTOOLPY_BEFORE="default_reset"
64
+CONFIG_ESPTOOLPY_AFTER_RESET=y
65
+CONFIG_ESPTOOLPY_AFTER_NORESET=
66
+CONFIG_ESPTOOLPY_AFTER="hard_reset"
67
+CONFIG_MONITOR_BAUD_9600B=
68
+CONFIG_MONITOR_BAUD_57600B=
69
+CONFIG_MONITOR_BAUD_115200B=y
70
+CONFIG_MONITOR_BAUD_230400B=
71
+CONFIG_MONITOR_BAUD_921600B=
72
+CONFIG_MONITOR_BAUD_2MB=
73
+CONFIG_MONITOR_BAUD_OTHER=
74
+CONFIG_MONITOR_BAUD_OTHER_VAL=115200
75
+CONFIG_MONITOR_BAUD=115200
76
+
77
+#
78
+# Partition Table
79
+#
80
+CONFIG_PARTITION_TABLE_SINGLE_APP=y
81
+CONFIG_PARTITION_TABLE_TWO_OTA=
82
+CONFIG_PARTITION_TABLE_CUSTOM=
83
+CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
84
+CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000
85
+CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp.csv"
86
+CONFIG_APP_OFFSET=0x10000
87
+
88
+#
89
+# Compiler options
90
+#
91
+CONFIG_OPTIMIZATION_LEVEL_DEBUG=y
92
+CONFIG_OPTIMIZATION_LEVEL_RELEASE=
93
+CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
94
+CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
95
+CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
96
+CONFIG_CXX_EXCEPTIONS=
97
+CONFIG_STACK_CHECK_NONE=y
98
+CONFIG_STACK_CHECK_NORM=
99
+CONFIG_STACK_CHECK_STRONG=
100
+CONFIG_STACK_CHECK_ALL=
101
+CONFIG_STACK_CHECK=
102
+
103
+#
104
+# Component config
105
+#
106
+
107
+#
108
+# Application Level Tracing
109
+#
110
+CONFIG_ESP32_APPTRACE_DEST_TRAX=
111
+CONFIG_ESP32_APPTRACE_DEST_NONE=y
112
+CONFIG_ESP32_APPTRACE_ENABLE=
113
+CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
114
+
115
+#
116
+# FreeRTOS SystemView Tracing
117
+#
118
+CONFIG_AWS_IOT_SDK=
119
+
120
+#
121
+# Bluetooth
122
+#
123
+CONFIG_BT_ENABLED=
124
+CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
125
+CONFIG_BT_RESERVE_DRAM=0
126
+
127
+#
128
+# ESP32-specific
129
+#
130
+CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
131
+CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
132
+CONFIG_ESP32_DEFAULT_CPU_FREQ_240=
133
+CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
134
+CONFIG_MEMMAP_SMP=y
135
+CONFIG_SPIRAM_SUPPORT=
136
+CONFIG_MEMMAP_TRACEMEM=
137
+CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
138
+CONFIG_ESP32_TRAX=
139
+CONFIG_TRACEMEM_RESERVE_DRAM=0x0
140
+CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=
141
+CONFIG_ESP32_ENABLE_COREDUMP_TO_UART=
142
+CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
143
+CONFIG_ESP32_ENABLE_COREDUMP=
144
+CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=
145
+CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
146
+CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
147
+CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
148
+CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2048
149
+CONFIG_MAIN_TASK_STACK_SIZE=3584
150
+CONFIG_IPC_TASK_STACK_SIZE=1024
151
+CONFIG_TIMER_TASK_STACK_SIZE=3584
152
+CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
153
+CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
154
+CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
155
+CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF=
156
+CONFIG_NEWLIB_STDIN_LINE_ENDING_LF=
157
+CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
158
+CONFIG_NEWLIB_NANO_FORMAT=
159
+CONFIG_CONSOLE_UART_DEFAULT=y
160
+CONFIG_CONSOLE_UART_CUSTOM=
161
+CONFIG_CONSOLE_UART_NONE=
162
+CONFIG_CONSOLE_UART_NUM=0
163
+CONFIG_CONSOLE_UART_BAUDRATE=115200
164
+CONFIG_ULP_COPROC_ENABLED=
165
+CONFIG_ULP_COPROC_RESERVE_MEM=0
166
+CONFIG_ESP32_PANIC_PRINT_HALT=
167
+CONFIG_ESP32_PANIC_PRINT_REBOOT=y
168
+CONFIG_ESP32_PANIC_SILENT_REBOOT=
169
+CONFIG_ESP32_PANIC_GDBSTUB=
170
+CONFIG_ESP32_DEBUG_OCDAWARE=y
171
+CONFIG_INT_WDT=y
172
+CONFIG_INT_WDT_TIMEOUT_MS=300
173
+CONFIG_INT_WDT_CHECK_CPU1=y
174
+CONFIG_TASK_WDT=y
175
+CONFIG_TASK_WDT_PANIC=
176
+CONFIG_TASK_WDT_TIMEOUT_S=5
177
+CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
178
+CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
179
+CONFIG_BROWNOUT_DET=y
180
+CONFIG_BROWNOUT_DET_LVL_SEL_0=y
181
+CONFIG_BROWNOUT_DET_LVL_SEL_1=
182
+CONFIG_BROWNOUT_DET_LVL_SEL_2=
183
+CONFIG_BROWNOUT_DET_LVL_SEL_3=
184
+CONFIG_BROWNOUT_DET_LVL_SEL_4=
185
+CONFIG_BROWNOUT_DET_LVL_SEL_5=
186
+CONFIG_BROWNOUT_DET_LVL_SEL_6=
187
+CONFIG_BROWNOUT_DET_LVL_SEL_7=
188
+CONFIG_BROWNOUT_DET_LVL=0
189
+CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
190
+CONFIG_ESP32_TIME_SYSCALL_USE_RTC=
191
+CONFIG_ESP32_TIME_SYSCALL_USE_FRC1=
192
+CONFIG_ESP32_TIME_SYSCALL_USE_NONE=
193
+CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
194
+CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=
195
+CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
196
+CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
197
+CONFIG_ESP32_XTAL_FREQ_40=y
198
+CONFIG_ESP32_XTAL_FREQ_26=
199
+CONFIG_ESP32_XTAL_FREQ_AUTO=
200
+CONFIG_ESP32_XTAL_FREQ=40
201
+CONFIG_DISABLE_BASIC_ROM_CONSOLE=
202
+CONFIG_NO_BLOBS=
203
+CONFIG_ESP_TIMER_PROFILING=
204
+CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS=
205
+
206
+#
207
+# Wi-Fi
208
+#
209
+CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
210
+CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
211
+CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=
212
+CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
213
+CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
214
+CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
215
+CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
216
+CONFIG_ESP32_WIFI_TX_BA_WIN=6
217
+CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
218
+CONFIG_ESP32_WIFI_RX_BA_WIN=6
219
+CONFIG_ESP32_WIFI_NVS_ENABLED=y
220
+
221
+#
222
+# PHY
223
+#
224
+CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
225
+CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=
226
+CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
227
+CONFIG_ESP32_PHY_MAX_TX_POWER=20
228
+
229
+#
230
+# Power Management
231
+#
232
+CONFIG_PM_ENABLE=
233
+
234
+#
235
+# ADC-Calibration
236
+#
237
+CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
238
+CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
239
+CONFIG_ADC_CAL_LUT_ENABLE=y
240
+
241
+#
242
+# Ethernet
243
+#
244
+CONFIG_DMA_RX_BUF_NUM=10
245
+CONFIG_DMA_TX_BUF_NUM=10
246
+CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=
247
+CONFIG_EMAC_TASK_PRIORITY=20
248
+
249
+#
250
+# FAT Filesystem support
251
+#
252
+CONFIG_FATFS_CODEPAGE_DYNAMIC=
253
+CONFIG_FATFS_CODEPAGE_437=y
254
+CONFIG_FATFS_CODEPAGE_720=
255
+CONFIG_FATFS_CODEPAGE_737=
256
+CONFIG_FATFS_CODEPAGE_771=
257
+CONFIG_FATFS_CODEPAGE_775=
258
+CONFIG_FATFS_CODEPAGE_850=
259
+CONFIG_FATFS_CODEPAGE_852=
260
+CONFIG_FATFS_CODEPAGE_855=
261
+CONFIG_FATFS_CODEPAGE_857=
262
+CONFIG_FATFS_CODEPAGE_860=
263
+CONFIG_FATFS_CODEPAGE_861=
264
+CONFIG_FATFS_CODEPAGE_862=
265
+CONFIG_FATFS_CODEPAGE_863=
266
+CONFIG_FATFS_CODEPAGE_864=
267
+CONFIG_FATFS_CODEPAGE_865=
268
+CONFIG_FATFS_CODEPAGE_866=
269
+CONFIG_FATFS_CODEPAGE_869=
270
+CONFIG_FATFS_CODEPAGE_932=
271
+CONFIG_FATFS_CODEPAGE_936=
272
+CONFIG_FATFS_CODEPAGE_949=
273
+CONFIG_FATFS_CODEPAGE_950=
274
+CONFIG_FATFS_CODEPAGE=437
275
+CONFIG_FATFS_LFN_NONE=y
276
+CONFIG_FATFS_LFN_HEAP=
277
+CONFIG_FATFS_LFN_STACK=
278
+CONFIG_FATFS_FS_LOCK=0
279
+CONFIG_FATFS_TIMEOUT_MS=10000
280
+CONFIG_FATFS_PER_FILE_CACHE=y
281
+
282
+#
283
+# FreeRTOS
284
+#
285
+CONFIG_FREERTOS_UNICORE=
286
+CONFIG_FREERTOS_CORETIMER_0=y
287
+CONFIG_FREERTOS_CORETIMER_1=
288
+CONFIG_FREERTOS_HZ=100
289
+CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
290
+CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE=
291
+CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=
292
+CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
293
+CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=
294
+CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
295
+CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
296
+CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
297
+CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE=
298
+CONFIG_FREERTOS_ASSERT_DISABLE=
299
+CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024
300
+CONFIG_FREERTOS_ISR_STACKSIZE=1536
301
+CONFIG_FREERTOS_LEGACY_HOOKS=
302
+CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
303
+CONFIG_SUPPORT_STATIC_ALLOCATION=
304
+CONFIG_TIMER_TASK_PRIORITY=1
305
+CONFIG_TIMER_TASK_STACK_DEPTH=2048
306
+CONFIG_TIMER_QUEUE_LENGTH=10
307
+CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
308
+CONFIG_FREERTOS_USE_TRACE_FACILITY=
309
+CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=
310
+CONFIG_FREERTOS_DEBUG_INTERNALS=
311
+
312
+#
313
+# Heap memory debugging
314
+#
315
+CONFIG_HEAP_POISONING_DISABLED=y
316
+CONFIG_HEAP_POISONING_LIGHT=
317
+CONFIG_HEAP_POISONING_COMPREHENSIVE=
318
+CONFIG_HEAP_TRACING=
319
+
320
+#
321
+# libsodium
322
+#
323
+CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y
324
+
325
+#
326
+# Log output
327
+#
328
+CONFIG_LOG_DEFAULT_LEVEL_NONE=
329
+CONFIG_LOG_DEFAULT_LEVEL_ERROR=
330
+CONFIG_LOG_DEFAULT_LEVEL_WARN=
331
+CONFIG_LOG_DEFAULT_LEVEL_INFO=y
332
+CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
333
+CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
334
+CONFIG_LOG_DEFAULT_LEVEL=3
335
+CONFIG_LOG_COLORS=y
336
+
337
+#
338
+# LWIP
339
+#
340
+CONFIG_L2_TO_L3_COPY=
341
+CONFIG_LWIP_MAX_SOCKETS=10
342
+CONFIG_LWIP_SO_REUSE=y
343
+CONFIG_LWIP_SO_REUSE_RXTOALL=y
344
+CONFIG_LWIP_SO_RCVBUF=
345
+CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
346
+CONFIG_LWIP_IP_FRAG=
347
+CONFIG_LWIP_IP_REASSEMBLY=
348
+CONFIG_LWIP_STATS=
349
+CONFIG_LWIP_ETHARP_TRUST_IP_MAC=y
350
+CONFIG_TCPIP_RECVMBOX_SIZE=32
351
+CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
352
+
353
+#
354
+# DHCP server
355
+#
356
+CONFIG_LWIP_DHCPS_LEASE_UNIT=60
357
+CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
358
+CONFIG_LWIP_AUTOIP=
359
+CONFIG_LWIP_NETIF_LOOPBACK=y
360
+CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8
361
+
362
+#
363
+# TCP
364
+#
365
+CONFIG_LWIP_MAX_ACTIVE_TCP=16
366
+CONFIG_LWIP_MAX_LISTENING_TCP=16
367
+CONFIG_TCP_MAXRTX=12
368
+CONFIG_TCP_SYNMAXRTX=6
369
+CONFIG_TCP_MSS=1436
370
+CONFIG_TCP_MSL=60000
371
+CONFIG_TCP_SND_BUF_DEFAULT=5744
372
+CONFIG_TCP_WND_DEFAULT=5744
373
+CONFIG_TCP_RECVMBOX_SIZE=6
374
+CONFIG_TCP_QUEUE_OOSEQ=y
375
+CONFIG_TCP_OVERSIZE_MSS=y
376
+CONFIG_TCP_OVERSIZE_QUARTER_MSS=
377
+CONFIG_TCP_OVERSIZE_DISABLE=
378
+
379
+#
380
+# UDP
381
+#
382
+CONFIG_LWIP_MAX_UDP_PCBS=16
383
+CONFIG_UDP_RECVMBOX_SIZE=6
384
+CONFIG_TCPIP_TASK_STACK_SIZE=2048
385
+CONFIG_PPP_SUPPORT=
386
+
387
+#
388
+# ICMP
389
+#
390
+CONFIG_LWIP_MULTICAST_PING=
391
+CONFIG_LWIP_BROADCAST_PING=
392
+
393
+#
394
+# LWIP RAW API
395
+#
396
+CONFIG_LWIP_MAX_RAW_PCBS=16
397
+
398
+#
399
+# mbedTLS
400
+#
401
+CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
402
+CONFIG_MBEDTLS_DEBUG=
403
+CONFIG_MBEDTLS_HARDWARE_AES=y
404
+CONFIG_MBEDTLS_HARDWARE_MPI=
405
+CONFIG_MBEDTLS_HARDWARE_SHA=
406
+CONFIG_MBEDTLS_HAVE_TIME=y
407
+CONFIG_MBEDTLS_HAVE_TIME_DATE=
408
+CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
409
+CONFIG_MBEDTLS_TLS_SERVER_ONLY=
410
+CONFIG_MBEDTLS_TLS_CLIENT_ONLY=
411
+CONFIG_MBEDTLS_TLS_DISABLED=
412
+CONFIG_MBEDTLS_TLS_SERVER=y
413
+CONFIG_MBEDTLS_TLS_CLIENT=y
414
+CONFIG_MBEDTLS_TLS_ENABLED=y
415
+
416
+#
417
+# TLS Key Exchange Methods
418
+#
419
+CONFIG_MBEDTLS_PSK_MODES=
420
+CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
421
+CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
422
+CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
423
+CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
424
+CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
425
+CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
426
+CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
427
+CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
428
+CONFIG_MBEDTLS_SSL_PROTO_SSL3=
429
+CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
430
+CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
431
+CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
432
+CONFIG_MBEDTLS_SSL_PROTO_DTLS=
433
+CONFIG_MBEDTLS_SSL_ALPN=y
434
+CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y
435
+
436
+#
437
+# Symmetric Ciphers
438
+#
439
+CONFIG_MBEDTLS_AES_C=y
440
+CONFIG_MBEDTLS_CAMELLIA_C=
441
+CONFIG_MBEDTLS_DES_C=
442
+CONFIG_MBEDTLS_RC4_DISABLED=y
443
+CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT=
444
+CONFIG_MBEDTLS_RC4_ENABLED=
445
+CONFIG_MBEDTLS_BLOWFISH_C=
446
+CONFIG_MBEDTLS_XTEA_C=
447
+CONFIG_MBEDTLS_CCM_C=y
448
+CONFIG_MBEDTLS_GCM_C=y
449
+CONFIG_MBEDTLS_RIPEMD160_C=
450
+
451
+#
452
+# Certificates
453
+#
454
+CONFIG_MBEDTLS_PEM_PARSE_C=y
455
+CONFIG_MBEDTLS_PEM_WRITE_C=y
456
+CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
457
+CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
458
+CONFIG_MBEDTLS_ECP_C=y
459
+CONFIG_MBEDTLS_ECDH_C=y
460
+CONFIG_MBEDTLS_ECDSA_C=y
461
+CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
462
+CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
463
+CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
464
+CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
465
+CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
466
+CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
467
+CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
468
+CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
469
+CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
470
+CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
471
+CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
472
+CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
473
+CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
474
+
475
+#
476
+# OpenSSL
477
+#
478
+CONFIG_OPENSSL_DEBUG=
479
+CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
480
+CONFIG_OPENSSL_ASSERT_EXIT=
481
+
482
+#
483
+# PThreads
484
+#
485
+CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
486
+CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
487
+
488
+#
489
+# SPI Flash driver
490
+#
491
+CONFIG_SPI_FLASH_VERIFY_WRITE=
492
+CONFIG_SPI_FLASH_ENABLE_COUNTERS=
493
+CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
494
+CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
495
+CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS=
496
+CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=
497
+
498
+#
499
+# SPIFFS Configuration
500
+#
501
+CONFIG_SPIFFS_MAX_PARTITIONS=3
502
+
503
+#
504
+# SPIFFS Cache Configuration
505
+#
506
+CONFIG_SPIFFS_CACHE=y
507
+CONFIG_SPIFFS_CACHE_WR=y
508
+CONFIG_SPIFFS_CACHE_STATS=
509
+CONFIG_SPIFFS_PAGE_CHECK=y
510
+CONFIG_SPIFFS_GC_MAX_RUNS=10
511
+CONFIG_SPIFFS_GC_STATS=
512
+CONFIG_SPIFFS_OBJ_NAME_LEN=32
513
+CONFIG_SPIFFS_USE_MAGIC=y
514
+CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
515
+CONFIG_SPIFFS_META_LENGTH=4
516
+CONFIG_SPIFFS_USE_MTIME=y
517
+
518
+#
519
+# Debug Configuration
520
+#
521
+CONFIG_SPIFFS_DBG=
522
+CONFIG_SPIFFS_API_DBG=
523
+CONFIG_SPIFFS_GC_DBG=
524
+CONFIG_SPIFFS_CACHE_DBG=
525
+CONFIG_SPIFFS_CHECK_DBG=
526
+CONFIG_SPIFFS_TEST_VISUALISATION=
527
+
528
+#
529
+# tcpip adapter
530
+#
531
+CONFIG_IP_LOST_TIMER_INTERVAL=120
532
+
533
+#
534
+# Wear Levelling
535
+#
536
+CONFIG_WL_SECTOR_SIZE_512=
537
+CONFIG_WL_SECTOR_SIZE_4096=y
538
+CONFIG_WL_SECTOR_SIZE=4096

Loading…
Cancel
Save