Skip to content

Commit 6864973

Browse files
committed
clean cached, add hal uart printf
1 parent 3013dd5 commit 6864973

File tree

108 files changed

+99
-89595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+99
-89595
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
**/.vscode
1+
**/build/**

.vscode/c_cpp_properties.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Win32",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"forcedInclude": [
9+
"${workspaceFolder}/example/stm32/uart_data_output/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h"
10+
],
11+
"defines": [
12+
"_DEBUG",
13+
"UNICODE",
14+
"_UNICODE"
15+
],
16+
"windowsSdkVersion": "10.0.22621.0",
17+
"compilerPath": "cl.exe",
18+
"cStandard": "c17",
19+
"cppStandard": "c++17",
20+
"intelliSenseMode": "windows-msvc-x64"
21+
}
22+
],
23+
"version": 4
24+
}

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "DEBUG",
9+
"cwd": "${workspaceFolder}",
10+
"executable": "${workspaceFolder}\\example\\stm32\\uart_data_output\\build\\mpu6050.elf",
11+
"loadFiles": [
12+
"${workspaceFolder}\\example\\stm32\\uart_data_output\\build\\mpu6050.elf",
13+
],
14+
"request": "launch",
15+
"servertype": "jlink",
16+
"type": "cortex-debug",
17+
"runToEntryPoint": "main",
18+
"device": "STM32F103C8",
19+
"interface": "swd",
20+
"v1": false,
21+
"showDevDebugOutput": "parsed",
22+
},
23+
]
24+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"files.associations": {
3+
"main.h": "c",
4+
"hal_usart.h": "c",
5+
"hal_gpio.h": "c",
6+
"stdint.h": "c",
7+
"stm32f1xx_hal.h": "c",
8+
"hal_tim.h": "c",
9+
"hal_uart.h": "c",
10+
"board_config.h": "c"
11+
},
12+
"cortex-debug.variableUseNaturalFormat": true
13+
}
File renamed without changes.
File renamed without changes.

example/Arduino/mpu6050/inc/mpu6050.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

example/stm32/uart_data_output/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ C_SOURCES = \
3939
src/main.c \
4040
src/hal_gpio.c \
4141
src/hal_i2c.c \
42-
src/hal_uart.c \
42+
src/hal_usart.c \
4343
src/stm32f1xx_it.c \
4444
src/stm32f1xx_hal_msp.c \
4545
src/syscfg.c \

example/stm32/uart_data_output/build/gpio.d

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)