18 Commits

Author SHA1 Message Date
d5b14d7427 feat(bootloader): Initialize SPI flash clock and I/O mode at bootloader 2018-11-09 16:52:59 +08:00
f35c32e217 Merge branch 'feature/refactor_soft_pwm_driver' into 'master'
refactor(pwm):  Refactor pwm driver for esp8266 idf

See merge request sdk/ESP8266_RTOS_SDK!267
2018-10-19 16:49:24 +08:00
1cf8601373 refactor(pwm): Refactor pwm driver for esp8266 idf. 2018-10-16 15:06:32 +08:00
a5cdc760b4 refactor(i2c): refactor i2c driver for idf 2018-09-28 15:35:45 +08:00
b3b3f9d3ef feat(spi_flash): Refactor SPI flash for saving IRAM 2018-09-17 16:12:39 +08:00
8c97d2956c bugfix(gpio): Repair GPIO interrupt function
Because the interrupt structure of esp8266 and esp32 is not the same, the following functions need to be deleted
* Delete the gpio_intr_enable() and gpio_intr_disable() functions

Related issues
* Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/282
* Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/284
2018-08-16 11:27:53 +08:00
97335027c7 refactor(driver): Refactor uart driver for esp8266 idf 2018-08-10 13:39:53 +08:00
374657a8c5 feat(esp8266): Remove old drivers 2018-08-09 20:07:23 +08:00
8fdffe47ad refactor(gpio): Refactor gpio driver for esp8266 idf 2018-08-09 10:57:00 +08:00
9d0b024433 feat(esp8266): Refactor ets system headler file 2018-06-27 11:39:50 +08:00
c8ac7cc2be fix(esp8266): Fix header files dependency in esp8266
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/197
2018-05-31 17:30:14 +08:00
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
3c560f678a feat(driver): Clean up header files dependency 2018-05-23 16:43:29 +08:00
78bdcf043e feat(driver): Use standard typedef 2018-05-23 15:24:05 +08:00
a08d0711a4 feat(driver): Use astyle to format the code 2018-05-23 15:16:16 +08:00
ae6c134ec4 feat(driver): Update to use apache license 2018-05-23 15:14:08 +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
3e1f0b973e feat(esp2866): Move driver to esp8266 of components 2018-04-08 10:38:18 +08:00