This commit is contained in:
2023-10-06 15:07:07 +08:00
parent df1cef55ca
commit 7f26d5056d
43 changed files with 3762 additions and 2311 deletions

View File

@@ -9,6 +9,7 @@
"g:\\Project\\UVA\\yaokon\\Drivers\\CMSIS\\Device\\ST\\STM32F1xx\\Include",
"g:\\Project\\UVA\\yaokon\\Drivers\\CMSIS\\Include",
"g:\\Project\\UVA\\yaokon\\Core\\Src",
"g:\\Project\\UVA\\yaokon\\Core\\User_Drivers",
"G:\\Software\\keil\\ARM\\Keil_V5\\ARM\\ARMCLANG\\include",
"G:\\Software\\keil\\ARM\\Keil_V5\\ARM\\ARMCLANG\\include\\arm_linux",
"G:\\Software\\keil\\ARM\\Keil_V5\\ARM\\ARMCLANG\\include\\arm_linux_compat",

View File

@@ -1,2 +1,12 @@
[info] Log at : 2023/10/1|17:33:07|GMT+0800
[info] Log at : 2023/10/3|18:43:45|GMT+0800
[info] Log at : 2023/10/5|18:47:21|GMT+0800
[info] Log at : 2023/10/5|18:47:49|GMT+0800
[info] Log at : 2023/10/6|00:07:44|GMT+0800
[info] Log at : 2023/10/6|00:40:37|GMT+0800

17
yaokon/MDK-ARM/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Embedded Debug",
"type": "embedded-debug",
"request": "launch",
"program": "${command:embedded-debug.getApplicationFile}",
"serialNumber": "${command:device-manager.getSerialNumber}",
"cmsisPack": "${command:device-manager.getDevicePack}",
"debugFrom": "main"
}
]
}

27
yaokon/MDK-ARM/.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "CMSIS Build",
"type": "cmsis-csolution.build",
"solution": "${command:cmsis-csolution.getSolutionPath}",
"project": "${command:cmsis-csolution.getProjectPath}",
"buildType": "${command:cmsis-csolution.getBuildType}",
"targetType": "${command:cmsis-csolution.getTargetType}",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Flash Device",
"type": "embedded-debug.flash",
"program": "${command:embedded-debug.getApplicationFile}",
"serialNumber": "${command:device-manager.getSerialNumber}",
"cmsisPack": "${command:device-manager.getDevicePack}",
"problemMatcher": [],
"dependsOn": "CMSIS Build"
}
]
}

View File

@@ -1,19 +1,3 @@
*** Using Compiler 'V6.19', folder: 'G:\Software\keil\ARM\Keil_V5\ARM\ARMCLANG\Bin'
Build target 'yaokon'
../Core/Src/oled.c(468): error: use of undeclared identifier 'oled_res_Pin_Port'
OLED_RES_Clr();
^
../Core/Src/oled.h(22): note: expanded from macro 'OLED_RES_Clr'
#define OLED_RES_Clr() HAL_GPIO_WritePin(oled_res_Pin_Port,oled_res_Pin,GPIO_PIN_RESET)//RES
^
../Core/Src/oled.c(471): error: use of undeclared identifier 'oled_res_Pin_Port'
OLED_RES_Set();
^
../Core/Src/oled.h(23): note: expanded from macro 'OLED_RES_Set'
#define OLED_RES_Set() HAL_GPIO_WritePin(oled_res_Pin_Port,oled_res_Pin,GPIO_PIN_SET)
^
2 errors generated.
compiling oled.c...
".\yaokon.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
Load "g:\\Project\\UVA\\yaokon\\MDK-ARM\\yaokon.axf"
Erase Done.Programming Done.Verify OK.Application running ...
Flash Load finished at 01:12:57

View File

@@ -1 +1 @@
2023/10/1 18:13:51
2023/10/6 1:12:57