{"id":291780,"date":"2019-07-08T15:01:06","date_gmt":"2019-07-08T15:01:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=291780"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=291780","title":{"rendered":"\u0414\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u044f\u0436\u0435\u043b\u043e\u0432\u0435\u0441\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u043c (\u043d\u0435\u0442)"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u0421\u0435\u0439\u0447\u0430\u0441 \u0443\u0436\u0435 \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438 \u0441 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 (\u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e Flash) \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u043e\u0431\u044a\u0435\u043c\u043e\u043c 512 \u043a\u0438\u043b\u043e\u0431\u0430\u0439\u0442 \u0438 \u0431\u043e\u043b\u0435\u0435. \u0418\u0445 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442\u0441\u044f, \u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u0440\u0430\u0441\u0442\u0435\u0442. \u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u00ab\u0442\u044f\u0436\u0435\u043b\u044b\u0435\u00bb \u043f\u043e \u043e\u0431\u044a\u0435\u043c\u0443 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0431\u043b\u0435\u0433\u0447\u0430\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0437\u0430 \u0441\u0447\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0438\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u0432\u0435\u0434\u0435\u0442 \u043a \u0440\u043e\u0441\u0442\u0443 \u043e\u0431\u044a\u0435\u043c\u0430 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0437\u0430\u043d\u043e\u0432\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0438 \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435. <\/p>\n<p>  \u0426\u0435\u043b\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043c\u0435\u0442\u043e\u0434\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 C \u0438\/\u0438\u043b\u0438 C++, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0443\u0447\u0430\u0441\u0442\u043a\u0430 \u043a\u043e\u0434\u0430, \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e, \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u043b\u0430\u0441\u044c \u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438. \u0410 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h2>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e<\/h2>\n<p>  \u041f\u043e \u0445\u043e\u0434\u0443 \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f \u044f \u0431\u0443\u0434\u0443 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c, \u0447\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c:  <\/p>\n<ul>\n<li>\u0432\u043b\u0430\u0434\u0435\u0435\u0442 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u044f\u0437\u044b\u043a\u0430\u043c\u0438 C \u0438 C++;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438 \u043d\u0430 \u0431\u0430\u0437\u0435 \u044f\u0434\u0435\u0440 Corex-M3\/Corex-M4 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0435\u0440\u0438\u0435\u0439 stm32f4);<\/li>\n<li>\u0437\u043d\u0430\u0435\u0442, \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0438\u0448\u0438\u0432\u043a\u0438 (elf\/bin) \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430;<\/li>\n<li>\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0435\u0431\u0435, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u044b linker script \u0444\u0430\u0439\u043b\u044b;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0441\u0435\u043a\u0446\u0438\u044f\u0445 text, bss, data \u0438 \u043f\u0440\u043e\u0447\u0438\u0445;<\/li>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u043a\u0430\u043a\u0438\u043c-\u043b\u0438\u0431\u043e \u0438\u0437 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 linux;<\/li>\n<li>\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043b\u0430\u0434\u0435\u0435\u0442 bash;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 gcc \u043f\u043e\u0434 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 Corex-M3\/Corex-M4 (toolchain arm-none-eabi);<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0432\u044b\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 cmake.<\/li>\n<\/ul>\n<h2>\u0421\u0443\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u0430<\/h2>\n<p>  \u0412 \u00ab\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u00bb \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u043e\u0434 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0432\u0441\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 (\u0441\u0435\u043a\u0446\u0438\u0438 text, rodata, data \u0438 \u043f\u0440\u043e\u0447\u0438\u0435) \u043e\u0431\u044b\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u00ab\u043f\u043e\u0434\u0440\u044f\u0434\u00bb, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044f\u0434\u0440\u0430 Corex-M3\/Corex-M4 \u2014 c \u0430\u0434\u0440\u0435\u0441\u0430 0x08000000). \u0412 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u043a\u0430\u0440\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 \u044f\u0434\u0440\u0430 Corex-M3\/Corex-M4, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c C++, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hl\/dw\/jx\/hldwjx8d-f6k7ogodnjthokeefc.png\"><br \/>  mem.ld \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<pre><code class=\"bash\">MEMORY {     FLASH (rx) :        ORIGIN = 0x08000000, LENGTH = 768K     RAM (xrw) :         ORIGIN = 0x20000000, LENGTH = 112K }<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u044f \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abFLASH\u00bb, \u0430 \u0432\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u2014 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abRAM\u00bb. \u0412 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435, \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0438\u0437 \u0443\u0447\u0430\u0441\u0442\u043a\u043e\u0432 \u043a\u043e\u0434\u0430, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u00ab\u0441\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f\u00bb. \u0414\u0430\u0431\u044b \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c, \u043c\u043e\u0436\u043d\u043e \u00ab\u0440\u0430\u0437\u0431\u0438\u0442\u044c\u00bb \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043d\u0430 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u043b\u043e\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439;<\/li>\n<li>\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438;<\/li>\n<li>\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 (\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f);<\/li>\n<li>\u0447\u0430\u0441\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0439 \u043a\u043e\u0434.<\/li>\n<\/ul>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0443\u0447\u0430\u0441\u0442\u043a\u0430 \u043a\u043e\u0434\u0430, \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c bin \u0444\u0430\u0439\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u0434\u0435\u043b, \u043a\u043e\u0434 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u0442\u0435\u0440\u043f\u0435\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0440\u0430\u0437\u0434\u0435\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0441 \u043d\u0438\u043c \u043a\u0430\u043a-\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439 \u0435\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0432 \u043a\u0430\u043a\u043e\u043c-\u0442\u043e \u0438\u0437 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432).<\/p>\n<p>  \u041f\u043e \u0441\u0443\u0442\u0438 \u0433\u043e\u0432\u043e\u0440\u044f, \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f <b>\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/b>. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f bin \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u043d\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0438 \u043f\u0440\u043e\u0448\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0443\u0442 \u043b\u0438\u0448\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438. \u042d\u0442\u043e \u043d\u0435\u0441\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0435\u0449\u0435 \u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0435 \u043f\u0435\u0440\u0435\u0434 \u043e\u0442\u043b\u0430\u0434\u043a\u043e\u0439, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u043a\u0443.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0448\u0443, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435. \u0412 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043f\u043b\u044e\u0441\u044b \u0438 \u043c\u0438\u043d\u0443\u0441\u044b \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u041f\u043e\u043b\u0435 \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430<\/h2>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432\u043e \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435, \u044f \u043f\u0440\u043e\u0431\u0443\u044e \u044d\u0442\u043e \u043d\u0430 \u0441\u0432\u043e\u0435\u043c <a href=\"https:\/\/github.com\/Vadimatorik\/ChiptunePlayer-2.22-Firmware\">\u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435<\/a>. \u0422\u0430\u043a \u043a\u0430\u043a \u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u044b \u043a \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435, \u0442\u043e \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043d\u044f\u0442\u044c, \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432\u043e \u0438\u043b\u0438 \u043d\u0435\u0442 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043d\u044e\u0430\u043d\u0441\u044b \u043d\u0435\u0441\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435. <\/p>\n<h2>\u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/h2>\n<p>  \u041f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442:<\/p>\n<ul>\n<li>\u043a\u043e\u0434 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 C++14 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446, new\/delete (\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043a\u0443\u0447\u0443 FreeRTOS), shared_ptr (\u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0443\u043c\u043d\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438) \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a C++14;<\/li>\n<li><a href=\"https:\/\/www.freertos.org\/\">FreeRTOS<\/a> \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 6 \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438 \u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 10 \u043d\u0430 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443 (\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0439 <a href=\"https:\/\/habr.com\/ru\/post\/325692\/\">MakiseGUI<\/a>, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u0439, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 fat (<a href=\"http:\/\/elm-chan.org\/fsw\/ff\/00index_e.html\">FatFS<\/a>) \u0438 \u043f\u0440\u043e\u0447\u0435\u0435);<\/li>\n<li>16 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0435\u0439 \u043d\u0430 \u043f\u043b\u0430\u0442\u0435, \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435;<\/li>\n<\/ul>\n<p>  \u041f\u0440\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u0441\u0431\u043e\u0440\u043a\u0438 -O0 -g3 \u043a\u043e\u0434 \u0432 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 unicode, \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446 \u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 700 \u041a\u0411. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u044d\u0442\u0430\u043f\u0435, \u043a\u043e\u0433\u0434\u0430 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u0430\u044f \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0430 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0431\u0438\u0437\u043d\u0435\u0441 \u043b\u043e\u0433\u0438\u043a\u0430, \u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 20 \u041a\u0411. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b (\u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0435\u0439 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f).<\/p>\n<h2>\u041f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439<\/h2>\n<p>  \u0414\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0443\u0431\u043c\u043e\u0434\u0443\u043b\u0438 \u043a\u0430\u043a \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 (\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438);<\/li>\n<li>\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c mem.ld;<\/li>\n<li>\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c section.ld;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0438\u0437 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e bin \u0444\u0430\u0439\u043b\u0430;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u0437\u043e\u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438.<\/li>\n<\/ul>\n<h2>\u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c mem.ld<\/h2>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0448\u0430\u0433\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u00ab\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e\u00bb mem.ld \u043f\u043e\u0434 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e. \u041f\u0440\u0438 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0441\u0435\u043a\u0442\u043e\u0440\u0430\u043c. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0441\u0435\u043a\u0442\u043e\u0440\u0430 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 stm32 \u2014 \u0432 reference manual). \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0435\u043a\u0442\u043e\u0440\u0430 (\u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e), \u0438\u043d\u0430\u0447\u0435 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b \u043f\u0435\u0440\u0435\u043f\u0438\u0448\u0435\u0442 \u0434\u0440\u0443\u0433\u043e\u0439.<\/p>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u0442\u043e \u043f\u043e\u0434 \u044d\u0442\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u043a\u0438. \u0418\u043d\u0430\u0447\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c\u0438 \u0431\u0430\u0433\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0435\u0442 \u043a\u0440\u0430\u0439\u043d\u0435 \u0442\u0440\u0443\u0434\u043d\u043e \u043e\u0442\u043b\u043e\u0432\u0438\u0442\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 FatFS \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 ROM_EXTERNAL_LIBRARIES, \u043d\u043e \u043e\u043d \u0442\u0440\u0435\u0431\u0443\u0435\u0442 4 \u0431\u0430\u0439\u0442\u0430 \u0432 RAM \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u043a\u0438. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u044b\u043b \u0440\u0430\u0437\u0434\u0435\u043b \u043f\u043e\u0434 \u043f\u043e\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0438\u0437 ROM_EXTERNAL_LIBRARIES. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e RAM_EXTERNAL_LIBRARIES.<\/p>\n<p>  \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0437\u0430\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438. \u0412 \u043d\u0435\u0433\u043e \u043f\u043e\u0439\u0434\u0435\u0442 \u0432\u0441\u0435 \u0442\u043e, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043e \u043f\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0438\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c \u0440\u0430\u043d\u0435\u0435, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e section.ld (\u043e \u043d\u0435\u043c \u0434\u0430\u043b\u0435\u0435).   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 mem.ld \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u044c \u0442\u0430\u043a.<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">\/* \u041a\u0430\u0440\u0442\u0430 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 stm32f405rgt6    \u043f\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442 ChiptunePlayer-2.22-MainBoard-v2-Firmware. *\/ MEMORY {     \/*-----------------------------FLASH-------------------------------*\/     \/* \u0421\u0435\u043a\u0442\u043e\u0440\u0430 0-1 \u043e\u0442\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0443. *\/     ROM_BOOTLOADER (RX)             : ORIGIN = 0x08000000, LENGTH = 32K      \/* \u0421\u0435\u043a\u0442\u043e\u0440\u0430 2 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. *\/     ROM_SYSCFG_PAGE_1 (R)           : ORIGIN = 0x08008000, LENGTH = 16K      \/* \u0421\u0435\u043a\u0442\u043e\u0440 3 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043f\u0438\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. *\/     ROM_SYSCFG_PAGE_2 (R)           : ORIGIN = 0x0800C000, LENGTH = 16K      \/* \u0421\u0435\u043a\u0442\u043e\u0440 4 \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d. *\/     ROM_RESERVE (R)                 : ORIGIN = 0x08010000, LENGTH = 16K      \/* \u0421\u0435\u043a\u0442\u043e\u0440\u0430 5, 6, 7 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f        \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a (FATFS, FREERTOS...). *\/     ROM_EXTERNAL_LIBRARIES (RX)     : ORIGIN = 0x08020000, LENGTH = 384K      \/* \u0421\u0435\u043a\u0442\u043e\u0440\u0430 8, 9 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a        (\u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0434\u0438\u0441\u043f\u043b\u0435\u0435\u0432, \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b...). *\/     ROM_USER_LIBRARIES (RX)         : ORIGIN = 0x08080000, LENGTH = 384K      \/* \u0421\u0435\u043a\u0442\u043e\u0440\u0430 5, 6 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f            \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. *\/     ROM_MAIN_PROGRAMM (RX)          : ORIGIN = 0x080E0000, LENGTH = 128K      \/*-----------------------------RAM---------------------------------*\/     \/* \u0412 \u0440\u0435\u0436\u0438\u043c\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u043a\u0430\u0440\u0442\u0430 RAM        \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u0440\u0442\u0443 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. *\/     RAM_PAGE_1 (RW)                 : ORIGIN = 0x20000000, LENGTH = 112K     RAM_PAGE_2 (RW)                 : ORIGIN = 0x2001C000, LENGTH = 16K      \/* \u0421 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u044c\u044e \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435        \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0430 \u043c\u0430\u043d\u0435\u0440 FATFS \u0438\u043b\u0438 FreeRTOS. *\/     RAM_EXTERNAL_LIBRARIES (RW)     : ORIGIN = 0x20000000, LENGTH = 10K      \/* \u0421 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u044c\u044e \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. *\/     RAM_USER_LIBRARIES (RW)         : ORIGIN = 0x20002800, LENGTH = 90K      \/* \u0421 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u044c\u044e RAM \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. *\/     RAM_MAIN_PROGRAMM (RW)          : ORIGIN = 0x20019000, LENGTH = 27K      \/* \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u0438 RAM \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0435\u043a.        \u0414\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 FreeRTOS. *\/     RAM_MAIN_PROGRAMM_STACK (RW)    : ORIGIN = 0x2001FC00, LENGTH = 1K }<\/code><\/pre>\n<\/div>\n<\/div>\n<h2>\u041f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c section.ld<\/h2>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0438\u043c\u0435\u044e\u0449\u0430\u044f\u0441\u044f \u043a\u0430\u0440\u0442\u0430 \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u044b\u043b\u0430 \u043f\u043e\u0434\u0435\u043b\u0435\u043d\u0430 \u043d\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u044b, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u0442\u044c, \u0447\u0442\u043e \u0432 \u043a\u0430\u043a\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u043e. \u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 (\u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435) \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0433\u0434\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0441\u0435\u043a\u0446\u0438\u0438 .text, .rodata, .data, .bss \u0438 \u043f\u0440\u043e\u0447\u0438\u0435. \u041f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0441\u0435\u043a\u0446\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e objdump. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libstdc++_nano.a \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0433\u0434\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u0438 text, ARM.attributes, rodata, data, bss, COMMON.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 section.ld \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u044c \u0442\u0430\u043a.<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">\/* \u041f\u043e\u0434 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0435\u043a \u0434\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u044f \u0441\u0435\u043a\u0446\u0438\u044f \u0432 RAM. *\/ __estack = ORIGIN(RAM_MAIN_PROGRAMM_STACK) + LENGTH(RAM_MAIN_PROGRAMM_STACK);  \/* \u0420\u0430\u0437\u043c\u0435\u0440 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0435\u043a\u0430. *\/ __stack_size = LENGTH(RAM_MAIN_PROGRAMM_STACK);  \/* \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u043c\u0435\u0442\u043e\u0434\u0430 Reset_Handler. *\/ ENTRY(Reset_Handler)  \/* \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0435\u043a\u0446\u0438\u0439. *\/ SECTIONS {     \/*---------------------ROM \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430------------------------*\/     .section_bootloader : ALIGN(4)     {         \/* \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.            \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u043a\u043e\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f            \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.            \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0430            \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0449\u0438\u043a\u0443 \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 .o \u0444\u0430\u0439\u043b, \u0430 \u043d\u0435 \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u044c            \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.*\/         . = ALIGN(4);             KEEP(*(.user_code_isr_vector .user_code_isr_vector*))         . = ALIGN(4);     } &gt;ROM_BOOTLOADER      \/*----------------ROM \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438-----------------*\/     \/* \u041a\u043e\u0434. *\/     .section_external_libraries_text : ALIGN(4)     {         \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. *\/         . = ALIGN(4);             *libstdc++_nano.a:*(.text .text*);         . = ALIGN(4);             *libgcc.a:*(.text .text*);         . = ALIGN(4);             *libg_nano.a:*(.text .text*);          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f *\/         . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(.text .text*);         . = ALIGN(4);             *libFATFS.a:*(.text .text*);         . = ALIGN(4);             *libFREERTOS.a:*(.text .text*);         . = ALIGN(4);             *libMAKISE_GUI.a:*(.text .text*);         . = ALIGN(4);     } &gt;ROM_EXTERNAL_LIBRARIES      \/* \u0421\u0435\u043a\u0446\u0438\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c *\/     .section_external_libraries_required_by_the_compiler : ALIGN(4)     {         \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. *\/         . = ALIGN(4);             *libgcc.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libstdc++_nano.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libg_nano.a:*(.ARM.attributes .ARM.attributes*);          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f *\/         . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libFATFS.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libFREERTOS.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMAKISE_GUI.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);     }  &gt;ROM_EXTERNAL_LIBRARIES      \/* \u0421\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0441 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. *\/     .section_external_libraries_rodata : ALIGN(4)     {         \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. *\/         . = ALIGN(4);             *libgcc.a:*(.rodata .rodata*);         . = ALIGN(4);             *libstdc++_nano.a:*(.rodata .rodata*);         . = ALIGN(4);             *libg_nano.a:*(.rodata .rodata*);          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f *\/         . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(.rodata .rodata*);         . = ALIGN(4);             *libFATFS.a:*(.rodata .rodata*);         . = ALIGN(4);             *libFREERTOS.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMAKISE_GUI.a:*(.rodata .rodata*);         . = ALIGN(4);     } &gt;ROM_EXTERNAL_LIBRARIES      \/*-----------------------\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f---------------------*\/     \/* \u041a\u043e\u0434. *\/     .section_user_libraries_text : ALIGN(4)     {         . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.text .text*);         . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(.text .text*);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(.text .text*);         . = ALIGN(4);             *libMC_HARDWARE.a:*(.text .text*);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(.text .text*);         . = ALIGN(4);             *libUSER_STARTUP.a:*(.text .text*);         . = ALIGN(4);             *libBUTTONS.a:*(.text .text*);         . = ALIGN(4);             *libCHIPTUNE.a:*(.text .text*);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(.text .text*);         . = ALIGN(4);             *libLCD_DRIVER.a:*(.text .text*);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(.text .text*);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(.text .text*);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(.text .text*);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(.text .text*);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(.text .text*);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.text .text*);         . = ALIGN(4);     } &gt;ROM_USER_LIBRARIES      \/* \u0421\u0435\u043a\u0446\u0438\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c *\/     .section_user_libraries_required_by_the_compiler : ALIGN(4)     {         . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMC_HARDWARE.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libUSER_STARTUP.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libUSER_CODE.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libBUTTONS.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libCHIPTUNE.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libLCD_DRIVER.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.ARM.attributes .ARM.attributes*);         . = ALIGN(4);     }  &gt;ROM_EXTERNAL_LIBRARIES      \/* \u0421\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0441 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. *\/     .section_user_libraries_rodata : ALIGN(4)     {         . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.rodata .rodata*);         . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMC_HARDWARE.a:*(.rodata .rodata*);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(.rodata .rodata*);         . = ALIGN(4);             *libUSER_STARTUP.a:*(.rodata .rodata*);         . = ALIGN(4);             *libBUTTONS.a:*(.rodata .rodata*);         . = ALIGN(4);             *libCHIPTUNE.a:*(.rodata .rodata*);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(.rodata .rodata*);         . = ALIGN(4);             *libLCD_DRIVER.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(.rodata .rodata*);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(.rodata .rodata*);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(.rodata .rodata*);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(.rodata .rodata*);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.rodata .rodata*);         . = ALIGN(4);     } &gt;ROM_USER_LIBRARIES      \/*-------------------------\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430------------------------*\/     \/* \u041a\u043e\u0434. *\/     .section_user_code_text : ALIGN(4)     {         . = ALIGN(4);             *(.text .text.*)         . = ALIGN(4);     } &gt;ROM_MAIN_PROGRAMM      \/* \u0421\u0435\u043a\u0446\u0438\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c *\/     .sections_user_code_required_by_the_compiler : ALIGN(4)     {         . = ALIGN(4);             *(.glue_7 .glue_7*)              \/* \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b-\u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0438 \u0434\u043b\u044f ARMv7 *\/         . = ALIGN(4);             *(.glue_7t .glue_7t*)         . = ALIGN(4);             *(.vfp11_veneer .vfp11_veneer*)  \/* \u041f\u0440\u043e\u0447\u0438\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. *\/         . = ALIGN(4);             *(.v4_bx .v4_bx*)         . = ALIGN(4);             *(.iplt .iplt*)         . = ALIGN(4);             *(.rel.dyn .rel.dyn*)         . = ALIGN(4);             KEEP(*(.eh_frame .eh_frame*))    \/* \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0432 CPP. *\/         . = ALIGN(4);             *(.eh_framehdr .eh_framehdr*)         . = ALIGN(4);             *(.ARM.attributes .ARM.attributes.*)       \/* \u041f\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0439\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434,                                                                        \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c. *\/         . = ALIGN(4);    *(vtable)\t\t\t\t\t            \/* C++ virtual tables *\/          PROVIDE_HIDDEN (__preinit_array_start = .);             \/* \u0421\u043f\u0438\u0441\u043e\u043a \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430\u043c\u0438. *\/         . = ALIGN(4);          KEEP(*(.preinit_array_sysinit .preinit_array_sysinit*))         . = ALIGN(4);          KEEP(*(.preinit_array_platform .preinit_array_platform.*))         . = ALIGN(4);          KEEP(*(.preinit_array .preinit_array.*))         PROVIDE_HIDDEN (__preinit_array_end = .);          PROVIDE_HIDDEN (__init_array_start = .);                \/* \u0412\u044b\u0437\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. *\/         . = ALIGN(4);         KEEP(*(SORT(.init_array.*)))         . = ALIGN(4);          KEEP(*(.init_array))         . = ALIGN(4);         PROVIDE_HIDDEN (__init_array_end = .);          PROVIDE_HIDDEN (__fini_array_start = .);                \/* \u0412\u044b\u0437\u043e\u0432 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. *\/         . = ALIGN(4);          KEEP(*(SORT(.fini_array.*)))         . = ALIGN(4);          KEEP(*(.fini_array))         . = ALIGN(4);         PROVIDE_HIDDEN (__fini_array_end = .);          . = ALIGN(4);             KEEP(*(.cfmconfig))         . = ALIGN(4);             *(.after_vectors .after_vectors.*)         . = ALIGN(4);     } &gt;ROM_MAIN_PROGRAMM      \/* \u0421\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0441 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. *\/     .section_user_code_rodata : ALIGN(4)     {         . = ALIGN(4);    *(.rodata .rodata.*)         . = ALIGN(4);     } &gt;ROM_MAIN_PROGRAMM      \/* \u0414\u043b\u044f stack trace. *\/     .ARM.exidx :     {         . = ALIGN(4);             *(.ARM.extab* .gnu.linkonce.armextab.*)         . = ALIGN(4);             *(.ARM.exidx* .gnu.linkonce.armexidx.*)         . = ALIGN(4);     } &gt; ROM_MAIN_PROGRAMM      \/*-------------------------------RAM-----------------------------*\/     \/* \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439. *\/     .section_external_libraries_data : ALIGN(4)     {         . = ALIGN(4);    __external_lib_data_start =  . ;          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. *\/         . = ALIGN(4);             *libgcc.a:*(.data .data*);         . = ALIGN(4);             *libstdc++_nano.a:*(.data .data*);         . = ALIGN(4);             *libg_nano.a:*(.data .data*);          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f *\/         . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(.data .data*);         . = ALIGN(4);             *libFATFS.a:*(.data .data*);         . = ALIGN(4);             *libFREERTOS.a:*(.data .data*);         . = ALIGN(4);             *libMAKISE_GUI.a:*(.data .data*);          . = ALIGN(4);             __external_lib_data_end =  . ;     } &gt;RAM_EXTERNAL_LIBRARIES AT&gt; ROM_EXTERNAL_LIBRARIES      \/* \u041e\u0431\u043b\u0430\u0441\u0442\u044c \u0441 \u043d\u0443\u043b\u0435\u0432\u044b\u043c\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 RAM *\/     .section_external_libraries_bss : ALIGN(4)     {         . = ALIGN(4);             __external_lib_bss_start = .;          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. *\/         . = ALIGN(4);             *libgcc.a:*(.bss .bss*);         . = ALIGN(4);             *libstdc++_nano.a:*(.bss .bss*);         . = ALIGN(4);             *libg_nano.a:*(*COMMON);          . = ALIGN(4);             *libgcc.a:*(*COMMON);         . = ALIGN(4);             *libstdc++_nano.a:*(*COMMON);         . = ALIGN(4);             *libg_nano.a:*(*COMMON);          \/* \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f *\/         . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(.bss .bss*);         . = ALIGN(4);             *libFATFS.a:*(.bss .bss*);         . = ALIGN(4);             *libFREERTOS.a:*(.bss .bss*);         . = ALIGN(4);             *libMAKISE_GUI.a:*(.bss .bss*);          . = ALIGN(4);             *libSTM32F4_LOW_LEVEL_BY_ST.a:*(*COMMON);         . = ALIGN(4);             *libFATFS.a:*(*COMMON);         . = ALIGN(4);             *libFREERTOS.a:*(*COMMON);         . = ALIGN(4);             *libMAKISE_GUI.a:*(*COMMON);          . = ALIGN(4);    __external_lib_bss_end = .;     } &gt;RAM_EXTERNAL_LIBRARIES      \/* \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439. *\/     .section_user_libraries_data : ALIGN(4)     {         . = ALIGN(4);    __user_lib_data_start =  . ;          . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.data .data*);         . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(.data .data*);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(.data .data*);         . = ALIGN(4);             *libMC_HARDWARE.a:*(.data .data*);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(.data .data*);         . = ALIGN(4);             *libUSER_STARTUP.a:*(.data .data*);         . = ALIGN(4);             *libBUTTONS.a:*(.data .data*);         . = ALIGN(4);             *libCHIPTUNE.a:*(.data .data*);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(.data .data*);         . = ALIGN(4);             *libLCD_DRIVER.a:*(.data .data*);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(.data .data*);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(.data .data*);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(.data .data*);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(.data .data*);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(.data .data*);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.data .data*);          . = ALIGN(4);    __user_lib_data_end =  . ;     } &gt;RAM_USER_LIBRARIES AT&gt; ROM_USER_LIBRARIES      .section_user_libraries_bss : ALIGN(4)     {         . = ALIGN(4);    __user_lib_bss_start = .;          . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.bss .bss*);         . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(.bss .bss*);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(.bss .bss*);         . = ALIGN(4);             *libMC_HARDWARE.a:*(.bss .bss*);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(.bss .bss*);         . = ALIGN(4);             *libUSER_CODE.a:*(.bss .bss*);         . = ALIGN(4);             *libBUTTONS.a:*(.bss .bss*);         . = ALIGN(4);             *libCHIPTUNE.a:*(.bss .bss*);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(.bss .bss*);         . = ALIGN(4);             *libLCD_DRIVER.a:*(.bss .bss*);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(.bss .bss*);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(.bss .bss*);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(.bss .bss*);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(.bss .bss*);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(.bss .bss*);         . = ALIGN(4);             *libUSER_FREERTOS_LEVEL.a:*(.bss .bss*);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.bss .bss*);          . = ALIGN(4);             *libUSER_BSP_LEVEL.a:*(*COMMON);         . = ALIGN(4);             *libMC_INTERRUPT.a:*(*COMMON);         . = ALIGN(4);             *libMC_HARDWARE.a:*(*COMMON);         . = ALIGN(4);             *libPCB_HARDWARE.a:*(*COMMON);         . = ALIGN(4);             *libUSER_CODE.a:*(*COMMON);         . = ALIGN(4);             *libBUTTONS.a:*(*COMMON);         . = ALIGN(4);             *libCHIPTUNE.a:*(*COMMON);         . = ALIGN(4);             *libDIGITAL_POTENTIOMETER.a:*(*COMMON);         . = ALIGN(4);             *libLCD_DRIVER.a:*(*COMMON);         . = ALIGN(4);             *libMAKISE_GUI_ELEMENTS_BY_VADIMATORIK_ELEMENTS_BY_VADIMATORIK.a:*(*COMMON);         . = ALIGN(4);             *libMC_HARDWARE_INTERFACES_IMPLEMENTATION_FOR_STM32.a:*(*COMMON);         . = ALIGN(4);             *libMICROSD_LOW_LEVEL_DRIVER.a:*(*COMMON);         . = ALIGN(4);             *libSHIFT_REGISTER.a:*(*COMMON);         . = ALIGN(4);             *libWAVE_GENERATORS.a:*(*COMMON);         . = ALIGN(4);             *libRUN_TIME_LOGGER.a:*(.COMMON*);          . = ALIGN(4);    __user_lib_bss_end = .;     } &gt;RAM_USER_LIBRARIES      \/* \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439. *\/     .section_user_code_data : ALIGN(4)     {         . = ALIGN(4);    __user_code_data_start =  . ;          . = ALIGN(4);    *(.data .data.*)          . = ALIGN(4);    __user_code_data_end =  . ;     } &gt;RAM_MAIN_PROGRAMM AT&gt; ROM_MAIN_PROGRAMM      .section_user_code_bss : ALIGN(4)     {         . = ALIGN(4);    __bss_start__ = .;    __user_code_bss_start = .;         *(.bss .bss.*)         *(COMMON)         . = ALIGN(4);    __bss_end__ = .;    __user_code_bss_end = .;     } &gt;RAM_MAIN_PROGRAMM      __external_lib_data_in_rom_start = LOADADDR(.section_external_libraries_data);     __user_lib_data_in_rom_start = LOADADDR(.section_user_libraries_data);     __user_code_data_in_rom_start = LOADADDR(.section_user_code_data);      \/*-------------------------\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f-----------------*\/     \/* Stabs debugging sections.  *\/     .stab          0 : { *(.stab) }     .stabstr       0 : { *(.stabstr) }     .stab.excl     0 : { *(.stab.excl) }     .stab.exclstr  0 : { *(.stab.exclstr) }     .stab.index    0 : { *(.stab.index) }     .stab.indexstr 0 : { *(.stab.indexstr) }     .comment       0 : { *(.comment) }      \/*      * DWARF debug sections.      * Symbols in the DWARF debugging sections are relative to the beginning      * of the section so we begin them at 0.      *\/     \/* DWARF 1 *\/     .debug          0 : { *(.debug) }     .line           0 : { *(.line) }     \/* GNU DWARF 1 extensions *\/     .debug_srcinfo  0 : { *(.debug_srcinfo) }     .debug_sfnames  0 : { *(.debug_sfnames) }     \/* DWARF 1.1 and DWARF 2 *\/     .debug_aranges  0 : { *(.debug_aranges) }     .debug_pubnames 0 : { *(.debug_pubnames) }     \/* DWARF 2 *\/     .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }     .debug_abbrev   0 : { *(.debug_abbrev) }     .debug_line     0 : { *(.debug_line) }     .debug_frame    0 : { *(.debug_frame) }     .debug_str      0 : { *(.debug_str) }     .debug_loc      0 : { *(.debug_loc) }     .debug_macinfo  0 : { *(.debug_macinfo) }     \/* SGI\/MIPS DWARF 2 extensions *\/     .debug_weaknames 0 : { *(.debug_weaknames) }     .debug_funcnames 0 : { *(.debug_funcnames) }     .debug_typenames 0 : { *(.debug_typenames) }     .debug_varnames  0 : { *(.debug_varnames) }      .debug_macro  0 : { *(.debug_macro) }     .debug_ranges  0 : { *(.debug_ranges) } }<\/code><\/pre>\n<\/div>\n<\/div>\n<h2>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0438\u0437 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e bin \u0444\u0430\u0439\u043b\u0430<\/h2>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u0439\u0442\u0438 \u043d\u0438 \u0432 objcopy \u043d\u0438 \u0432 objdump \u0444\u043b\u0430\u0433\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043c\u0435\u0436\u0434\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u043d\u043d\u044b\u043c\u0438 \u0430\u0434\u0440\u0435\u0441\u0430\u043c\u0438 \u0438\u0437 elf \u0444\u0430\u0439\u043b\u0430. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0444\u043b\u0430\u0433 <b>&#8212;only-section<\/b>, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u0433\u043e \u0444\u0430\u043a\u0442\u0430, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 section.ld \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0435\u0449\u0435 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f. \u0411\u0435\u0437 \u043d\u0435\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u0438\u0437 \u043a\u0443\u0441\u043e\u0447\u043a\u043e\u0432, \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 (\u043f\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c). \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0443\u044e <a href=\"https:\/\/github.com\/Vadimatorik\/bin_extractor\">\u0443\u0442\u0438\u043b\u0438\u0442\u0443<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0431\u0449\u0438\u0439 bin \u0444\u0430\u0439\u043b \u0438 \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0443 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a. \u041e\u0434\u043d\u0430\u043a\u043e \u0442\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043d\u044e\u0430\u043d\u0441. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e objcopy \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u043c\u0435\u0436\u0434\u0443 \u0441\u0435\u043a\u0446\u0438\u044f\u043c\u0438 0-\u043c\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0443\u0441\u0442\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0432 flash \u043f\u0430\u043c\u044f\u0442\u0438 \u2014 \u044d\u0442\u043e 0xFF. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 bin \u0444\u0430\u0439\u043b \u0441 \u0444\u043b\u0430\u0433\u043e\u043c <b>&#8212;gap-fill=0xff<\/b>.<\/p>\n<h2>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u044b\u0437\u043e\u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438<\/h2>\n<p>  \u0414\u043b\u044f \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 elf \u0444\u0430\u0439\u043b\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u0442 \u0438\u0437 elf \u0444\u0430\u0439\u043b\u0430 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 bin \u0444\u0430\u0439\u043b, \u0438\u0437 \u043d\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b, \u0441\u0440\u0430\u0432\u043d\u0432\u0430\u0435\u0442 \u0441 \u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u043c, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0431\u044b\u043b, \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash  # # $1 - \u0441\u0442\u0430\u0440\u044b\u0439 \u0444\u0430\u0439\u043b. \u041e\u043d \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f. # $2 - \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 elf \u0444\u0430\u0439\u043b. # $3 - \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u0433\u043e \u0441\u0435\u043a\u0442\u043e\u0440\u0430 STM32. #  echo \"Old file name: $1\"  echo \"New file name: $2\"   # \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f. flag_rewrite=0  # \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f, \u0442\u043e \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e # \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u043b\u0441\u044f \u043a\u0430\u043a \u0441\u0442\u0430\u0440\u044b\u0439 (\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 # \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430). # \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c, \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043b\u0438 \u0447\u0435\u043c-\u0442\u043e \u0444\u0430\u0439\u043b\u044b \u0438\u043b\u0438 \u043d\u0435\u0442 # \u0435\u0441\u043b\u0438 \u0434\u0430, \u0442\u043e \u043d\u0430\u0434\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u0440\u044b\u0439 \u043d\u043e\u0432\u044b\u043c. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439. if [ -e $1 ] then # \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u0435 \u043f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u0444\u0430\u0439\u043b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043b. echo \"Both files exist.\" # \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c md5 \u0441\u0443\u043c\u043c\u0443 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044f \u0444\u0430\u0439\u043b \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435. buf=$(md5sum $1 --binary) md5_old=${buf:0:32} # \u0418\u0437 \u0432\u044b\u0432\u043e\u0434\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e md5 \u0431\u0435\u0437 \u0438\u043c\u0435\u043d\u0438 \u0444\u043b\u0430\u0433\u0430.                      # \u042d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0435 32 \u0441\u0438\u043c\u0432\u043e\u043b\u0430. buf=$(md5sum $2 --binary) md5_new=${buf:0:32}  echo \"Started file comparison.\"  if [ $md5_old == $md5_new ] then # \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043d\u0435 \u0431\u044b\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d, \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0439. echo \"The file has not been updated.\" echo \"The new file will be deleted.\" rm $2 echo \"Removed.\" else # \u0415\u0441\u043b\u0438 \u043e\u043d\u0438 \u0440\u0430\u0437\u043d\u044b\u0435, \u0442\u043e\u0433\u0434\u0430 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0430\u0440\u044b\u0439 \u043d\u043e\u0432\u044b\u043c. echo \"The file has been modified.\" echo \"Old will be replaced by new.\" mv $2 $1 echo \"Replaced.\" flag_rewrite=1 # \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u043a\u0442\u043e\u0440. fi else # \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f. echo \"Old file does not exist.\" echo \"New will be renamed to old.\" mv $2 $1 # \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u0441\u0442\u0430\u0440\u044b\u0439. flag_rewrite=1 # \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u043a\u0442\u043e\u0440. echo \"Renamed.\" fi  # \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0431\u044b\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d \u0438\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f, \u0442\u043e \u0438\u043c \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0448\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440. if [ $flag_rewrite -eq 1 ] then echo \"Started flashing.\" echo \"CMD params: $3\" $3 fi<\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c cmake \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435:   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Cmake \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cmake\">function(write_sector SECTOR ADDR_BASE ADDR_START ADDR_END)     add_custom_command(TARGET ${PROJECT_NAME}.elf POST_BUILD             COMMAND ${ARM_OBJCOPY} --output-target=binary --gap-fill=0xff ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}.elf ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_all.bin             COMMENT \"Creating a binary file of the &lt;&lt;${SECTOR}&gt;&gt; sector\"             COMMAND ${BIN_EXTRACTOR} -p ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_all.bin -o ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_section_${SECTOR}_new.bin -b ${ADDR_BASE} -s ${ADDR_START} -e ${ADDR_END}             COMMAND cd ${CMAKE_SOURCE_DIR} &amp;&amp; .\/cmp.sh ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_section_${SECTOR}.bin ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_section_${SECTOR}_new.bin \"${STM32PROG} -c port=${STM32PROG_PORT} freq=${STM32PROG_FREQ} -w ${PROJECT_BINARY_DIR}\/${PROJECT_NAME}_section_${SECTOR}.bin ${ADDR_START}\") endfunction(write_sector)<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 stm32programmer.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cmake\">if (STM32PROG_USE STREQUAL \"ON\")     write_sector(\"bootloader\" ${SECTION_BOOTLOADER_ADDRESS} ${SECTION_BOOTLOADER_ADDRESS} ${SECTION_SYSCFG_PAGE_1_ADDRESS})     write_sector(\"external_libraries\" ${SECTION_BOOTLOADER_ADDRESS} ${SECTION_EXTERNAL_LIB_ADDRESS} ${SECTION_USER_LIBRARIES_ADDRESS})     write_sector(\"user_libraries\" ${SECTION_BOOTLOADER_ADDRESS} ${SECTION_USER_LIBRARIES_ADDRESS} ${SECTION_USER_CODE_ADDRESS})     write_sector(\"main_programm\" ${SECTION_BOOTLOADER_ADDRESS} ${SECTION_USER_CODE_ADDRESS} ${ADDR_END_FLASH}) endif ()<\/code><\/pre>\n<\/div>\n<\/div>\n<h2>\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  \u041f\u043b\u044e\u0441\u044b \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430:  <\/p>\n<ol>\n<li>\u0432 95% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e;<\/li>\n<\/ol>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430:  <\/p>\n<ol>\n<li>\u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0432\u044b\u0439\u0433\u0440\u0430\u0448\u0430 \u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0435\u0440\u0435\u0434 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0432 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 stm32programmer-\u043e\u043c). \u041a\u0430\u043a \u0440\u0430\u0437 \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0442\u043e \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0448\u0438\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e \u0432\u0441\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b;<\/li>\n<li>\u0440\u0430\u0437\u043c\u0435\u0440 section.ld \u043e\u0442\u0431\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u044f\u043a\u043e\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043d\u0435\u043c \u0447\u0442\u043e-\u0442\u043e. \u0415\u0441\u043b\u0438 \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u043e\u043b\u043e\u0433\u0438\u044e \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 GUI \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430;<\/li>\n<li>\u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u043d\u0435 \u0431\u044b\u043b \u0437\u0430\u0448\u0438\u0442 \u0432\u0435\u0440\u043d\u043e (\u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u0430\u0434\u043a\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440) \u0438 \u0434\u043e\u043b\u0433\u043e \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0431\u043e\u0440\u043e\u043a :).<\/li>\n<\/ol>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/github.com\/Vadimatorik\/ChiptunePlayer-2.22-Firmware\/tree\/5c6c67fd3ee138cbac5309568f81fba5b98c1511\">\u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u0435<\/a>. \u041f\u0440\u043e\u0435\u043a\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432 CLion-\u0435, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0438\u0437 bin \u0444\u0430\u0439\u043b\u0430.<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/437848\/\"> https:\/\/habr.com\/ru\/post\/437848\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u0421\u0435\u0439\u0447\u0430\u0441 \u0443\u0436\u0435 \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u043c\u0438 \u0441 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 (\u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e Flash) \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u043e\u0431\u044a\u0435\u043c\u043e\u043c 512 \u043a\u0438\u043b\u043e\u0431\u0430\u0439\u0442 \u0438 \u0431\u043e\u043b\u0435\u0435. \u0418\u0445 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442\u0441\u044f, \u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u0440\u0430\u0441\u0442\u0435\u0442. \u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u00ab\u0442\u044f\u0436\u0435\u043b\u044b\u0435\u00bb \u043f\u043e \u043e\u0431\u044a\u0435\u043c\u0443 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0431\u043b\u0435\u0433\u0447\u0430\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0437\u0430 \u0441\u0447\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0438\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u0432\u0435\u0434\u0435\u0442 \u043a \u0440\u043e\u0441\u0442\u0443 \u043e\u0431\u044a\u0435\u043c\u0430 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0437\u0430\u043d\u043e\u0432\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043f\u0440\u0438 \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435. <\/p>\n<p>  \u0426\u0435\u043b\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043c\u0435\u0442\u043e\u0434\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 C \u0438\/\u0438\u043b\u0438 C++, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0443\u0447\u0430\u0441\u0442\u043a\u0430 \u043a\u043e\u0434\u0430, \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e, \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u043b\u0430\u0441\u044c \u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438. \u0410 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-291780","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=291780"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291780\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}