rt-thread-official/bsp/stm32f7-disco
chenchaoqun@rt-thread.com 87b407ff18 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
..
Libraries [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
applications [license] Change the license to Apache 2018-10-16 14:18:50 +08:00
drivers [bsp/stm32f7-disco] 修复串口驱动编译报错 2018-12-08 23:07:58 +08:00
.config 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
Kconfig [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
README.md [BSP][STM32F7-DISCO]Add README.md 2018-05-19 12:00:45 +08:00
SConscript [BSP] rename stm32f7 to stm32f7-disco 2015-08-09 08:36:52 +08:00
SConstruct [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
project.ewp [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
project.eww [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
project.uvoptx [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
project.uvprojx [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
rtconfig.h 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
rtconfig.py [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
rtthread.icf [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
rtthread.ld [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
rtthread.sct [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00
template.ewp [BSP][STM32F7-DISCO]Add iar support ,scons iar/armcc support 2018-05-19 17:05:48 +08:00
template.uvprojx [BSP][STM32F7-DISCO]fix bsp 2018-05-18 20:19:18 +08:00

README.md

STM32F769-DISCO 板级支持包

1. 简介

STM32F769-DISCO 是由意法半导体推出的搭载Cortex-M7内核的高性能单片机的开发板 包括如下硬件特性:

硬件 描述
芯片型号 STM32F769NI
CPU Cortex-M7
主频 216MHz
Flash 2MB
SRAM 512K

2. 编译说明

环境 说明
PC操作系统 Linux/MacOS/Windows
编译器 arm-none-eabi-gcc version 6.3.1 20170620 (release)/armcc/
构建工具 scons/mdk5/
依赖软件环境 Env工具/(MDK或arm-none-eabi-gcc)/git/调试器驱动
  1. 下载源码
    git clone https://github.com/RT-Thread/rt-thread.git
  1. 配置工程并准备env

Linux/Mac

    cd rt-thread/bsp/stm32f7-disco
    scons --menuconfig
    source ~/.env/env.sh
    pkgs --upgrade

Windows

RT-Thread官网下载ENV工具包

  1. 生成工程(Mac/Linux下请跳过此步骤)

Windows MDK5*

    scons --target=mdk5 -s

*该板级支持包不支持生成mdk4的工程

Windows IAR

    scons --target=iar -s
  1. 编译

使用MDK或IAR请参见对应教程

Windows arm-none-eabi-gcc 使用以下指令设置gcc路径

    SET RTT_EXEC_PATH=[GCC路径]

Linux/Mac arm-none-eabi-gcc 使用以下指令设置gcc路径

    export RTT_EXEC_PATH=[GCC路径]

编译Windows/Linux/Mac arm-none-eabi-gcc

    scons -j4

出现下列信息即为编译成功

    LINK rtthread.elf
    arm-none-eabi-objcopy -O binary rtthread.elf rtthread.bin
    arm-none-eabi-size rtthread.elf
    text    data     bss     dec     hex filename
    41596     356    1456   43408    a990 rtthread.elf
    scons: done building targets.

如果编译正确无误会产生rtthread.elf、rtthread.bin文件。其中rtthread.bin为二进制固件

3. 烧写及执行

烧写可以使用仿真器 ISP等多种方式 此处不再赘述

3.1 运行结果

如果编译 & 烧写无误会在串口1*上看到RT-Thread的启动logo信息

 \ | /
- RT -     Thread Operating System
 / | \     3.0.4 build May 15 2018
 2006 - 2018 Copyright by rt-thread team
msh />

*默认串口

4. 驱动支持情况及计划

驱动 支持情况 备注
UART 支持 UART1/4/5/7
cache 支持 /
MPU 支持 SRAM cache使能权限全开 SDRAM未配置
SDRAM 支持 /

4.1 IO在板级支持包中的映射情况

IO号 板级包中的定义
PA9 USART1 TX
PA10 USART1 RX
PA0 UART4 TX
PC11 UART4 RX
PC12 UART5 TX
PB8 UART5 RX
PA15 UART7 TX
PA8 UART7 RX

5. menuconfig Bsp菜单详解

选项 解释
Using SDRAM 使能SDRAM 若开启RT_USING_MEMHEAP_AS_HEAP 可作为heap使用 默认开启
using uart1 开启串口1串口1的设备名为"uart1"
using uart4 开启串口2串口1的设备名为"uart4"
using uart5 开启串口3串口1的设备名为"uart5"
using uart7 开启串口4串口1的设备名为"uart7"

6. 联系人信息

维护人: uestczyh222 < lymz@foxmail.com >