<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ARM-Cortex-M Porting Guide on XWOS</title>
    <link>/en/Docs/Note/SOC/ARM-M/</link>
    <description>Recent content in ARM-Cortex-M Porting Guide on XWOS</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/en/Docs/Note/SOC/ARM-M/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>STM32 Porting Guide</title>
      <link>/en/Docs/Note/SOC/ARM-M/STM32/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/en/Docs/Note/SOC/ARM-M/STM32/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Since ST&amp;rsquo;s official STM32CubeMX can automatically generate chip initialization code,&#xA;the &lt;strong&gt;Architecture Description Layer (ADL)&lt;/strong&gt;, &lt;strong&gt;CPU Description Layer (CDL)&lt;/strong&gt;, and &lt;strong&gt;SoC Description Layer (SDL)&lt;/strong&gt; code for STM32 in XWOS is almost&#xA;identical. The only difference is the &lt;strong&gt;linker script&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;linker-script&#34;&gt;Linker Script&lt;/h2&gt;&#xA;&lt;p&gt;STM32 linker scripts are also designed for reusability, divided into two parts:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Linker script in the SDL: Describes how various sections are distributed in the image file&#xA;&lt;ul&gt;&#xA;&lt;li&gt;STM32F0: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m0/stm32/f0.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32G0: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m0p/stm32/g0.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32F1: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m3/stm32/f1.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32L1: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m3/stm32/l1.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32F4: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m4/stm32/f4.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32L4: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m4/stm32/l4.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32F7: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m7/stm32/f7.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;STM32H7: &lt;code&gt;XWOS/xwcd/soc/arm/v7m/m7/stm32/h7.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Other SoCs are continuously being added&amp;hellip;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Linker script in the board directory: Only describes memory regions&lt;/li&gt;&#xA;&lt;li&gt;WeActMiniStm32H750 project: &lt;code&gt;XWOS/xwbd/WeActMiniStm32H750/cfg/brd.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;WeActMiniStm32H750Bootloader project: &lt;code&gt;XWOS/xwbd/WeActMiniStm32H750Bootloader/cfg/brd.lds&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Other boards are continuously being added&amp;hellip;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Different board projects only differ in the Memory regions in the Board linker script.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
