Skip to content

Commit

Permalink
zephyr: prefix autoconf.h with zephyr/
Browse files Browse the repository at this point in the history
Update the header template and all the generated files'
`autoconf.h` include path to `zephyr/autoconf.h`

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
  • Loading branch information
ycsin committed May 24, 2024
1 parent c2bc0e6 commit 7039f75
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion scripts/genllheaders/header-template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

{% for series in all_series %}
#{{ "if" if loop.index == 1 else "elif"}} defined(CONFIG_SOC_SERIES_{{ series[:-1] | upper }})
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/genllheaders/data/stm32_ll_tim.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F0X)
#include <stm32f0xx_ll_tim.h>
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/genllheaders/data/stm32_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F1X)
#include <stm32f1xx_ll_usart.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_adc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_bdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H7X)
#include <stm32h7xx_ll_bdma.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_bus.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F0X)
#include <stm32f0xx_ll_comp.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_cordic.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32G4X)
#include <stm32g4xx_ll_cordic.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_cortex.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_cortex.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_crc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_crs.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F0X)
#include <stm32f0xx_ll_crs.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F0X)
#include <stm32f0xx_ll_dac.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H5X)
#include <stm32h5xx_ll_dcache.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_delayblock.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H7X)
#include <stm32h7xx_ll_delayblock.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dlyb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H5X)
#include <stm32h5xx_ll_dlyb.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_dma.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dma2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F4X)
#include <stm32f4xx_ll_dma2d.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_dmamux.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_dmamux.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_exti.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_exti.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_fmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32G4X)
#include <stm32g4xx_ll_fmac.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_fmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F3X)
#include <stm32f3xx_ll_fmc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_fmpi2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F4X)
#include <stm32f4xx_ll_fmpi2c.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_fsmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F1X)
#include <stm32f1xx_ll_fsmc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_gpio.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_hrtim.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F3X)
#include <stm32f3xx_ll_hrtim.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_hsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H7X)
#include <stm32h7xx_ll_hsem.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_i2c.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_i3c.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H5X)
#include <stm32h5xx_ll_i3c.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_icache.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H5X)
#include <stm32h5xx_ll_icache.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_ipcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32MP1X)
#include <stm32mp1xx_ll_ipcc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_iwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_iwdg.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_lpgpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_lpgpio.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_lptim.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F4X)
#include <stm32f4xx_ll_lptim.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_lpuart.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32G0X)
#include <stm32g0xx_ll_lpuart.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_mdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H7X)
#include <stm32h7xx_ll_mdma.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_opamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F3X)
#include <stm32f3xx_ll_opamp.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_pka.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H5X)
#include <stm32h5xx_ll_pka.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_pwr.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_pwr.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_rcc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F2X)
#include <stm32f2xx_ll_rng.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_rtc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_sdmmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32F1X)
#include <stm32f1xx_ll_sdmmc.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <stm32c0xx_ll_spi.h>
Expand Down
2 changes: 1 addition & 1 deletion stm32cube/common_ll/include/stm32_ll_swpmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <autoconf.h>
#include <zephyr/autoconf.h>

#if defined(CONFIG_SOC_SERIES_STM32H7X)
#include <stm32h7xx_ll_swpmi.h>
Expand Down
Loading

0 comments on commit 7039f75

Please sign in to comment.