\doxysection{mylibs\+\_\+config.\+h} \hypertarget{mylibs__config_8h_source}{}\label{mylibs__config_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h}} \mbox{\hyperlink{mylibs__config_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00002}00002\ \textcolor{comment}{**************************************************************************}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00003}00003\ \textcolor{comment}{*\ @file\ mylibs\_config.h}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00004}00004\ \textcolor{comment}{*\ @brief\ Конфигурации\ для\ библиотек\ MyLibs}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00005}00005\ \textcolor{comment}{**************************************************************************}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00006}00006\ \textcolor{comment}{*\ @defgroup\ MYLIBS\_CONFIG\ \ \ Configs}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00007}00007\ \textcolor{comment}{*\ @ingroup\ \ MYLIBS\_ALL}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00008}00008\ \textcolor{comment}{*\ @brief\ \ \ \ Конфигурации\ для\ библиотек\ MyLibs}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00009}00009\ \textcolor{comment}{@\{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00010}00010\ \textcolor{comment}{*************************************************************************/}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00011}00011\ \textcolor{preprocessor}{\#ifndef\ \_\_MYLIBS\_CONFIG\_H\_}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00012}00012\ \textcolor{preprocessor}{\#define\ \_\_MYLIBS\_CONFIG\_H\_}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00013}00013\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00014}00014\ \textcolor{preprocessor}{\#include\ "{}stm32f4xx\_hal.h"{}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00015}00015\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00016}00016\ \textcolor{comment}{//\ user\ includes}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00017}00017\ \textcolor{preprocessor}{\#include\ "{}mzkt\_config.h"{}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00018}00018\ \textcolor{preprocessor}{\#include\ "{}mzkt\_trace\_config.h"{}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00019}00019\ \textcolor{preprocessor}{\#include\ "{}interface\_config.h"{}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00020}00020\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00021}00021\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00022}00022\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00023}00023\ \textcolor{comment}{\ \ *\ @addtogroup\ TRACE\_CONFIG\ \ \ Trace\ configs}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00024}00024\ \textcolor{comment}{\ \ *\ @ingroup\ \ \ \ MYLIBS\_CONFIG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00025}00025\ \textcolor{comment}{\ \ *\ @brief\ \ \ \ \ \ Конфигурация\ трекеров\ и\ трассировки}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00026}00026\ \textcolor{comment}{\ \ *\ @\{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00027}00027\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00028}00028\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00029}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gac9eaedc31ab023ce7d6403999216e496}{00029}}\ \textcolor{preprocessor}{\#define\ TRACKERS\_ENABLE\ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Включить\ трекеры}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00030}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga76936505ca200d2e61226b7ba68f27c6}{00030}}\ \textcolor{preprocessor}{\#define\ SERIAL\_TRACE\_ENABLE\ \ \ \ \ \ \ }\textcolor{comment}{///<\ Включить\ serial\ трассировку}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00031}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga00ff2175bdc1fb11c8ec970ea3010dd8}{00031}}\ \textcolor{preprocessor}{\#define\ RTT\_TRACE\_ENABLE\ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Включить\ serial\ трассировку\ через\ RTT}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00032}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gab8db9704b5d11858aa879689b9d36336}{00032}}\ \textcolor{preprocessor}{\#define\ SWO\_TRACE\_ENABLE\ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Включить\ serial\ трассировку\ через\ SWO}\textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00033}00033\ \textcolor{comment}{/**}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00034}00034\ \textcolor{comment}{\ \ *\ @brief\ Уровень\ log\ serial\ трассировки\ @ref\ log\_printf}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00035}00035\ \textcolor{comment}{\ \ *\ \ -\/\ LOG\_LEVEL\ ==\ 0\ -\/\ логирование\ отключено\ (макрос\ пустой)}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00036}00036\ \textcolor{comment}{\ \ *\ \ -\/\ LOG\_LEVEL\ ==\ 1\ -\/\ выводится\ время\ и\ TAG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00037}00037\ \textcolor{comment}{\ \ *\ \ -\/\ LOG\_LEVEL\ >=\ 2\ -\/\ выводится\ время,\ TAG,\ имя\ файла\ и\ номер\ строки}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00038}00038\ \textcolor{comment}{\ \ */}\textcolor{preprocessor}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00039}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga0b87e0d3bf5853bcbb0b66a7c48fdc05}{00039}}\ \textcolor{preprocessor}{\#define\ LOG\_LEVEL\ 1}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00040}00040\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00041}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga501312b24e322de4dd6755ad442f0ba3}{00041}}\ \textcolor{preprocessor}{\#define\ RTT\_FLASH\_BUFFER\_SIZE\ \ \ 1024\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Размер\ буфера\ RTT\ в\ Flash}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00042}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga3bc1b76864e1d32cbdd174d4caae7724}{00042}}\ \textcolor{preprocessor}{\#define\ RTT\_FLASH\_SECTOR\ \ \ \ \ \ \ \ FLASH\_SECTOR\_11\ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Сектор\ FLASH\ куда\ положится\ RTT\ буфер}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00043}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga8e56f75d3ab8a89ddde1404ae23c3297}{00043}}\ \textcolor{preprocessor}{\#define\ RTT\_FLASH\_SECTOR\_START\ \ 0x080E0000\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Начало\ сектора\ RTT\_FLASH\_SECTOR}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00044}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gafeca0be3688dea07ff443f894668003d}{00044}}\ \textcolor{preprocessor}{\#define\ RTT\_FLASH\_SECTOR\_END\ \ \ \ 0x080FFFFF\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Конец\ сектора\ RTT\_FLASH\_SECTOR}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00045}00045\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00046}00046\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00047}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga47f454f804b4dbc26cae079e8d8641e6}{00047}}\ \textcolor{preprocessor}{\#define\ HARDFAULT\_SERIAL\_TRACE\ \ }\textcolor{comment}{///<\ Включить\ обработку\ и\ serial\ трассировку\ Hardfault}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00048}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gadc960255719c7eff4bdfaa850be9b313}{00048}}\ \textcolor{preprocessor}{\#define\ HF\_RTT\_TAG\_BASE\ \ \ \ \ \ \ \ \ 0xDEAD0000\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ базовый\ тег\ для\ HardFault}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00049}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gafcc7ea03d4df8f1909e580b519a7f3ca}{00049}}\ \textcolor{preprocessor}{\#define\ HF\_RTT\_TAIL\_SIZE\ \ \ \ \ \ \ \ RTT\_FLASH\_BUFFER\_SIZE\ \ \ }\textcolor{comment}{///<\ Размер\ буфера\ RTT,\ который\ сохранится\ при\ Hardfault}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00050}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_gaa31234688b333a505aaa57b8ecdedf5b}{00050}}\ \textcolor{preprocessor}{\#define\ HF\_STACK\_DUMP\_WORDS\ \ \ \ \ 32\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Сколько\ слов\ стека\ будет\ проанализировано\ во\ время\ Hardfault}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00051}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga0c602733a4a359bf8c095d71cd4d0f63}{00051}}\ \textcolor{preprocessor}{\#define\ HF\_FLASH\_ADDR\ \ \ \ \ \ \ \ \ \ \ ((uint32\_t)0x080FF000)\ \ }\textcolor{comment}{///<\ Адрес\ FLASH\ куда\ положится\ RTT\ буфер}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00052}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga92d0d14732edb7dfa21d483304bdb051}{00052}}\ \textcolor{preprocessor}{\#define\ HF\_RAM\_END\ \ \ \ \ \ \ \ \ \ \ \ \ \ 0x20030000\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Конец\ RAM\ памяти\ (чтобы\ во\ время\ анализа\ стека\ не\ выйти\ за\ пределы)}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00053}00053\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00054}\mbox{\hyperlink{group___t_r_a_c_e___c_o_n_f_i_g_ga4222e0e400ad81737cefcabeb03fd23b}{00054}}\ \textcolor{preprocessor}{\#define\ GPIO\_TRACE\_ENABLE\ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Включить\ GPIO\ трассировку}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00055}00055\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00056}00056\ \textcolor{comment}{/**\ TRACE\_CONFIG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00057}00057\ \textcolor{comment}{\ \ *\ @\}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00058}00058\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00059}00059\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00060}00060\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00061}00061\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00062}00062\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00063}00063\ \textcolor{comment}{\ \ *\ @addtogroup\ LIBS\_CONFIG\ \ \ Libraries\ configs}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00064}00064\ \textcolor{comment}{\ \ *\ @ingroup\ \ \ \ MYLIBS\_CONFIG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00065}00065\ \textcolor{comment}{\ \ *\ @brief\ \ \ \ \ \ Включенные\ трекеры\ и\ трассировки\ в\ МЗКТЭ}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00066}00066\ \textcolor{comment}{\ \ *\ @\{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00067}00067\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00068}00068\ } \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00069}\mbox{\hyperlink{group___l_i_b_s___c_o_n_f_i_g_gaf4ddb2a71ec0d05c2480e197cd17c0be}{00069}}\ \textcolor{preprocessor}{\#define\ INCLUDE\_BIT\_ACCESS\_LIB\ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Подключить\ библиотеку\ с\ typedef\ с\ битовыми\ полями}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00070}\mbox{\hyperlink{group___l_i_b_s___c_o_n_f_i_g_ga4403055986b70bb02b8d37073a122e32}{00070}}\ \textcolor{preprocessor}{\#define\ INCLUDE\_TRACKERS\_LIB\ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Подключить\ библиотеку\ с\ трекерами}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00071}\mbox{\hyperlink{group___l_i_b_s___c_o_n_f_i_g_ga0a3ca94b616997069dd53e2c6c2687d7}{00071}}\ \textcolor{preprocessor}{\#define\ INCLUDE\_TRACE\_LIB\ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{comment}{///<\ Подключить\ библиотеку\ с\ трейсами}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00072}\mbox{\hyperlink{group___l_i_b_s___c_o_n_f_i_g_ga181a46326e46b60afb160190832c7281}{00072}}\ \textcolor{preprocessor}{\#define\ INCLUDE\_GENERAL\_PERIPH\_LIBS\ \ \ }\textcolor{comment}{///<\ Подключить\ библиотеку\ с\ периферией}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00073}00073\ \textcolor{comment}{//\#define\ FREERTOS\_DELAY\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ///<\ Использовать\ FreeRTOS\ задержку,\ вместо\ HAL}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00074}00074\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00075}00075\ \textcolor{comment}{/**\ LIBS\_CONFIG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00076}00076\ \textcolor{comment}{\ \ *\ @\}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00077}00077\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00078}00078\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00079}00079\ \textcolor{comment}{/**\ MYLIBS\_CONFIG}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00080}00080\ \textcolor{comment}{\ \ *\ @\}}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00081}00081\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00082}00082\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\_\_MYLIBS\_CONFIG\_H\_}} \end{DoxyCode}