2023-01-07 15:03:21 +08:00
|
|
|
/*
|
2023-01-08 15:26:31 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2023-01-07 15:03:21 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022/12/25 flyingcys first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include <stdio.h>
|
2023-03-19 14:41:18 +08:00
|
|
|
#include <rtdevice.h>
|
|
|
|
#include "drv_gpio.h"
|
2023-01-07 15:03:21 +08:00
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2023-03-19 14:41:18 +08:00
|
|
|
rt_kprintf("Hello, RISC-V!\n");
|
2023-01-07 15:03:21 +08:00
|
|
|
|
|
|
|
return 0;
|
2023-01-08 15:26:31 +08:00
|
|
|
}
|