This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Evaluation Board with only one serial port


On 03/24/2011 08:49 PM, Gian Maria wrote:
I'm learning eCos and I want to run redboor on STM3210C for some tests, this
demo board has only one serial port, so how can I configure
CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL and
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL ?

Best regards Gian.


If you use the GUI ecos config tool, you can search for 'CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL' and change the value to 1.
Of course the generic serial driver must be enabled, and also the platform serial driver.


If you use the command-line tool, you must specify the same things in scripts.
In attachment you find my demo scripts, both for redboot and ecos builds, applied to platform "project".
Remarks: I use AT91 chips; it are demo scripts, so clean-up versions, never tested.



To make/change/add scripts, I read the ecos.ecc file resulting from a compilation. And I add the options that I want to change to the scripts.


Success,
Jürgen

--
Jürgen Lambrecht
R&D Associate
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk

Attachment: build_ecos_project_ram.sh
Description: Bourne shell script

Attachment: serial.ecm
Description: Text document

Attachment: general_project.ecm
Description: Text document

Attachment: redboot_rom.ecm
Description: Text document

Attachment: build_redboot_project_rom_dbg.sh
Description: Bourne shell script

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]