Skip to content

Commit 3682b6c

Browse files
committed
fix pre-commit, remove svd file since they are heavy and should be in mcu/sdk instead
add cmake support for f403a_407 and f423
1 parent f4843c0 commit 3682b6c

File tree

77 files changed

+497
-249969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+497
-249969
lines changed

hw/bsp/at32f402_405/FreeRTOSConfig/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
#define INCLUDE_vTaskDelayUntil 1
110110
#define INCLUDE_vTaskDelay 1
111111
#define INCLUDE_xTaskGetSchedulerState 0
112-
#define INCLUDE_xTaskGetCurrentTaskHandle 0
112+
#define INCLUDE_xTaskGetCurrentTaskHandle 1
113113
#define INCLUDE_uxTaskGetStackHighWaterMark 0
114114
#define INCLUDE_xTaskGetIdleTaskHandle 0
115115
#define INCLUDE_xTimerGetTimerDaemonTaskHandle 0

hw/bsp/at32f402_405/at32f402_405_clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void system_clock_config(void)
121121
#endif
122122

123123
#ifdef AT32F402xx
124-
/* reduce power comsumption */
124+
/* reduce power consumption */
125125
reduce_power_consumption();
126126
#endif
127127
}

hw/bsp/at32f402_405/at32f402_405_clock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ void system_clock_config(void);
4141
#endif
4242

4343
#endif
44-

hw/bsp/at32f402_405/at32f402_405_int.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,3 @@ void DebugMon_Handler(void)
137137
/**
138138
* @}
139139
*/
140-

hw/bsp/at32f402_405/at32f402_405_int.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ void SysTick_Handler(void);
5353
#endif
5454

5555
#endif
56-

hw/bsp/at32f402_405/boards/AT_START_F402_405/AT32F405xC_FLASH.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ SECTIONS
104104
_sidata = LOADADDR(.data);
105105

106106
/* Initialized data sections goes into RAM, load LMA copy after code */
107-
.data :
107+
.data :
108108
{
109109
. = ALIGN(4);
110110
_sdata = .; /* create a global symbol at data start */
@@ -119,7 +119,7 @@ SECTIONS
119119
. = ALIGN(4);
120120
.bss :
121121
{
122-
/* This is used by the startup in order to initialize the .bss secion */
122+
/* This is used by the startup in order to initialize the .bss section */
123123
_sbss = .; /* define a global symbol at bss start */
124124
__bss_start__ = _sbss;
125125
*(.bss)

0 commit comments

Comments
 (0)