hal: explicitly include soc_caps.h

Many files in the HAL layer depended on SOC_ macros without
explicitly including soc_caps.h
This commit is contained in:
Marius Vikhammer
2021-01-07 10:13:17 +08:00
parent b5db978499
commit 58c3f6a421
18 changed files with 19 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
#pragma once
#include "soc/i2c_periph.h"
#include "soc/soc_caps.h"
#include "hal/i2c_types.h"
#ifdef __cplusplus

View File

@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include "soc/touch_sensor_periph.h"
#include "soc/soc_caps.h"
#include "hal/touch_sensor_types.h"
#ifdef __cplusplus

View File

@@ -30,6 +30,7 @@ extern "C" {
#include <stdbool.h>
#include "hal/twai_types.h"
#include "soc/twai_periph.h"
#include "soc/soc_caps.h"
/* ------------------------- Defines and Typedefs --------------------------- */