提交 56a2e831 编写于 作者: S supperthomas

Merge branch 'master' of github.com:supperthomas/rt-thread

...@@ -112,6 +112,7 @@ env: ...@@ -112,6 +112,7 @@ env:
- RTT_BSP='stm32/stm32l475-st-discovery' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32l475-st-discovery' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32l476-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32l476-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32l496-ali-developer' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32l496-ali-developer' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32l496-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32f20x' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32f20x' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='swm320-lq100' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='swm320-lq100' RTT_TOOL_CHAIN='sourcery-arm'
# - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc' # - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
......
...@@ -5,20 +5,20 @@ ...@@ -5,20 +5,20 @@
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2020-03-14 super_mcu first version * 2020-03-14 super_mcu first version
*/ */
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <board.h> #include <board.h>
/* defined the LED0 pin: PE7 */ /* defined the LED2 pin: PB7 */
#define LED2_PIN GET_PIN(B, 7) #define LED2_PIN GET_PIN(B, 7)
int main(void) int main(void)
{ {
int count = 1; int count = 1;
/* set LED0 pin mode to output */ /* set LED2 pin mode to output */
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT); rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);
while (count++) while (count++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册