From de5117e94501e9ad68c24a4445beedd5fe429768 Mon Sep 17 00:00:00 2001 From: BuFran Date: Fri, 5 Jul 2013 19:41:46 +0200 Subject: [PATCH] Add example to the device database file --- ld/devices.data | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/ld/devices.data b/ld/devices.data index f8882a33..7920a372 100644 --- a/ld/devices.data +++ b/ld/devices.data @@ -44,7 +44,23 @@ # the first will be evaluated, except special group definition "+" # # The regex matches entire sym - +# +# Example: +# +# --- devices.data file --- +# stm32f05[01]?4* stm32f0 ROM=16K RAM=4K +# stm32f0 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 +# stm32 END +# +# --- queried chip name --- +# stm32f051c8t6 +# +# --- output of the awk script --- +# -DROM=16K -DRAM=4K -DROM_OFF=0x08000000 -DRAM_OFF=0x20000000 +# +# The generated linker script file will contain sections rom and ram with +# appropriate initialization code, specified in linker file source linker.ld.S +# ################################################################################ # the STM32 chips