cpu/*: add missing include of assert.h

This commit is contained in:
Bas Stottelaar 2020-10-21 15:56:42 +02:00
parent 5e7ee01755
commit ab6188cea3
55 changed files with 86 additions and 2 deletions

View File

@ -42,6 +42,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include "byteorder.h" #include "byteorder.h"

View File

@ -20,6 +20,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include "board.h" #include "board.h"

View File

@ -19,6 +19,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/pm.h" #include "periph/pm.h"
#include "periph/wdt.h" #include "periph/wdt.h"

View File

@ -21,6 +21,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include "cpu.h" #include "cpu.h"

View File

@ -19,6 +19,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include "cpu.h" #include "cpu.h"

View File

@ -20,6 +20,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stddef.h> #include <stddef.h>
#include "board.h" #include "board.h"

View File

@ -20,6 +20,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cc2538.h" #include "cc2538.h"
#include "periph/wdt.h" #include "periph/wdt.h"

View File

@ -19,6 +19,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>

View File

@ -22,6 +22,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/uart.h" #include "periph/uart.h"
#include "periph_conf.h" #include "periph_conf.h"

View File

@ -19,6 +19,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "mutex.h" #include "mutex.h"

View File

@ -17,6 +17,8 @@
* @author Bas Stottelaar <basstottelaar@gmail.com> * @author Bas Stottelaar <basstottelaar@gmail.com>
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph_conf.h" #include "periph_conf.h"

View File

@ -20,6 +20,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "sched.h" #include "sched.h"
#include "thread.h" #include "thread.h"

View File

@ -15,6 +15,7 @@
* @{ * @{
*/ */
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>

View File

@ -21,6 +21,7 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include <assert.h>
#include <stdbool.h> #include <stdbool.h>
#include "log.h" #include "log.h"

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include <assert.h>
#include <string.h> #include <string.h>
#include "esp_common.h" #include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include <assert.h>
#include <string.h> #include <string.h>
#include "esp_common.h" #include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include <assert.h>
#include <string.h> #include <string.h>
#include "esp_common.h" #include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include <assert.h>
#include <string.h> #include <string.h>
#include "esp_common.h" #include "esp_common.h"

View File

@ -20,6 +20,7 @@
#if MODULE_MTD #if MODULE_MTD
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -19,13 +19,14 @@
* @} * @}
*/ */
#include <assert.h>
#include <string.h>
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#include "esp_common.h" #include "esp_common.h"
#include "log.h" #include "log.h"
#include <string.h>
#include "cpu.h" #include "cpu.h"
#include "mutex.h" #include "mutex.h"
#include "periph/spi.h" #include "periph/spi.h"

View File

@ -19,6 +19,8 @@
* @} * @}
*/ */
#include <assert.h>
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <string.h> #include <string.h>
#include <stdio_ext.h> #include <stdio_ext.h>
#include <sys/unistd.h> #include <sys/unistd.h>

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "context_frame.h" #include "context_frame.h"
#include "thread.h" #include "thread.h"

View File

@ -17,6 +17,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "vendor/encoding.h" #include "vendor/encoding.h"
#include "vendor/platform.h" #include "vendor/platform.h"
#include "cpu.h" #include "cpu.h"

View File

@ -24,6 +24,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "bit.h" #include "bit.h"
#include "periph_conf.h" #include "periph_conf.h"

View File

@ -17,6 +17,9 @@
* *
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "mutex.h" #include "mutex.h"
#include "periph/gpio.h" #include "periph/gpio.h"

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/gpio.h" #include "periph/gpio.h"

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include "cpu.h" #include "cpu.h"

View File

@ -12,6 +12,7 @@
/ /
/---------------------------------------------------------------------------*/ /---------------------------------------------------------------------------*/
#include <assert.h>
#include <string.h> #include <string.h>
#include "cpu.h" #include "cpu.h"
#include "VIC.h" #include "VIC.h"

View File

@ -6,6 +6,8 @@
* General Public License v2.1. See the file LICENSE in the top level * General Public License v2.1. See the file LICENSE in the top level
* directory for more details. * directory for more details.
*/ */
#include <assert.h>
#include <mips/cpu.h> #include <mips/cpu.h>
#include <mips/hal.h> #include <mips/hal.h>
#include <unistd.h> #include <unistd.h>

View File

@ -17,6 +17,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <mips/cpu.h> #include <mips/cpu.h>
#include <mips/m32c0.h> #include <mips/m32c0.h>
#include <mips/regdef.h> #include <mips/regdef.h>

View File

@ -20,6 +20,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "periph/flashpage.h" #include "periph/flashpage.h"

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <errno.h> #include <errno.h>
#include "periph/pwm.h" #include "periph/pwm.h"

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>

View File

@ -20,6 +20,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "mutex.h" #include "mutex.h"
#include "periph/adc.h" #include "periph/adc.h"

View File

@ -22,6 +22,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL #define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>

View File

@ -21,6 +21,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>

View File

@ -16,6 +16,8 @@
* @author José I. Alamos <jose.alamos@haw-hamburg.de> * @author José I. Alamos <jose.alamos@haw-hamburg.de>
* @} * @}
*/ */
#include <assert.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>

View File

@ -20,6 +20,9 @@
* *
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph_cpu.h" #include "periph_cpu.h"

View File

@ -28,6 +28,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/gpio.h" #include "periph/gpio.h"
#include "periph_cpu.h" #include "periph_cpu.h"

View File

@ -28,6 +28,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -19,6 +19,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "timex.h" #include "timex.h"
#include "periph/wdt.h" #include "periph/wdt.h"

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "net/gnrc.h" #include "net/gnrc.h"
#include "thread.h" #include "thread.h"
#include "net/gnrc/netif.h" #include "net/gnrc/netif.h"

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/dac.h" #include "periph/dac.h"
#include "periph/gpio.h" #include "periph/gpio.h"

View File

@ -22,6 +22,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "board.h" #include "board.h"
#include "periph/gpio.h" #include "periph/gpio.h"

View File

@ -20,6 +20,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -18,6 +18,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL #define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <stdio.h> #include <stdio.h>

View File

@ -17,6 +17,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "macros/units.h" #include "macros/units.h"
#include "periph_conf.h" #include "periph_conf.h"

View File

@ -18,6 +18,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "periph/init.h" #include "periph/init.h"
#include "periph_conf.h" #include "periph_conf.h"

View File

@ -17,6 +17,7 @@
* @} * @}
*/ */
#include <assert.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <limits.h> #include <limits.h>

View File

@ -19,6 +19,8 @@
* *
* @} * @}
*/ */
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>

View File

@ -19,6 +19,8 @@
* @} * @}
*/ */
#include <assert.h>
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "periph/rtt.h" #include "periph/rtt.h"

View File

@ -18,6 +18,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL #define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>