新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > startup_stm32f10x_xx.s 啟動代碼文件選擇

        startup_stm32f10x_xx.s 啟動代碼文件選擇

        作者: 時間:2016-11-23 來源:網絡 收藏
        stm32給的庫文件太瑣碎了,正如它的芯片型號一樣繁多,例如啟動文件:

        網上查到的各個文件的解釋是:

        本文引用地址:http://www.104case.com/article/201611/320432.htm

        startup_stm32f10x_cl.s 互聯型的器件,STM32F105xx,STM32F107xx
        startup_stm32f10x_hd.s 大容量的STM32F101xx,STM32F102xx,STM32F103xx
        startup_stm32f10x_hd_vl.s 大容量的STM32F100xx
        startup_stm32f10x_ld.s 小容量的STM32F101xx,STM32F102xx,STM32F103xx
        startup_stm32f10x_ld_vl.s 小容量的STM32F100xx
        startup_stm32f10x_md.s 中容量的STM32F101xx,STM32F102xx,STM32F103xx
        startup_stm32f10x_md_vl.s 中容量的STM32F100xx
        startup_stm32f10x_xl.s FLASH在512K到1024K字節的STM32F101xx,STM32F102xx,STM32F103xx

        固件庫中的Release_Notes_for_STM32F10x_CMSIS.html寫到:

        STM32F10x CMSIS Startup files: startup_stm32f10x_xx.s

        • Add new startup files for STM32 Low-density Value line devices: startup_stm32f10x_ld_vl.s
        • Add new startup files for STM32 Medium-density Value line devices: startup_stm32f10x_md_vl.s
        • SystemInit() function is called from startup file (startup_stm32f10x_xx.s) before to branch to application main.
          To reconfigure the default setting of SystemInit() function, refer to system_stm32f10x.c file
        • GNU startup file for Low density devices (startup_stm32f10x_ld.s) is updated to fix compilation errors.

          那到底啥是大容量,小容量啊?又查user manual才知道

          也就是說,例如我用STM32F103RB,那么選啟動文件為startup_stm32f10x_md.s



        評論


        技術專區

        關閉
        主站蜘蛛池模板: 八宿县| 左权县| 岳阳县| 城步| 左贡县| 鱼台县| 大宁县| 湖州市| 乐陵市| 文昌市| 汉川市| 兴业县| 兴山县| 横峰县| 庐江县| 福建省| 邳州市| 葵青区| 江孜县| 霍邱县| 福海县| 廉江市| 桦南县| 平邑县| 安塞县| 云和县| 合阳县| 明水县| 资源县| 东城区| 石城县| 靖西县| 长顺县| 锡林浩特市| 翁牛特旗| 昆山市| 万安县| 汝州市| 东阿县| 漳浦县| 十堰市|