10 Jul 2011 22:38
Re: Eagle 100 (Stellaris LM3S6918)
Ilija Kocho <ilijak <at> siva.com.mk>
2011-07-10 20:38:35 GMT
2011-07-10 20:38:35 GMT
Hi all
I am solving similar problems in a course of porting eCos to Kinetis so
I would discuss / propose some ways for CDL management of a large
controller family.
1. Part naming management
Dealing with big number of (similar) parts can be simplified for both
programmer and user, if device selector menu instead being a single
cdl_option, is broken in a number of cdl_options (grouped in
cdl_component). User will select chip features (or name segments) and
build a part.
2. Memory layout and feature management
2.1 Every option from cdl_component described in 1., if needed, can be
used in either CDL or C code as parameters, switches, etc.
2.2 Some of selected features can be further used to resolve memory
layout issues.
- file name segments such as MLT files
- defines for memory size and layout
You can find sources at
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001187
( component CYGHWR_HAL_CORTEXM_KINETIS in hal_cortexm_kinetis.cdl ).
3. Further considerations
(Continue reading)
RSS Feed