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/core
|
||||||
-Ithird_party/device
|
-Ithird_party/device
|
||||||
-DDEBUG
|
-DDEBUG
|
||||||
-DSTM32F103x6
|
-DSTM32F103xB
|
||||||
-D_DEFAULT_SOURCE
|
-D_DEFAULT_SOURCE
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ BUILD_DIR = build
|
||||||
|
|
||||||
DEBUG := yes
|
DEBUG := yes
|
||||||
|
|
||||||
H_DEVICE = STM32F103x6
|
H_DEVICE = STM32F103xB
|
||||||
STARTUP_SOURCE_DIR = src
|
STARTUP_SOURCE_DIR = src
|
||||||
STARTUP_SOURCES = $(STARTUP_SOURCE_DIR)/startup.S
|
STARTUP_SOURCES = $(STARTUP_SOURCE_DIR)/startup.S
|
||||||
LD_SCRIPT = ld/stm32f103c8t6_flash.ld
|
LD_SCRIPT = ld/stm32f103c8t6_flash.ld
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "stm32f103x6.h"
|
#include "stm32f1xx.h"
|
||||||
|
|
||||||
void Debug_Print(const char *message);
|
void Debug_Print(const char *message);
|
||||||
void Debug_PutChar(char c);
|
void Debug_PutChar(char c);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "stm32f103x6.h"
|
#include "stm32f1xx.h"
|
||||||
#include "pinning.h"
|
#include "pinning.h"
|
||||||
|
|
||||||
#define LED_ON() do { GPIOC->BRR = 1 << PIN_LED; } while(0);
|
#define LED_ON() do { GPIOC->BRR = 1 << PIN_LED; } while(0);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "stm32f103x6.h"
|
#include "stm32f1xx.h"
|
||||||
#include "pinning.h"
|
#include "pinning.h"
|
||||||
#include "buildid.h"
|
#include "buildid.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "stm32f103x6.h"
|
#include "stm32f1xx.h"
|
||||||
|
|
||||||
#include "pinning.h"
|
#include "pinning.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "stm32f103x6.h"
|
#include "stm32f1xx.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue