Commit Graph

34 Commits

Author SHA1 Message Date
skarg 30c01de3a4 Refactored the GCC C-Stack functions into their own file. 2009-05-12 20:41:42 +00:00
skarg 0e9a805f75 Moved the iam_send to demo/handler/s_iam.c to keep application code out of the core encode/decode library. 2008-11-14 14:41:28 +00:00
skarg 437de29ce7 Added splintrc and lint checking. 2008-09-26 15:21:13 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg 69e7992cd1 Added CStack check to project by putting it into the device object as property 512. The compile shows 648 bytes of RAM used, and the device has 1024 bytes of RAM, leaving 376 for the CStack. Property 512 index 0 returns 376. So, my understanding is that the RAM that is not allocated to the variables is used for the CStack, something to keep in mind when developing. After some exercising, the stack shows 159 CStack bytes free, meaning that 216 bytes of CStack are used. Note that 0xC5 (197) was used to paint the CStack. 2008-03-28 02:47:33 +00:00
skarg 919f4b67bd Fixed IAR embedded workbench atmega168 project by allocating more CSTACK space. Simplified the iar/gcc compatibility. 2008-03-25 22:14:38 +00:00
skarg a174b9bf59 Added more functionality to the ATmega168 demo. 2008-03-20 21:32:39 +00:00
skarg 944cb46e51 Enhanced the ATmega168 demo project to include WriteProperty service to the Analog Value and Device objects. 2008-03-19 23:17:19 +00:00
skarg 80023d79db Corrected indentation using the indent tool. 2008-03-19 21:26:54 +00:00
skarg fb453ae1aa Corrected bug in ATmega168 demo in the RS-485 driver. Also updated the IAR project for Embedded workbench 5.10. Stats:
IAR Atmel AVR C/C++ Compiler V5.10A/W32 
10191 bytes of CODE memory (+36 range fill) 
  775 bytes of DATA memory (+24 absolute) 

avr-gcc (GCC) 4.2.2 (WinAVR 20071221rc1)
Program:   12052 bytes (73.6% Full)
Data:        481 bytes (47.0% Full)
2008-03-19 20:21:44 +00:00
skarg c8677814a6 Corrected bug in ATmega168 port demo project, which required some code reduction to fit using GCC compiler. 2008-03-14 22:15:49 +00:00
skarg 9abf112d45 Moved the inline optimization to the Makefile. 2008-01-09 16:50:44 +00:00
skarg a8e679f8d7 Compiled ATmega16 port example project with IAR Embedded workbench. 2008-01-07 21:41:15 +00:00
skarg 767fe208e0 Added "static inline" to functions that were only used once, and reduced code usage by 6 bytes for each occurance. 2008-01-02 14:27:41 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 4d2f46b395 Added defines for each BACAPP datatype so that the developer could only use the ones they need for their WriteProperty applications. 2007-10-19 17:11:31 +00:00
skarg 194c6d17ac Slimming down the Atmel AVR port. 2007-10-19 03:21:45 +00:00
skarg 9ff27e38aa Corrected object supported list. 2007-10-16 22:46:28 +00:00
skarg fd50708718 Tuning the ATmega168 port demo project for the BTL plugfest. 2007-10-16 02:32:52 +00:00
skarg f70e80f146 Tuned the ATmega168 port demo project that runs a Device Object and 9 Analog Inputs, and uses ReadProperty service. Uses 16158 bytes of flash, 624 bytes of RAM with an APDU of 128. 2007-10-16 01:22:12 +00:00
skarg 637b6900e3 Reducing the memory required by ATmega168 port. 2007-10-14 01:46:47 +00:00
skarg 3fa42d3df6 2007-09-28 23:16:36 +00:00
skarg da79c3826b Updated AVR port to work on actual hardware. 2007-09-25 22:08:14 +00:00
skarg fe950f2579 Compiling with CRC tables. 2007-09-07 18:01:52 +00:00
skarg 69ddb269b7 Creating ATmega demo. 2007-09-05 23:47:15 +00:00
skarg 17ceb11d3c Rewrote MS/TP to minimize memory usage. Compiles, but untested. 2007-09-05 23:13:15 +00:00
skarg 686030e197 Updated the Datalink Data-Expecting-Reply for the at91sam7s and atmega168 projects. 2007-08-24 00:34:32 +00:00
skarg eabe6dee96 Converted SilenceTimer on MS/TP datalink to be a function so that it can be atomic on 8-bit microcontrollers. 2007-08-19 12:30:51 +00:00
skarg 07816a3fd5 Updated atmega168 project files. 2007-08-16 22:13:57 +00:00
skarg 2722f8c008 Updated for ATmega port. 2007-08-16 18:52:12 +00:00
skarg 75302f4843 Updated make file, and testing compile with DLMSTP datalink. 2007-08-16 00:37:56 +00:00
skarg 916843468c Converted timer to Timer0, and enabled global interrupts to make the timer work. 2007-08-15 19:18:56 +00:00
skarg 7e1b95d18f Added clear to power reduction registers, but still no timer interrupt under simulation. 2007-08-15 18:27:43 +00:00
skarg 1b364d6df1 Adding MS/TP demo for ATmega168. Not finished yet. 2007-08-15 00:12:19 +00:00