]> granicus.if.org Git - esp-idf/commitdiff
soc: Add "#include <stdint.h>" to all register structs
authorAngus Gratton <angus@espressif.com>
Tue, 4 Dec 2018 00:17:38 +0000 (11:17 +1100)
committerAngus Gratton <gus@projectgus.com>
Tue, 4 Dec 2018 00:17:38 +0000 (11:17 +1100)
Closes https://github.com/espressif/esp-idf/issues/2239

TW24912

22 files changed:
components/soc/esp32/include/soc/apb_ctrl_struct.h
components/soc/esp32/include/soc/can_struct.h
components/soc/esp32/include/soc/gpio_sd_struct.h
components/soc/esp32/include/soc/gpio_struct.h
components/soc/esp32/include/soc/hinf_struct.h
components/soc/esp32/include/soc/host_struct.h
components/soc/esp32/include/soc/i2c_struct.h
components/soc/esp32/include/soc/i2s_struct.h
components/soc/esp32/include/soc/ledc_struct.h
components/soc/esp32/include/soc/mcpwm_struct.h
components/soc/esp32/include/soc/pcnt_struct.h
components/soc/esp32/include/soc/rmt_struct.h
components/soc/esp32/include/soc/rtc_cntl_struct.h
components/soc/esp32/include/soc/rtc_io_struct.h
components/soc/esp32/include/soc/sdmmc_struct.h
components/soc/esp32/include/soc/sens_struct.h
components/soc/esp32/include/soc/slc_struct.h
components/soc/esp32/include/soc/spi_struct.h
components/soc/esp32/include/soc/syscon_struct.h
components/soc/esp32/include/soc/timer_group_struct.h
components/soc/esp32/include/soc/uart_struct.h
components/soc/esp32/include/soc/uhci_struct.h

index 0d8e49a42ededda7578de9fea27bf204aaf70921..a871af842126269c7b8ad4cbdade354fa3597a49 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_APB_CTRL_STRUCT_H_
 #define _SOC_APB_CTRL_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3f566b135d5e7000a6e41ff7ce3a2a1c50c6f630..fd9609344d5a5e97b47d1b2cce0cad1e3f31942b 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_CAN_STRUCT_H_
 #define _SOC_CAN_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index e5001c23f5f6003c375ad77fd898aea743640bf6..4b82be052caab25b7a2e4aa1068cc94a6f080bd9 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_GPIO_SD_STRUCT_H_
 #define _SOC_GPIO_SD_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 46ee88229c2f3c24c93b4047a0ac5284e16ab936..15038fed3ff61c4c1ad6b7af3c65ca3f40ce7ab2 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_GPIO_STRUCT_H_
 #define _SOC_GPIO_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 1c2d9e3b7848f7b3ceb01a6b1918a7c24c357f2d..8e46f5397d0b21bf7d841d03a01ce113790ea23d 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_HINF_STRUCT_H_
 #define _SOC_HINF_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index a86c2982db1c820247012d0cece70ddcac032345..6c350abfc3abff4a9c7f6bd6ed6579bb24c2346e 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_HOST_STRUCT_H_
 #define _SOC_HOST_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 7e7818700e3603ce1202e184ee3b5ad23e4a435d..c60bb1e7c18f5d61d667bee3d13fb3189533b9d2 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_I2C_STRUCT_H_
 #define _SOC_I2C_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 8ec3145cdc8f8b27df1af747150f5c7591ec8523..aa92bb75fea896a4be9a2d0d8c944b44d2e4b8d9 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_I2S_STRUCT_H_
 #define _SOC_I2S_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 4c87dfc2654995b5d0b1461d44abed0143194b6e..d07e059f2097cc5f6f5fe74c4637f1cb268ab195 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_LEDC_STRUCT_H_
 #define _SOC_LEDC_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index f41d40c644867cb8a580f26a1310650a8bbac18e..1d5110bf8c9bd159bafd099e4d6d92e4bd044967 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_MCPWM_STRUCT_H__
 #define _SOC_MCPWM_STRUCT_H__
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 8cfd4ca36e26e217a94e7b10e6ef47386a2d46e3..a551835bb8faa30c8c7c890aa8d9715a7d16dda6 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_PCNT_STRUCT_H_
 #define _SOC_PCNT_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3fb254ad60bfb978bd3caf56a5ff1ea345d5f85c..bc4cd7a2ec52f9cd9a34dee2aa394769445c5aac 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_RMT_STRUCT_H_
 #define _SOC_RMT_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index e203722608da6f16119619c9cbbd6573332333f8..17a2d180382eefa9d8618466d9ee598342eab0e9 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_RTC_CNTL_STRUCT_H_
 #define _SOC_RTC_CNTL_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index f20ad4c2cf2aaf8710c4528ffd6a497e0aa630b5..d82f1bd8c048dde7653af9de988a8fa46d30fc59 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_RTC_IO_STRUCT_H_
 #define _SOC_RTC_IO_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 6aa64b43cc3d0632e7f7b10af1c341103b5220bc..17b8b3f24f79e1aa290bb5c410f4177e7252fa5f 100644 (file)
@@ -16,6 +16,8 @@
 
 #include <stdint.h>
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 37069a9456005c112485f22e2174121ede7a4616..f572148cd1d26c6873d3c088f6938b6d86af10a0 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_SENS_STRUCT_H_
 #define _SOC_SENS_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3d93ceef71d6d9b040537dc520b842fdfa843fba..55506a5b436c00715f71fdf2467f6921a6466e63 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_SLC_STRUCT_H_
 #define _SOC_SLC_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index a52ddf4105057bcebfccfb3b33914a5709b2fd75..3e36c81c905e5b97f59ba06bd00e44f4dd4b777a 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_SPI_STRUCT_H_
 #define _SOC_SPI_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 42bd643d169e2715be906a77e626f5f46cd3da21..4fb86f42b998f26e35616f0cc207ee667d5c3bbf 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_SYSCON_STRUCT_H_
 #define _SOC_SYSCON_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index da9acd0c7a0fe1422bb522ce63a9315169125e06..6d312969d498c7aaa1990a6036adfc0bf2f8cbe7 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_TIMG_STRUCT_H_
 #define _SOC_TIMG_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 59b84d2afc28244df04a3211fb7a2c9b5d57ebb6..4efd6cf9011a77e5f86e8f1b0bc6c114f2b1dc00 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_UART_STRUCT_H_
 #define _SOC_UART_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 1c1ff0b889163b71c2df4491ff2afe8b05f12c98..543af215c4422010e5d8b1aedcfe474d72e3e2b7 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _SOC_UHCI_STRUCT_H_
 #define _SOC_UHCI_STRUCT_H_
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif