Use correct STM32 device header file
This commit is contained in:
parent
a529996719
commit
57a6b881b3
9 changed files with 10650 additions and 10521 deletions
|
|
@ -1 +1 @@
|
|||
281
|
||||
282
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
-Ithird_party/core
|
||||
-Ithird_party/device
|
||||
-DDEBUG
|
||||
-DSTM32F103x6
|
||||
-DSTM32F103xB
|
||||
-D_DEFAULT_SOURCE
|
||||
-Wall
|
||||
-Wextra
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ BUILD_DIR = build
|
|||
|
||||
DEBUG := yes
|
||||
|
||||
H_DEVICE = STM32F103x6
|
||||
H_DEVICE = STM32F103xB
|
||||
STARTUP_SOURCE_DIR = src
|
||||
STARTUP_SOURCES = $(STARTUP_SOURCE_DIR)/startup.S
|
||||
LD_SCRIPT = ld/stm32f103c8t6_flash.ld
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "stm32f103x6.h"
|
||||
#include "stm32f1xx.h"
|
||||
|
||||
void Debug_Print(const char *message);
|
||||
void Debug_PutChar(char c);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "stm32f103x6.h"
|
||||
#include "stm32f1xx.h"
|
||||
#include "pinning.h"
|
||||
|
||||
#define LED_ON() do { GPIOC->BRR = 1 << PIN_LED; } while(0);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "stm32f103x6.h"
|
||||
#include "stm32f1xx.h"
|
||||
#include "pinning.h"
|
||||
#include "buildid.h"
|
||||
#include "debug.h"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include "stm32f103x6.h"
|
||||
#include "stm32f1xx.h"
|
||||
|
||||
#include "pinning.h"
|
||||
#include "debug.h"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "stm32f103x6.h"
|
||||
#include "stm32f1xx.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue