-
Notifications
You must be signed in to change notification settings - Fork 1
/
umakefile-m032lg6ae
47 lines (47 loc) · 1.01 KB
/
umakefile-m032lg6ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"target": "m032lg6ae_Hidbootloader",
"microcontroller": "m032lg6ae",
"toolchain": "arm-none-eabi",
"ucLib": "nimolib-m032",
"c_sources": [
"main.c",
"hidBlProtocol.c",
"./usbStrings.c",
"commands.c",
"helper.c"
],
"includes": [
"./"
],
"linkerFile": "./umake/nimolib-m032/linker/gcc_arm_256k_32k_bl.ld",
"buildDir": "./build",
"libraries": [
{
"libName": "nimolib",
"libPath": "https://github.com/nimo-labs/nimolib.git",
"books": [
"gpio",
"delay",
"usbHid",
"intFlash",
"printf",
"sysCore",
"uart"
]
},
{
"libName": "nimolib-m032",
"libPath": "https://github.com/nimo-labs/nimolib-m032.git"
}
],
"targets": [
{
"targetName": "program",
"depends": "all",
"content": [
"killall -s 9 openocd || true",
"~/OpenOCD/bin/openocd -f ./umake/nimolib-m032/openocd/openocd.cfg -d1 -c init -c \" halt \" -c \" flash write_image erase $(BUILD)/${BIN}.hex\" -c \" verify_image $(BUILD)/${BIN}.hex\" -c \" reset run \" -c \" exit \""
]
}
]
}