переношу проект пока не работает

This commit is contained in:
2025-06-15 02:07:12 +03:00
parent 5e93fc2099
commit 0f3ac734bf
21 changed files with 634 additions and 2779 deletions

View File

@@ -30,7 +30,7 @@ extern "C" {
#include "stm32f1xx.h"
#include "Legacy/stm32_hal_legacy.h"
#include <stddef.h>
#include "mcu_wrapper_conf.h"
//#include "mcu_wrapper_conf.h"
/* Exported types ------------------------------------------------------------*/

View File

@@ -3,6 +3,7 @@
äåôàéíàìè â stm32f4xx_matlab_conf.h.
**************************************************************************/
#include "stm32f1xx_matlab_conf.h"
#include "mcu_wrapper_conf.h"
MCU_MemoryTypeDef MCU_MEM;

View File

@@ -7,7 +7,7 @@
#define _MATLAB_SETUP_H_
#include "stm32_defs.h"
#include "stm32f1xx_hal.h"
//#include "mcu_wrapper_conf.h"
#include "mcu_wrapper_conf.h"
// DEFINES (UNCOMMENT WHAT YOU WILL SIMULATE)
// TIMS

View File

@@ -1,4 +1,57 @@
{
"Code": {
"Sources": {
"Type": "files",
"Options": [
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c",
"stm32f1xx_matlab_conf.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_gpio.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_tim.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_periph_registers.c"
]
},
"Includes": {
"Type": "paths",
"Options": [
"",
"Drivers/STM32F1xx_SIMULINK",
"Drivers/CMSIS",
"Drivers/CMSIS/Device/STM32F1xx",
"Drivers/STM32F1xx_HAL_Driver/Inc",
"Drivers/STM32F1xx_HAL_Driver/Inc/Legacy"
]
}
},
"UserCode": {
"Functions": {
"PeriphInit": {
"Options": [
"Initialize_Periph_Sim()"
]
},
"PeriphSimulation": {
"Options": [
"Simulate_TIMs()",
"Simulate_GPIO_BSRR()"
]
},
"PeriphDeinit": {
"Options": [
"deInitialize_Periph_Sim()"
]
}
}
},
"RCC": {
"Defines": {
"HCLK_Clock": {