forked from letscontrolit/ESPEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request letscontrolit#5135 from TD-er/feature/email_TLS
[Email] Add SSL support for sending email
- Loading branch information
Showing
165 changed files
with
31,096 additions
and
646 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Configuration for a native build on a generic Unix-like system. | ||
|
||
# Build directory. | ||
BUILD = build | ||
|
||
# Extension for executable files. | ||
E = | ||
|
||
# Extension for object files. | ||
O = .o | ||
|
||
# Prefix for library file name. | ||
LP = lib | ||
|
||
# Extension for library file name. | ||
L = .a | ||
|
||
# Prefix for DLL file name. | ||
DP = lib | ||
|
||
# Extension for DLL file name. | ||
D = .so | ||
|
||
# Output file names can be overridden directly. By default, they are | ||
# assembled using the prefix/extension macros defined above. | ||
# BEARSSLLIB = libbearssl.a | ||
# BEARSSLDLL = libbearssl.so | ||
# BRSSL = brssl | ||
# TESTCRYPTO = testcrypto | ||
# TESTSPEED = testspeed | ||
# TESTX509 = testx509 | ||
|
||
# File deletion tool. | ||
RM = rm -f | ||
|
||
# Directory creation tool. | ||
MKDIR = mkdir -p | ||
|
||
# C compiler and flags. | ||
CC = cc | ||
CFLAGS = -W -Wall -Os -fPIC -DBR_SLOW_MUL15=1 | ||
CCOUT = -c -o | ||
|
||
# Static library building tool. | ||
AR = ar | ||
ARFLAGS = -rcs | ||
AROUT = | ||
|
||
# DLL building tool. | ||
LDDLL = cc | ||
LDDLLFLAGS = -shared | ||
LDDLLOUT = -o | ||
|
||
# Static linker. | ||
LD = cc | ||
LDFLAGS = | ||
LDOUT = -o | ||
|
||
# C# compiler; we assume usage of Mono. | ||
MKT0COMP = mk$PmkT0.sh | ||
RUNT0COMP = mono T0Comp.exe | ||
|
||
# Set the values to 'no' to disable building of the corresponding element | ||
# by default. Building can still be invoked with an explicit target call | ||
# (e.g. 'make dll' to force build the DLL). | ||
#STATICLIB = no | ||
#DLL = no | ||
#TOOLS = no | ||
#TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Example configuration file for compiling on a Unix-like system with | ||
# GCC, targeting a 32-bit output. Moreover, it enables the "LOMUL" setting | ||
# to make the code select the "small" integer implementations (i15, m15, | ||
# ctmul32...), which is not necessarily a good idea for performance, but | ||
# handy for tests. | ||
|
||
include conf/Unix.mk | ||
|
||
BUILD = build32 | ||
CFLAGS = -W -Wall -Os -fPIC -m32 -DBR_LOMUL -DBR_SLOW_MUL15=1 | ||
LDFLAGS = -m32 | ||
LDDLLFLAGS = -shared -m32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Example configuration file for compiling on a Unix-like system with | ||
# clang as compiler instead of gcc. | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
BUILD = bclang | ||
CC = clang | ||
LD = clang | ||
LDDLL = clang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Configuration for a native build on a Windows system with Visual Studio. | ||
|
||
# Build directory. | ||
BUILD = build | ||
|
||
# Extension for executable files. | ||
E = .exe | ||
|
||
# Extension for object files. | ||
O = .obj | ||
|
||
# Prefix for static library file name. | ||
LP = | ||
|
||
# Extension for static library file name. We add an 's' so that the | ||
# name is distinct from the 'import library' generated along with the DLL. | ||
L = s.lib | ||
|
||
# Prefix for DLL file name. | ||
DP = | ||
|
||
# Extension for DLL file name. | ||
D = .dll | ||
|
||
# Output file names can be overridden directly. By default, they are | ||
# assembled using the prefix/extension macros defined above. | ||
# BEARSSLLIB = bearssls.lib | ||
# BEARSSLDLL = bearssl.dll | ||
# BRSSL = brssl.exe | ||
# TESTCRYPTO = testcrypto.exe | ||
# TESTSPEED = testspeed.exe | ||
# TESTX509 = testx509.exe | ||
|
||
# File deletion tool. | ||
RM = del /Q | ||
|
||
# Directory creation tool. | ||
MKDIR = mkdir | ||
|
||
# C compiler and flags. | ||
CC = cl | ||
CFLAGS = -nologo -W2 -O2 | ||
CCOUT = -c -Fo | ||
|
||
# Static library building tool. | ||
AR = lib | ||
ARFLAGS = -nologo | ||
AROUT = -out: | ||
|
||
# DLL building tool. | ||
LDDLL = cl | ||
LDDLLFLAGS = -nologo -LD -MT | ||
LDDLLOUT = -Fe | ||
|
||
# Static linker. | ||
LD = cl | ||
LDFLAGS = -nologo | ||
LDOUT = -Fe | ||
|
||
# C# compiler. | ||
MKT0COMP = mk$PmkT0.cmd | ||
RUNT0COMP = T0Comp.exe | ||
|
||
# Set the values to 'no' to disable building of the corresponding element | ||
# by default. Building can still be invoked with an explicit target call | ||
# (e.g. 'make dll' to force build the DLL). | ||
#STATICLIB = no | ||
#DLL = no | ||
#TOOLS = no | ||
#TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Configuration for compiling to an ESP8266 from a UNIX system | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
# We override the build directory. | ||
BUILD = esp8266m32 | ||
|
||
# C compiler, linker, and static library builder. | ||
TOOLCHAIN_PREFIX := xtensa-lx106-elf- | ||
CC := $(TOOLCHAIN_PREFIX)gcc | ||
CFLAGS = -W -Wall -g -Os -Wpointer-arith -Wl,-EL -nostdlib -mlongcalls -mno-text-section-literals -ffunction-sections -fdata-sections -Werror | ||
CFLAGS += -D__ets__ -DICACHE_FLASH -DESP8266 -DESP8266M32 -DPGM_READ_UNALIGNED=0 | ||
LD := $(TOOLCHAIN_PREFIX)ld | ||
AR := $(TOOLCHAIN_PREFIX)ar | ||
|
||
# We compile only the static library. | ||
DLL = no | ||
TOOLS = no | ||
TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Configuration for compiling to a Pico from a UNIX system | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
# We override the build directory. | ||
BUILD = pico | ||
|
||
# C compiler, linker, and static library builder. | ||
TOOLCHAIN_PREFIX := arm-none-eabi- | ||
CC := $(TOOLCHAIN_PREFIX)gcc | ||
CFLAGS = -W -Wall -g -O2 -Wpointer-arith -Wl,-EL -nostdlib -ffunction-sections -fdata-sections -Werror -free -fipa-pta | ||
CFLAGS += -DICACHE_FLASH -DBR_SLOW_MUL15=1 -DPGM_READ_UNALIGNED=0 -DBR_USE_PICO_RAND | ||
CFLAGS += -march=armv6-m -mcpu=cortex-m0plus -mthumb | ||
LD := $(TOOLCHAIN_PREFIX)ld | ||
AR := $(TOOLCHAIN_PREFIX)ar | ||
|
||
# We compile only the static library. | ||
DLL = no | ||
TOOLS = no | ||
TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Configuration for compiling to a Pico from a UNIX system | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
# We override the build directory. | ||
BUILD = pico2 | ||
|
||
# C compiler, linker, and static library builder. | ||
TOOLCHAIN_PREFIX := arm-none-eabi- | ||
CC := $(TOOLCHAIN_PREFIX)gcc | ||
CFLAGS = -W -Wall -g -O2 -Wpointer-arith -Wl,-EL -nostdlib -ffunction-sections -fdata-sections -Werror -free -fipa-pta | ||
CFLAGS += -DICACHE_FLASH -DBR_SLOW_MUL15=1 -DPGM_READ_UNALIGNED=0 -DBR_USE_PICO_RAND | ||
CFLAGS += -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcpu=cortex-m33 -mthumb | ||
LD := $(TOOLCHAIN_PREFIX)ld | ||
AR := $(TOOLCHAIN_PREFIX)ar | ||
|
||
# We compile only the static library. | ||
DLL = no | ||
TOOLS = no | ||
TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Configuration for compiling to a Pico from a UNIX system | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
# We override the build directory. | ||
BUILD = pico2rv | ||
|
||
# C compiler, linker, and static library builder. | ||
TOOLCHAIN_PREFIX := riscv32-unknown-elf- | ||
CC := $(TOOLCHAIN_PREFIX)gcc | ||
CFLAGS = -W -Wall -g -O2 -Wpointer-arith -Wl,-EL -nostdlib -ffunction-sections -fdata-sections -Werror -free -fipa-pta | ||
CFLAGS += -DICACHE_FLASH -DBR_SLOW_MUL15=1 -DPGM_READ_UNALIGNED=0 -DBR_USE_PICO_RAND | ||
CFLAGS += -march=rv32imac_zicsr_zifencei_zba_zbb_zbs_zbkb -mabi=ilp32 | ||
LD := $(TOOLCHAIN_PREFIX)ld | ||
AR := $(TOOLCHAIN_PREFIX)ar | ||
|
||
# We compile only the static library. | ||
DLL = no | ||
TOOLS = no | ||
TESTS = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Example configuration file for compiling for an Atmel SAM D20 Xplained | ||
# Pro evaluation kit, on a Unix-like system, with a GNU toolchain. | ||
|
||
# We are on a Unix system so we assume a Single Unix compatible 'make' | ||
# utility, and Unix defaults. | ||
include conf/Unix.mk | ||
|
||
# We override the build directory. | ||
BUILD = samd20 | ||
|
||
# C compiler, linker, and static library builder. | ||
CC = arm-none-eabi-gcc | ||
CFLAGS = -W -Wall -Os -mthumb -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -DBR_ARMEL_CORTEXM_GCC | ||
LD = arm-none-eabi-gcc | ||
AR = arm-none-eabi-ar | ||
|
||
# We compile only the static library. | ||
DLL = no | ||
TOOLS = no | ||
TESTS = no |
Oops, something went wrong.