attach probe of the oscilloscope too the
3.3v & PWM3 like below:
jack
------| |---| |-| |----
|o o 3.3v |eth1| |eth0|
|o o
|o o
|o o PWM3
|o o
type commands below to rt-thread console:
msh /> pwm_enable pwm0 3
msh /> pwm_set pwm0 3 140 90
turn off pwm:
msh /> pwm_disable pwm0 3
Signed-off-by: Du Huanpeng <548708880@qq.com>
Squashed commit of the following:
commit 32dd349ccf
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Jun 11 16:08:08 2020 +0800
bsp/nuclei: Add more documentation about how to use RT-Thread in RV-STAR
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit c9474c20a5
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Jun 11 14:06:42 2020 +0800
bsp/nuclei: remove comments in rt_hw_*_drvinit
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 89b5caa2c3
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Jun 11 13:52:12 2020 +0800
bsp/nuclei: Add a entry README.md for nuclei bsp
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit ae50d6e9bd
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Jun 11 11:52:52 2020 +0800
bsp/nuclei: update README.md cover more pinmux section
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit 1a42d85dfe
Author: Huaqi Fang <578567190@qq.com>
Date: Thu Jun 11 08:52:06 2020 +0800
bsp/nuclei: clean up unused code in drv_spi.c
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit b40edcdf59
Author: Huaqi Fang <578567190@qq.com>
Date: Wed Jun 10 14:09:15 2020 +0800
bsp/nuclei: Format the code comments for hw pinmux init
Signed-off-by: Huaqi Fang <578567190@qq.com>
commit c8ae9fdfdb
Author: Huaqi Fang <578567190@qq.com>
Date: Mon Jun 8 17:12:43 2020 +0800
bsp/nuclei: Add more drivers support for gd32vf103
* More drivers are supported for rvstar board, see README.md
* If user want to use these supported drivers, menuconfig is required
* User also need to setup pinmux for its coresponding driver in
board/board.c
Signed-off-by: Huaqi Fang <578567190@qq.com>
Signed-off-by: Huaqi Fang <578567190@qq.com>