mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[bsp][stm32]支持板载LED灯和自动生成mdk工程
This commit is contained in:
1 parent
c9d88a8e51
commit
fb9bb7ca22
3 files changed
+67
-52
No files matched your search
@@ -12,9 +12,10 @@
|
||||
#include <rtdevice.h>
|
||||
#include <board.h>
|
||||
|
||||
/* defined the LED0 pin: PB1 */
|
||||
#define LED0_PIN GET_PIN(B, 1)
|
||||
|
||||
/* defined the LED0 pin: PC4-36 PA8-8,PC5-37,PA10-10*/
|
||||
//#define LED0_PIN GET_PIN(C, 4)
|
||||
//#define LED0_PIN 36
|
||||
#define LED0_PIN 10
|
||||
int main(void)
|
||||
{
|
||||
int count = 1;
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define IDLE_THREAD_STACK_SIZE 256
|
||||
/* RT_USING_TIMER_SOFT is not set */
|
||||
#define RT_DEBUG
|
||||
#define RT_DEBUG_COLOR
|
||||
/* RT_DEBUG_INIT_CONFIG is not set */
|
||||
/* RT_DEBUG_THREAD_CONFIG is not set */
|
||||
/* RT_DEBUG_SCHEDULER_CONFIG is not set */
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user