Skip to content

Commit 53f9986

Browse files
committed
bsp: artpi2: remove unused files.
Signed-off-by: stranding <[email protected]>
1 parent af08312 commit 53f9986

File tree

14 files changed

+13
-1270
lines changed

14 files changed

+13
-1270
lines changed

.github/ALL_BSP_COMPILE.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
"stm32/stm32h750-weact-ministm32h7xx",
204204
"stm32/stm32h750-fk750m1-vbt6",
205205
"stm32/stm32h7s7-st-disco",
206+
"stm32/stm32h7r7-artpi2",
206207
"stm32/stm32mp157a-st-discovery",
207208
"stm32/stm32mp157a-st-ev1",
208209
"stm32/stm32u575-st-nucleo",

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ vdso.lds
6464
# stm32cubemx
6565
**/CubeMX_Config/Drivers/
6666
**/CubeMX_Config/MDK-ARM/
67+
bsp/stm32/stm32h7r7-artpi2/.xmake/windows/x64/cache/
68+
bsp/stm32/stm32h7r7-artpi2/.xmake/windows/x64/project.lock
69+
bsp/stm32/stm32h7r7-artpi2/.xmake/windows/x64/

bsp/stm32/stm32h7r7-artpi2/EventRecorderStub.scvd

Lines changed: 0 additions & 9 deletions
This file was deleted.

bsp/stm32/stm32h7r7-artpi2/applications/main.c

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,28 @@
88
* 2021-03-17 supperthomas first version
99
*/
1010

11+
#include "drivers/dev_pin.h"
1112
#include <rtthread.h>
1213
#include <rtdevice.h>
1314
#include <board.h>
1415

1516
/* defined the LED0 pin: PO1 */
16-
#define LED_PIN GET_PIN(O, 1)
17+
#define LED_RED_PIN GET_PIN(O, 1)
18+
#define LED_BLUE_PIN GET_PIN(O, 5)
1719

1820
int main(void)
1921
{
20-
rt_uint32_t count = 1;
22+
rt_pin_mode(LED_RED_PIN, PIN_MODE_OUTPUT);
23+
rt_pin_mode(LED_BLUE_PIN, PIN_MODE_OUTPUT);
2124

22-
rt_pin_mode(LED_PIN, PIN_MODE_OUTPUT);
25+
rt_pin_write(LED_BLUE_PIN, PIN_HIGH);
2326

24-
while(count++)
27+
while(1)
2528
{
2629
rt_thread_mdelay(500);
27-
rt_pin_write(LED_PIN, PIN_HIGH);
30+
rt_pin_write(LED_RED_PIN, PIN_HIGH);
2831
rt_thread_mdelay(500);
29-
rt_pin_write(LED_PIN, PIN_LOW);
32+
rt_pin_write(LED_RED_PIN, PIN_LOW);
3033
}
3134
return RT_EOK;
3235
}
33-
34-
#include "stm32h7rsxx.h"
35-
static int vtor_config(void)
36-
{
37-
/* Vector Table Relocation in Internal XSPI2_BASE */
38-
SCB->VTOR = XSPI2_BASE;
39-
return 0;
40-
}
41-
INIT_BOARD_EXPORT(vtor_config);

bsp/stm32/stm32h7r7-artpi2/board/CubeMX_Config/Appli/CMakePresets.json

Lines changed: 0 additions & 60 deletions
This file was deleted.

bsp/stm32/stm32h7r7-artpi2/board/CubeMX_Config/Appli/Core/Src/stm32h7rsxx_it.c

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)