Skip to content

Conversation

@greedyhao
Copy link
Contributor

No description provided.

Copy link
Member

@armink armink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

非常棒,这么快就搞出来了一个新的 BSP,还是一个全新的 F7 系列,多谢你的贡献。

另外, HAL/CMSIS/DSP_Lib 不知道在你这里用到没有,如果没有就先移除吧,这个文件夹占用的体积太大了;

更多内容, @SummerGGift 负责 review

#if defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32F4)
#define UART_INSTANCE_CLEAR_FUNCTION __HAL_UART_CLEAR_FLAG
#elif defined(SOC_SERIES_STM32F7)
#define UART_INSTANCE_CLEAR_FUNCTION __HAL_UART_CLEAR_IT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 这很强势

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

从官方的代码中学到的

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greedyhao 有加入到 STM32 BSP 内测群吗?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

从官方的代码中学到的

很棒,我们这就运行一下

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greedyhao 你在我们官方的 BSP 体验 QQ 群里吗? 340822587

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

刚刚申请加群了 @armink @SummerGGift

#ifdef RT_USING_SPI

#if defined(BSP_USING_SPI1) || defined(BSP_USING_SPI2) || defined(BSP_USING_SPI3) || defined(BSP_USING_SPI4) || defined(BSP_USING_SPI5)
#define BSP_USING_SPI1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面两个 #define 好像不应该有,是在 menuconfig 里选的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面两个 #define 好像不应该有,是在 menuconfig 里选的

之前测试的时候忘记删除了

#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
#define RT_SERIAL_USING_DMA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 DMA 关掉吧,默认提交的工程应该是驱动功能比较小的配置,参考其他 BSP。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个DMA在我这无法用menuconfig关闭,只能用menuconfig开启,得手动删除,不知道什么原因

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

哦,我知道了,不是你的问题,是最近在设备框架新增了 DMA 模式开关,那是可以保留

{
rt_pin_mode(LED0_PIN, PIN_MODE_OUTPUT);
rt_pin_mode(LED1_PIN, PIN_MODE_OUTPUT);
// rt_pin_mode(LED1_PIN, PIN_MODE_OUTPUT);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为何要注释呢?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

忘记删除了

config BSP_USING_QSPI_FLASH
bool "Enable QSPI FLASH (W25Q128 spi5)"
select BSP_USING_SPI5
bool "Enable QSPI FLASH"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enable QSPI FLASH (W25Q128 qspi1)

@BernardXiong BernardXiong changed the title [bsp][stm32] 添加野火stm32f767开发板bsp [WIP][🏅BSP][stm32] 添加野火stm32f767开发板bsp Dec 18, 2018
Copy link
Member

@SummerGift SummerGift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

该 BSP 可以合并了,其他细节内容可以合并后续修改。

@BernardXiong BernardXiong merged commit a12591e into RT-Thread:master Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants