Merge pull request #4497 from mysterywolf/tm4c123bsp
[tm4c123bsp] auto formatted
This commit is contained in:
commit
687369c9da
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -24,6 +24,6 @@ int main(void)
|
|||
rt_pin_write(2, PIN_LOW);
|
||||
rt_thread_mdelay(500);
|
||||
}
|
||||
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -49,4 +49,4 @@
|
|||
|
||||
#endif /*__BOARD_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -85,4 +85,4 @@ void spi_hw_config(void)
|
|||
}
|
||||
#endif /* RT_USING_SPI */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -49,4 +49,4 @@ extern "C" {
|
|||
|
||||
#endif /*__ADC_CONFIG_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -90,7 +90,7 @@ extern "C" {
|
|||
#ifdef BSP_USING_PWM6
|
||||
#ifndef PWM6_CONFIG
|
||||
#define PWM6_CONFIG \
|
||||
{ \
|
||||
{ \
|
||||
.name = "pwm6", \
|
||||
.channel = 0 , \
|
||||
.counterMode = PWM_GEN_MODE_UP_DOWN , \
|
||||
|
@ -117,4 +117,4 @@ extern "C" {
|
|||
|
||||
#endif /*__PWM_CONFIG_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -63,4 +63,4 @@ extern "C" {
|
|||
|
||||
#endif /*__SPI_CONFIG_H__ */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -73,4 +73,4 @@ extern "C" {
|
|||
|
||||
#endif /* __UART_CONFIG_H__ */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -156,4 +156,4 @@ INIT_APP_EXPORT(tm4c123_adc_init);
|
|||
|
||||
#endif /*RT_UING_ADC*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -28,4 +28,4 @@ struct tm4c123_adc_config
|
|||
|
||||
#endif /*__DRV_ADC_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -165,4 +165,4 @@ INIT_BOARD_EXPORT(rt_hw_pin_init);
|
|||
|
||||
#endif /*RT_USING_PIN*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -36,4 +36,4 @@ extern int rt_hw_pin_init(void);
|
|||
|
||||
#endif /*__DRV_GPIO_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -322,4 +322,4 @@ int rt_hw_pwm_init(void)
|
|||
|
||||
#endif /* RT_USING_PWM */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -33,4 +33,4 @@ int rt_hw_pwm_init(void);
|
|||
|
||||
#endif /*__DRV_PWM_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -306,4 +306,4 @@ INIT_BOARD_EXPORT(rt_hw_spi_init);
|
|||
#endif /* defined(BSP_USING_SPI0) || defined(BSP_USING_SPI1) || defined(BSP_USING_SPI2) || defined(BSP_USING_SPI3) */
|
||||
#endif /*RT_USING_SPI*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -46,4 +46,4 @@ struct tm4c123_spi_device
|
|||
|
||||
#endif /*__DRV_SPI_H__ */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -235,4 +235,4 @@ int rt_hw_usart_init(void)
|
|||
|
||||
#endif /* RT_USING_SERIAL */
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
@ -43,4 +43,4 @@ extern int rt_hw_usart_init(void);
|
|||
|
||||
#endif /*__DRV_UART_H__*/
|
||||
|
||||
/************************** end of file ******************/
|
||||
/************************** end of file ******************/
|
||||
|
|
Loading…
Reference in New Issue