Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Dec 25, 2021
1 parent 64578ce commit 9a9e850
Show file tree
Hide file tree
Showing 28 changed files with 261 additions and 1,024 deletions.
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,3 @@
# END OF .gitmodules
#
#################################################################################################

29 changes: 29 additions & 0 deletions Sming/Arch/Esp32/Components/esp32/sdk/config/debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# DEBUG
#

# The bootloader logs all type of messages
CONFIG_BOOTLOADER_LOG_LEVEL_NONE=
CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=
CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG=
CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE=
CONFIG_BOOTLOADER_LOG_LEVEL=3

# ESP-IDF logs all type of messages
CONFIG_LOG_DEFAULT_LEVEL_NONE=
CONFIG_LOG_DEFAULT_LEVEL_ERROR=
CONFIG_LOG_DEFAULT_LEVEL_WARN=
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=3

# Sets watchpoint index 1 (the second of two) at the end of any task stack. This is the most accurate way to debug task stack overflows.
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y

# Used by TaskStat class to track task usage
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
22 changes: 22 additions & 0 deletions Sming/Arch/Esp32/Components/esp32/sdk/config/release
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# RELEASE
#

# The bootloader logs only errors
CONFIG_BOOTLOADER_LOG_LEVEL_NONE=
CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=
CONFIG_BOOTLOADER_LOG_LEVEL_INFO=
CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG=
CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE=
CONFIG_BOOTLOADER_LOG_LEVEL=1

# ESP-IDF logs only errors
CONFIG_LOG_DEFAULT_LEVEL_NONE=
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
CONFIG_LOG_DEFAULT_LEVEL_WARN=
CONFIG_LOG_DEFAULT_LEVEL_INFO=
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=1

1 change: 0 additions & 1 deletion Sming/Arch/Esp32/Components/spi_flash/flashmem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*
****/

#include <sdkconfig.h>
#include <esp_spi_flash.h>
#include <soc/mmu.h>
#include <esp_flash_partitions.h>
Expand Down
3 changes: 0 additions & 3 deletions Sming/Arch/Esp32/Core/Interrupts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
#include <esp_intr_alloc.h>
#include <hal/gpio_ll.h>

#define gpio_drive_cap_t uint32_t
#include <hal/gpio_ll.h>

constexpr unsigned MAX_INTERRUPTS = 40;

static intr_handle_t interruptHandle = nullptr;
Expand Down
Empty file modified Sming/Arch/Esp32/Tools/install.sh
100644 → 100755
Empty file.
5 changes: 0 additions & 5 deletions Sming/Arch/Esp32/app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,5 @@ ifeq ($(CHIP_REV_MIN),)
CHIP_REV_MIN := 0
endif

CHIP_REV_MIN := $(CONFIG_$(call ToUpper,$(ESP_VARIANT))_REV_MIN)
ifeq ($(CHIP_REV_MIN),)
CHIP_REV_MIN := 0
endif

$(TARGET_BIN): $(TARGET_OUT)
$(Q) $(ESPTOOL_CMDLINE) elf2image --min-rev $(CHIP_REV_MIN) --elf-sha256-offset 0xb0 $(flashimageoptions) -o $@ $<
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

#include <esp_system.h>

// Disarmed
#define OS_TIMER_DEFAULT() \
{ \
.timer_next = (os_timer_t*)-1, \
}

// Disarmed
#define OS_TIMER_DEFAULT() \
{ \
Expand Down
4 changes: 0 additions & 4 deletions Sming/Arch/Esp8266/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#
##############

ifdef ESP_VARIANT
override ESP_VARIANT :=
endif

CPPFLAGS += -DARCH_ESP8266
CXXFLAGS += -fno-threadsafe-statics

Expand Down
4 changes: 0 additions & 4 deletions Sming/Arch/Host/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#
##############

ifdef ESP_VARIANT
override ESP_VARIANT :=
endif

CPPFLAGS += -DARCH_HOST

TOOLSPEC :=
Expand Down
6 changes: 0 additions & 6 deletions Sming/Libraries/simpleRPC/component.mk

This file was deleted.

Empty file.
63 changes: 0 additions & 63 deletions Sming/Libraries/simpleRPC/include/simpleRPC/parser.h

This file was deleted.

1 change: 0 additions & 1 deletion Sming/Libraries/simpleRPC/simpleRPC
Submodule simpleRPC deleted from 5696f3
65 changes: 0 additions & 65 deletions Sming/Libraries/simpleRPC/simpleRPC.patch

This file was deleted.

Empty file removed Sming/Libraries/simpleRPC/src/.cs
Empty file.
Loading

0 comments on commit 9a9e850

Please sign in to comment.