esp-idf/components/driver
Ivan Grokhotkov 7027d2dfe8 spi_master: compile as C11 due to use of stdatomic.h
stdatomic.h is available both in newlib and GCC include directories.
Normally (if you invoke the compiler without any flags) GCC include
directories are first on the list, so GCC’s stdatomic.h is used. In
IDF, we used to pass newlib include path as an extra include
directory, so newlib’s stdint.h got included instead.

Newlib 2.2.0 stdatomic implementation is compatible with -std=gnu99
but incompatible with -std=gnu11. And GCC doesn’t support atomic_load
with -std=gnu99 (it’s a C11 feature). So when we used atomic_load
with -std=gnu99, it worked due to newlib’s header.

Since we are no longer going to be including newlib headers into IDF,
GCC stdatomic will be used instead. Hence, add -std=gnu11 for source
files which use atomic features.
2019-04-10 13:48:57 +08:00
..
include/driver misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
test separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
adc1_i2s_private.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
can.c CAN: Add functions to clear queues and fix multiple bugs 2019-02-18 21:31:33 +08:00
CMakeLists.txt spi_master: compile as C11 due to use of stdatomic.h 2019-04-10 13:48:57 +08:00
component.mk spi_master: compile as C11 due to use of stdatomic.h 2019-04-10 13:48:57 +08:00
gpio.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
i2c.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
i2s.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
Kconfig Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
ledc.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
mcpwm.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
pcnt.c pcnt/driver: Sped the pcnt_intr_service ISR 2019-03-13 13:50:43 +00:00
periph_ctrl.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
rmt.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
rtc_module.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
sdio_slave.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
sdmmc_host.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
sdmmc_private.h sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdmmc_transaction.c sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdspi_crc.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
sdspi_crc.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_host.c Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_private.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_transaction.c feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
spi_master.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
spi_slave.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
timer.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
uart.c misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00