Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion rt-thread/bsp/_template/board.c → rt-thread/bsp/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ void rt_os_tick_callback(void)
/**
* This function will initial your board.
*/
#include "HARDWARE.h"
void rt_hw_board_init(void)
{
#error "TODO 1: OS Tick Configuration."
HARDWARE_Init();
//#error "TODO 1: OS Tick Configuration."
/*
* TODO 1: OS Tick Configuration
* Enable the hardware timer and call the rt_os_tick_callback function
Expand Down
15 changes: 12 additions & 3 deletions rt-thread/bsp/_template/rtconfig.h → rt-thread/bsp/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
// </c>
// <c1>Dynamic Heap Management(Algorithm: small memory )
// <i>Dynamic Heap Management
#define RT_USING_HEAP
#define RT_USING_SMALL_MEM
#define RT_USING_SMALL_MEM_AS_HEAP
//#define RT_USING_HEAP
//#define RT_USING_SMALL_MEM
//#define RT_USING_SMALL_MEM_AS_HEAP
// </c>
// <c1>using tiny size of memory
// <i>using tiny size of memory
Expand Down Expand Up @@ -139,6 +139,15 @@
// </c>
// </h>

// <h>Libc Configuration
// <c1>using libc
// <i>using libc mode
#define RT_USING_LIBC
// </c>
// </h>

// <<< end of configuration section >>>



#endif
39 changes: 0 additions & 39 deletions rt-thread/bsp/stm32f407-msh/.mxproject

This file was deleted.

69 changes: 0 additions & 69 deletions rt-thread/bsp/stm32f407-msh/Core/Inc/main.h

This file was deleted.

Loading