запустилось... но симуляцию периферии надо переделывать, работает непойми как

This commit is contained in:
2025-06-15 02:42:02 +03:00
parent 0f3ac734bf
commit e7e0884c09
12 changed files with 28 additions and 13 deletions

View File

@@ -28,9 +28,12 @@ extern "C" {
/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx.h"
#include "stm32_defs.h"
#include "Legacy/stm32_hal_legacy.h"
#include <stddef.h>
//#include "mcu_wrapper_conf.h"
#include "stm32f1xx_matlab_rcc.h"
#include "stm32f1xx_matlab_gpio.h"
#include "stm32f1xx_matlab_tim.h"
/* Exported types ------------------------------------------------------------*/

View File

@@ -2,7 +2,8 @@
#define _MATLAB_GPIO_H_
#include "simstruc.h"
#include "mcu_wrapper_conf.h"
#include "stm32f1xx_matlab_conf.h"
//#include "mcu_wrapper_conf.h"
/* äåôàéíû äëÿ ïðîâåðêè êîíôèãóðàöèè GPIO) */
#define GET_GPIO_CONF(_reg_, _pos_) ((_pos_ < 8)? \

View File

@@ -1,7 +1,7 @@
#ifndef _MATLAB_RCC_H_
#define _MATLAB_RCC_H_
#include "mcu_wrapper_conf.h"
#include "stm32f1xx_matlab_conf.h"

View File

@@ -6,7 +6,8 @@
#define _MATLAB_TIM_H_
#include "stm32f1xx_it.h"
#include "mcu_wrapper_conf.h"
#include "stm32f1xx_matlab_conf.h"
//#include "mcu_wrapper_conf.h"