On Thu, Feb 18, 2021 at 2:42 PM Tommy Murphy <[email protected]> wrote:
>
> I ssupect that you probably need to ask this question via the cypress openocd 
> forked repo [1] since this stuff is not in the upstream openocd repo [2]?
>
> [1] https://github.com/cypresssemiconductorco/openocd/issues
> [2] https://repo.or.cz/openocd.git/tree/HEAD:/contrib/loaders/flash

Thank you for your reply.  Sorry, my post was probably off-topic for
the upstream devel list, but I've not gotten much interaction on the
downstream Cypress repo.  It's unfortunate that Cypress have not
upstreamed support for their devices.

Let me rephrase my question to be focused on upstream.  I am looking
at openocd/contrib/loaders/flash/stm32 and I see that there are .inc
files like stm32f1x.inc which have a comment that it is autogenerated
by bin2char.sh.  What would the binary file that is the input to that
script be?

I also see assembly listing files like stm32f1x.S.  I presume this is
code that would run on the target but I'm confused as to what exactly
it does.

Is stm32f1x.S what is assembled into the binary file used for bin2char.sh?
Or is stm32f1x.S just the assembly listing output of gcc compiling C
code from somewhere else?

I'm fairly new to openocd so I very much appreciate any insights.

Thank you!
Drew


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to