From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16348 invoked by alias); 19 Jul 2009 08:18:58 -0000 Received: (qmail 16329 invoked by uid 22791); 19 Jul 2009 08:18:57 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Jul 2009 08:18:50 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1MSRba-0006wb-00; Sun, 19 Jul 2009 10:18:46 +0200 Date: Sun, 19 Jul 2009 08:18:00 -0000 From: Andrew Lunn To: Nodir Qodirov Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20090719081846.GE20164@lunn.ch> Mail-Followup-To: Nodir Qodirov , ecos-discuss@ecos.sourceware.org References: <186ad4050907190108s119964a5x26d74ee8701ec52c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <186ad4050907190108s119964a5x26d74ee8701ec52c@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] eCos heartbeat function handler X-SW-Source: 2009-07/txt/msg00158.txt.bz2 > 2) Where should I specify (some assembler file...) which function to > call on each heartbeat? Take a look at: http://ecos.sourceware.org/docs-latest/user-guide/clocks-and-alarm-handlers.html Call cyg_alarm_initialize(test_alarmH, cyg_current_time()+1, 1); and you alarm function will be called every tick. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss