d98a4ec1b5
* [arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件 Signed-off-by: 褚仕成 <1468559561@qq.com> * [arduino][f411-blackpill] 完善cubeMX配置 * 编辑 Kconfig 文件 * 完善Kconfig文件中PWM的配置 * 将rtduino的配置移至Onboard Peripheral Drivers * 使能SPI * Update Sconscript Signed-off-by: 褚仕成 <1468559561@qq.com> Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
25 lines
447 B
C++
25 lines
447 B
C++
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-11-14 ChuShicheng first version
|
|
*/
|
|
|
|
#include <Arduino.h>
|
|
|
|
void setup(void)
|
|
{
|
|
/* put your setup code here, to run once: */
|
|
Serial.begin();
|
|
}
|
|
|
|
void loop(void)
|
|
{
|
|
/* put your main code here, to run repeatedly: */
|
|
Serial.println("Hello Arduino!");
|
|
delay(800);
|
|
}
|