Rename include guards to LIBOPENCM3_*.
This commit is contained in:
parent
9deb34de75
commit
95793aa6ce
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_ADC_H
|
||||
#define LIBOPENSTM32_ADC_H
|
||||
#ifndef LIBOPENCM3_ADC_H
|
||||
#define LIBOPENCM3_ADC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_BKP_H
|
||||
#define LIBOPENSTM32_BKP_H
|
||||
#ifndef LIBOPENCM3_BKP_H
|
||||
#define LIBOPENCM3_BKP_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_CAN_H
|
||||
#define LIBOPENSTM32_CAN_H
|
||||
#ifndef LIBOPENCM3_CAN_H
|
||||
#define LIBOPENCM3_CAN_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_CRC_H
|
||||
#define LIBOPENSTM32_CRC_H
|
||||
#ifndef LIBOPENCM3_CRC_H
|
||||
#define LIBOPENCM3_CRC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_DMA_H
|
||||
#define LIBOPENSTM32_DMA_H
|
||||
#ifndef LIBOPENCM3_DMA_H
|
||||
#define LIBOPENCM3_DMA_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_ETHERNET_H
|
||||
#define LIBOPENSTM32_ETHERNET_H
|
||||
#ifndef LIBOPENCM3_ETHERNET_H
|
||||
#define LIBOPENCM3_ETHERNET_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_EXTI_H
|
||||
#define LIBOPENSTM32_EXTI_H
|
||||
#ifndef LIBOPENCM3_EXTI_H
|
||||
#define LIBOPENCM3_EXTI_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -25,8 +25,8 @@
|
||||
* http://www.st.com/stonline/products/literature/pm/13259.pdf
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_FLASH_H
|
||||
#define LIBOPENSTM32_FLASH_H
|
||||
#ifndef LIBOPENCM3_FLASH_H
|
||||
#define LIBOPENCM3_FLASH_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_FSMC_H
|
||||
#define LIBOPENSTM32_FSMC_H
|
||||
#ifndef LIBOPENCM3_FSMC_H
|
||||
#define LIBOPENCM3_FSMC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_GPIO_H
|
||||
#define LIBOPENSTM32_GPIO_H
|
||||
#ifndef LIBOPENCM3_GPIO_H
|
||||
#define LIBOPENCM3_GPIO_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_I2C_H
|
||||
#define LIBOPENSTM32_I2C_H
|
||||
#ifndef LIBOPENCM3_I2C_H
|
||||
#define LIBOPENCM3_I2C_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_IWDG_H
|
||||
#define LIBOPENSTM32_IWDG_H
|
||||
#ifndef LIBOPENCM3_IWDG_H
|
||||
#define LIBOPENCM3_IWDG_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_MEMORYMAP_H
|
||||
#define LIBOPENSTM32_MEMORYMAP_H
|
||||
#ifndef LIBOPENCM3_MEMORYMAP_H
|
||||
#define LIBOPENCM3_MEMORYMAP_H
|
||||
|
||||
#include <cm3/memorymap.h>
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_NVIC_H
|
||||
#define LIBOPENSTM32_NVIC_H
|
||||
#ifndef LIBOPENCM3_NVIC_H
|
||||
#define LIBOPENCM3_NVIC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_PWR_H
|
||||
#define LIBOPENSTM32_PWR_H
|
||||
#ifndef LIBOPENCM3_PWR_H
|
||||
#define LIBOPENCM3_PWR_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -18,8 +18,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_RCC_H
|
||||
#define LIBOPENSTM32_RCC_H
|
||||
#ifndef LIBOPENCM3_RCC_H
|
||||
#define LIBOPENCM3_RCC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_RTC_H
|
||||
#define LIBOPENSTM32_RTC_H
|
||||
#ifndef LIBOPENCM3_RTC_H
|
||||
#define LIBOPENCM3_RTC_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -18,8 +18,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_SCB_H
|
||||
#define LIBOPENSTM32_SCB_H
|
||||
#ifndef LIBOPENCM3_SCB_H
|
||||
#define LIBOPENCM3_SCB_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_SPI_H
|
||||
#define LIBOPENSTM32_SPI_H
|
||||
#ifndef LIBOPENCM3_SPI_H
|
||||
#define LIBOPENCM3_SPI_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_SYSTICK_H
|
||||
#define LIBOPENSTM32_SYSTICK_H
|
||||
#ifndef LIBOPENCM3_SYSTICK_H
|
||||
#define LIBOPENCM3_SYSTICK_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_TIMER_H
|
||||
#define LIBOPENSTM32_TIMER_H
|
||||
#ifndef LIBOPENCM3_TIMER_H
|
||||
#define LIBOPENCM3_TIMER_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_TOOLS_H
|
||||
#define LIBOPENSTM32_TOOLS_H
|
||||
#ifndef LIBOPENCM3_TOOLS_H
|
||||
#define LIBOPENCM3_TOOLS_H
|
||||
|
||||
/*
|
||||
* Register accessors / manipulators
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_USART_H
|
||||
#define LIBOPENSTM32_USART_H
|
||||
#ifndef LIBOPENCM3_USART_H
|
||||
#define LIBOPENCM3_USART_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_USB_H
|
||||
#define LIBOPENSTM32_USB_H
|
||||
#ifndef LIBOPENCM3_USB_H
|
||||
#define LIBOPENCM3_USB_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_USB_DESC
|
||||
#define LIBOPENSTM32_USB_DESC
|
||||
#ifndef LIBOPENCM3_USB_DESC
|
||||
#define LIBOPENCM3_USB_DESC
|
||||
|
||||
/* Descriptor types */
|
||||
#define USB_DT_DEVICE 0x01
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENSTM32_WWDG_H
|
||||
#define LIBOPENSTM32_WWDG_H
|
||||
#ifndef LIBOPENCM3_WWDG_H
|
||||
#define LIBOPENCM3_WWDG_H
|
||||
|
||||
#include <stm32/memorymap.h>
|
||||
#include <cm3/common.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user