From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24410 invoked by alias); 22 Mar 2011 19:15:31 -0000 Received: (qmail 24401 invoked by uid 22791); 22 Mar 2011 19:15:29 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm15-vm0.bullet.mail.ukl.yahoo.com (HELO nm15-vm0.bullet.mail.ukl.yahoo.com) (217.146.183.252) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 22 Mar 2011 19:15:20 +0000 Received: from [217.146.183.180] by nm15.bullet.mail.ukl.yahoo.com with NNFMP; 22 Mar 2011 19:15:18 -0000 Received: from [77.238.184.61] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 22 Mar 2011 19:15:18 -0000 Received: from [127.0.0.1] by smtp130.mail.ukl.yahoo.com with NNFMP; 22 Mar 2011 19:15:18 -0000 Received: from Mr32bitPC (g_giacomello@79.10.238.147 with login) by smtp130.mail.ukl.yahoo.com with SMTP; 22 Mar 2011 19:15:18 +0000 GMT X-Yahoo-SMTP: 8PrKJ4mswBBHp1ODFO7RBimth51qcE5VEw-- From: "Gian Maria" To: Subject: STM32F107 on STM3210C-EVAL Date: Tue, 22 Mar 2011 19:15:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-03/txt/msg00018.txt.bz2 I'm porting eCos to STM3210C and I find a logical error on the implementation of CYGPKG_HAL_CORTEXM_STM32. CYGPKG_HAL_CORTEXM_STM32 must be the base of all STM32 uP and so is not correct for me to use cdl_option CYGHWR_HAL_CORTEXM_STM32 { display "STM32 variant in use" flavor data default_value {"F103ZE"} legal_values {"F103RC" "F103VC" "F103ZC" "F103RD" "F103VD" "F103ZD" "F103RE" "F103VE" "F103ZE" } description "The STM32 has several variants, the main differences being in the size of on-chip FLASH and SRAM and numbers of some peripherals. This option allows the platform HAL to select the specific microcontroller fitted." } That is inside "ecoscvs\ecos\packages\hal\cortexm\stm32\var\current\cdl", because with my EVB for example the uP is a STM32F107VC. With this I can't set the right uP as default for the template. I'm right? I think the correct is to put the code inside "ecoscvs\ecos\packages\hal\cortexm\stm32\stm3210e_eval\current\cdl" Can someone modify this so I can update my CVS and work with the right code? Best regards Gisn. PS: 1 - When I finish my piece of port, that is at the beginning and I'm learning eCos who can upload? 2 - For every suggest Is this the right place? 3 - I have to post the full port or can post pieces of code as they are ready?