YuQi 7c122cca25
[bsp][c28x] add driver for GPIO and improve pwm's driver (#6493)
1. 增加PWM模块的配置kconfig代码
2. 调整目录结构,新增c28x文件夹,将原有tms320f28379的porting移动至c28x文件夹下,通用设备驱动移动至c28x/libraries下
3. 增加gpio驱动代码以及外部中断触发驱动代码

目前已经在tms320f28379上通过测试
2022-10-08 23:24:05 -04:00

29 lines
507 B
C

/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2006-08-31 Bernard first implementation
* 2018-09-02 xuzhuoyi modify for TMS320F28379D version
* 2022-08-21 yuqi modify the entry function
*/
#include <stdint.h>
#include <rthw.h>
#include <rtthread.h>
#include "board.h"
int main(void)
{
unsigned long x=10000;
while(x)
{
x--;
}
}
/*@}*/