FreeCalypso > hg > freecalypso-tools
view loadtools/scripts/c05.config @ 1011:6d9b10633f10
etmsync Pirelli IMEI retrieval: fix poor use of printf()
Bug reported by Vadim Yanitskiy <fixeria@osmocom.org>: the construct
where a static-allocated string was passed to printf() without any
format arguments causes newer compilers to report a security problem.
Given that formatted output is not needed here, just fixed string
output, change printf() to fputs(), and direct the error message
to stderr while at it.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 23 May 2024 17:29:57 +0000 |
parents | d67939ec7ccb |
children |
line wrap: on
line source
# The present hw parameter file is a minimal config that is appropriate to use # if the target is known to have a Calypso C05 chip in it but nothing else is # known, not even the ABB type. This minimal config is not usable for flash # manipulation or for fc-xram, but it may be useful for fc-iram or low-level # (non-flash) fc-loadtool operations. # The following parameters go into the <p command sent to the boot ROM pll-config 3/1 # ARM @ 39 MHz, PLL&DSP @ 78 MHz if 26 MHz in rhea-cntl 0x00 # good for all Calypso platforms