15 Commits

Author SHA1 Message Date
6c066fad87 fix(openssl): Fix warning in openssl 2018-05-31 15:33:42 +08:00
5340fae48b feat(mbedtls): Modify openssl according to mbedtls V2.8.0
1. Remove SSL_CTX_set_default_read_buffer_len and SSL_set_default_read_buffer_len.
2. Add SSL_CTX_load_verify_buffer to load CA certification.
2018-05-25 20:42:11 +08:00
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
91f7080231 fix: Fix all files when change to use standard typedef 2018-05-24 19:27:41 +08:00
d75ffa61eb feat(esp8266): Don't use ICACHE_RODATA_ATTR to let string to be in flash
rodata will be in flash by default.
2018-05-24 11:02:34 +08:00
7665082ad0 feat(esp8266): Make os_printf equal to printf
Since the string used by printf are put in flash by default.
Don't need the old os_printf to define a macro to put string to flash manually.
2018-05-24 10:17:00 +08:00
f82e9be787 fix: Fixing lots of compilation warnings
- fix(esp8266):
  - Adding includes for missing symbols.
  - Removing unused variables.
  - Skip unsupported packing pragmas.
  - Add rom_functions.h for symbols that come from the ESP ROM. Add attributes on
ets_printf so GCC will check the syntax of the formatting string and types of
the arguments.
  - Add ETS_GPIO_INTR_EN(DIS)ABLE macro.
  - Use gpio_output_conf instead of gpio_output_set.

- fix(freertos):
  - Define functions that are useful.
  - Use correct printf symbols when printing.

- fix(lwip):
  - Ignore the warning in sntp.

- fix(mqtt):
  - `xTicksToWait` is unsigned, can't check for less than zero. Remove
unused variables.

- fix(newlib):
  - `_free_r()` returns `void`, not `void *`.
  - Adding includes for missing symbols.

- fix(ssl):
  - Make sure functions always return a value.

Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/188
2018-05-23 14:52:26 +08:00
7e8a728427 feat(mbedtls): Make openssl into mbedtls 2018-05-17 18:21:50 +08:00
e5b90bdf88 feat(mbedtls): Make mbedtls port for esp8266 2018-05-10 16:32:50 +08:00
b765af922f feat(mbedtls): Add mbedtls debug function 2018-05-10 16:14:57 +08:00
3693d42993 feat(mbedtls): Add mbedtls menuconfig 2018-05-10 12:00:42 +08:00
c449c39388 feat(examples): Add https mbedtls example 2018-04-25 19:05:57 +08:00
d7cedfade5 feat(mbedtls): Update mbedtls from V2.2.1 to V2.8.0
Source: https://github.com/ARMmbed/mbedtls.git
2018-04-19 20:53:10 +08:00
8b3fb84266 feat(mbedtls): Redefine mbedtls file structure 2018-04-19 18:45:44 +08:00
7782d6adf2 feat(ssl): Restructure ssl folder
Put mbedtls, axtls, openssl to ssl, also add kconfig to choose ssl library.
Default use mbedtls.
2018-04-09 20:09:27 +08:00