добавлена поддержка popup в конфиге

добавлена задание src в run_bat.mex по чекбоксу
исправлены лишние абзацы в disp
This commit is contained in:
2025-06-15 15:18:11 +03:00
parent 058d3a00cf
commit 7c2fb99908
4 changed files with 293 additions and 73 deletions

View File

@@ -26,10 +26,11 @@ classdef compiler
% Список заголовочных файлов (.h)
includes = { '.\'
};
periphPath = mcuPath.get('wrapperPath');
wrapperPath = mcuPath.get('wrapperPath');
% [wrapperPath, ~, ~] = fileparts(wrapperPath);
% Формируем строки
wrapperSrcText = compiler.createSourcesBat('code_WRAPPER', sources, periphPath);
wrapperIncText = compiler.createIncludesBat('includes_WRAPPER', includes, periphPath);
wrapperSrcText = compiler.createSourcesBat('code_WRAPPER', sources, wrapperPath);
wrapperIncText = compiler.createIncludesBat('includes_WRAPPER', includes, wrapperPath);
% Записываем результат
res = compiler.updateRunMexBat(wrapperSrcText, wrapperIncText, ':: WRAPPER BAT'); % Всё прошло успешно