Changed all includes to use <foo.h> notation.
This commit is contained in:
parent
8a33f6277e
commit
446de38728
@ -20,9 +20,9 @@
|
|||||||
#ifndef LIBOPENSTM32_LIBOPENSTM32_H
|
#ifndef LIBOPENSTM32_LIBOPENSTM32_H
|
||||||
#define LIBOPENSTM32_LIBOPENSTM32_H
|
#define LIBOPENSTM32_LIBOPENSTM32_H
|
||||||
|
|
||||||
#include "libopenstm32/common.h"
|
#include <libopenstm32/common.h>
|
||||||
#include "libopenstm32/memorymap.h"
|
#include <libopenstm32/memorymap.h>
|
||||||
#include "libopenstm32/rcc.h"
|
#include <libopenstm32/rcc.h>
|
||||||
#include "libopenstm32/gpio.h"
|
#include <libopenstm32/gpio.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef LIBOPENSTM32_COMMON_H
|
#ifndef LIBOPENSTM32_COMMON_H
|
||||||
#define LIBOPENSTM32_COMMON_H
|
#define LIBOPENSTM32_COMMON_H
|
||||||
|
|
||||||
#include "libopenstm32.h"
|
#include <libopenstm32.h>
|
||||||
|
|
||||||
/* Type definitions */
|
/* Type definitions */
|
||||||
typedef signed char s8;
|
typedef signed char s8;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef LIBOPENSTM32_GPIO_H
|
#ifndef LIBOPENSTM32_GPIO_H
|
||||||
#define LIBOPENSTM32_GPIO_H
|
#define LIBOPENSTM32_GPIO_H
|
||||||
|
|
||||||
#include "libopenstm32.h"
|
#include <libopenstm32.h>
|
||||||
|
|
||||||
/* GPIO port base addresses (for convenience) */
|
/* GPIO port base addresses (for convenience) */
|
||||||
#define GPIOA GPIO_PORT_A_BASE
|
#define GPIOA GPIO_PORT_A_BASE
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef LIBOPENSTM32_RCC_H
|
#ifndef LIBOPENSTM32_RCC_H
|
||||||
#define LIBOPENSTM32_RCC_H
|
#define LIBOPENSTM32_RCC_H
|
||||||
|
|
||||||
#include "libopenstm32.h"
|
#include <libopenstm32.h>
|
||||||
|
|
||||||
/* RCC registers */
|
/* RCC registers */
|
||||||
/* Note: Registers marked (**) only exist in "connectivity line" STM32s. */
|
/* Note: Registers marked (**) only exist in "connectivity line" STM32s. */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* - GPIO remapping support
|
* - GPIO remapping support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libopenstm32.h"
|
#include <libopenstm32.h>
|
||||||
|
|
||||||
void gpio_set_mode(u32 gpioport, u8 mode, u8 cnf, u16 gpios)
|
void gpio_set_mode(u32 gpioport, u8 mode, u8 cnf, u16 gpios)
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libopenstm32.h"
|
#include <libopenstm32.h>
|
||||||
|
|
||||||
void rcc_osc_ready_int_clear(osc_t osc)
|
void rcc_osc_ready_int_clear(osc_t osc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user