From: "Spen" <spen@spen-soft.co.uk>
To: <ecos-patches@ecos.sourceware.org>
Subject: stm32 memory layout patch
Date: Mon, 24 Nov 2008 15:44:00 -0000 [thread overview]
Message-ID: <20081124154400.ZQX4-tZe2K1FrBHF6TVIPrAoFPkCXu1-Yi4nsTWpX-4@z> (raw)
Hi,
Find attached a patch that fixes the update problem in configtool when
changing the stm32 memory layout.
For example change from ROM to RAM the linker scripts do not get updated
correctly.
Cheers
Spen
Index: hal_cortexm_stm32_stm3210e_eval.cdl
===================================================================
RCS file:
/cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/cdl/hal_cort
exm_stm32_stm3210e_eval.cdl,v
retrieving revision 1.2
diff -u -r1.2 hal_cortexm_stm32_stm3210e_eval.cdl
--- hal_cortexm_stm32_stm3210e_eval.cdl 20 Nov 2008 17:15:12 -0000 1.2
+++ hal_cortexm_stm32_stm3210e_eval.cdl 24 Nov 2008 15:19:48 -0000
@@ -87,7 +87,7 @@
display "Memory layout"
flavor data
no_define
- default_value { (CYG_HAL_STARTUP == "RAM" ) ?
"cortexm_stm3210e_eval_ram" :
+ calculated { (CYG_HAL_STARTUP == "RAM" ) ?
"cortexm_stm3210e_eval_ram" :
(CYG_HAL_STARTUP == "SRAM") ?
"cortexm_stm3210e_eval_sram" :
(CYG_HAL_STARTUP == "ROM" ) ?
"cortexm_stm3210e_eval_rom" :
(CYG_HAL_STARTUP == "JTAG") ?
"cortexm_stm3210e_eval_jtag" :
reply other threads:[~2008-11-24 15:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081124154400.ZQX4-tZe2K1FrBHF6TVIPrAoFPkCXu1-Yi4nsTWpX-4@z \
--to=spen@spen-soft.co.uk \
--cc=ecos-patches@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).