1 BIN2C
= ..
/..
/..
/..
/src
/helper
/bin2char.sh
3 CROSS_COMPILE ?
= arm-none-eabi-
4 GCC
= $(CROSS_COMPILE
)gcc
5 OBJCOPY
= $(CROSS_COMPILE
)objcopy
7 FLAGS
= -mthumb
-Os
-ffunction-sections
-fdata-sections
-g
-gdwarf-3
8 FLAGS
+= -gstrict-dwarf
-Wall
-fno-strict-aliasing
--asm
12 CC26X0_CFLAGS
= -mcpu
=cortex-m3
-DDEVICE_CC26X0
14 CC26X2_CFLAGS
= -mcpu
=cortex-m4
-DDEVICE_CC26X2
17 cc26x0
/flashloader.o \
23 cc26x2
/flashloader.o \
28 all: cc26x0_algo.inc cc26x2_algo.inc
31 @echo
'Building file: $<'
32 @echo
'Invoking: GNU Compiler'
33 $(GCC
) $(FLAGS
) $(CFLAGS
) $(CC26X0_CFLAGS
) -o
"$@" "$(shell echo $<)"
34 @echo
'Finished building: $<'
38 @echo
'Building file: $<'
39 @echo
'Invoking: GNU Compiler'
40 $(GCC
) $(FLAGS
) $(CFLAGS
) $(CC26X2_CFLAGS
) -o
"$@" "$(shell echo $<)"
41 @echo
'Finished building: $<'
44 cc26x0_algo.out
: $(CC26X0_OBJS
)
45 @echo
'Building target: $@'
46 @echo
'Invoking: GNU Linker'
47 $(GCC
) $(FLAGS
) -o
$@
$(CC26X0_OBJS
) -Wl
,-T
"cc26x0/cc26x0r2f.lds"
48 @echo
'Finished building target: $@'
51 cc26x2_algo.out
: $(CC26X2_OBJS
)
52 @echo
'Building target: $@'
53 @echo
'Invoking: GNU Linker'
54 $(GCC
) $(FLAGS
) -o
$@
$(CC26X2_OBJS
) -Wl
,-T
"cc26x2/cc26x2r1f.lds"
55 @echo
'Finished building target: $@'
59 @echo
'Building target: $@'
60 @echo
'Invoking: GNU Objcopy Utility'
61 $(OBJCOPY
) -Obinary
$< $@
62 @echo
'Finished building target: $@'
66 @echo
'Building target: $@'
67 @echo
'Invoking Bin2Char Script'
70 @echo
'Finished building target: $@'
74 @echo
'Cleaning Targets and Build Artifacts'
75 rm -rf
*.inc
*.bin
*.out
*.map
76 rm -rf cc26x0
/*.o cc26x0
/*.d
77 rm -rf cc26x2
/*.o cc26x2
/*.d
78 @echo
'Finished clean'
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)