retired
[openocd.git] / ecosflash / Makefile
1 #####ECOSGPLCOPYRIGHTBEGIN####
2 ## -------------------------------------------
3 ## This file is part of eCos, the Embedded Configurable Operating System.
4 ## Copyright (C) 2008 Øyvind Harboe
5 ##
6 ## eCos is free software; you can redistribute it and/or modify it under
7 ## the terms of the GNU General Public License as published by the Free
8 ## Software Foundation; either version 2 or (at your option) any later version.
9 ##
10 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
11 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 ## for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License along
16 ## with eCos; if not, write to the Free Software Foundation, Inc.,
17 ## 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
18 ##
19 ## As a special exception, if other files instantiate templates or use macros
20 ## or inline functions from this file, or you compile this file and link it
21 ## with other works to produce a work based on this file, this file does not
22 ## by itself cause the resulting work to be covered by the GNU General Public
23 ## License. However the source code for this file must still be made available
24 ## in accordance with section (3) of the GNU General Public License.
25 ##
26 ## This exception does not invalidate any other reasons why a work based on
27 ## this file might be covered by the GNU General Public License.
28 ## -------------------------------------------
29 #####ECOSGPLCOPYRIGHTEND####
30
31 # Create OpenOCD eCos flash driver
32 # Syntax: make INSTALL_DIR=ecosinstalldir OUTPUT=outputname
33
34 include $(INSTALL_DIR)/include/pkgconf/ecos.mak
35
36 all:
37 $(ECOS_COMMAND_PREFIX)gcc $(ECOS_GLOBAL_CFLAGS) $(ECOS_GLOBAL_LDFLAGS) -g -o debug_$(OUTPUT).elf -nostdlib flash.S flash.c -Wl,--gc-sections -I$(INSTALL_DIR)/include -Wl,$(INSTALL_DIR)/lib/libtarget.a -Wl,-Map,flash.map
38 cp debug_$(OUTPUT).elf $(OUTPUT).elf
39 $(ECOS_COMMAND_PREFIX)strip $(OUTPUT).elf
40 echo Flash driver $(OUTPUT).elf
41

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)