Commit Graph

668 Commits

Author SHA1 Message Date
skarg ef80e662b3 Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet. 2011-07-26 22:11:20 +00:00
skarg c14837ae73 Added Renesas RX62N port of Ethernet datalink from Renesas Rulz contest. 2011-07-26 04:23:09 +00:00
skarg 3c9c235d28 Using timeGetTime to get the elapsed milliseconds after a baseline GetSystemTimeAsFileTime to emulate the Unix gettimeofday function at millisecond resolution on Windows. 2011-07-25 22:12:28 +00:00
skarg 059a9e8471 Fixed compile error in module. 2011-07-25 03:27:26 +00:00
skarg aac4bb5dd4 Changed gettimeofday unix function for win32 to use a higher resolution timer. 2011-07-25 02:47:25 +00:00
skarg c1d7633a8d Attempting to get better timestamp resolution on Win32. Added some functional tests for determining accuracy. The existing gettimeofday emulations only give 15ms to 16ms of resolution, so that needs fixed. 2011-07-22 22:36:12 +00:00
skarg ff393a665a Fixing DOS/Unix/MAC EOL and line endings using fixup.sh script. 2011-07-09 17:25:42 +00:00
skarg b863996349 Added yield to lower CPU usage when no characters are arriving. 2011-05-10 22:00:32 +00:00
skarg e85ab0b49f Changed RS-485 in linux port to use FIFO instead of Ringbuffer. Added FIFO to library build. 2011-05-10 16:29:49 +00:00
skarg 1d4e487b29 Adjusted for linux builds without RS485 specific terminal I/O settings. 2011-05-10 15:52:52 +00:00
skarg 267f5c03b3 Corrected the Linux MS/TP and RS-485 modules. Thank you to Никола Јелић! 2011-05-10 15:44:53 +00:00
skarg 879d49f401 Fixed Binary Input example of BDK port. 2011-04-27 00:36:49 +00:00
skarg 6df76ec9da Updated STM32 port to work with latest stack demos. 2011-04-25 04:24:03 +00:00
skarg 68273edcb9 Fixed spelling error in comment. 2011-04-25 04:23:09 +00:00
skarg ac7d360712 Added optional array detection for common properties. 2011-04-25 04:21:51 +00:00
skarg fb70f5d77a Updated IAR project. 2011-04-11 14:36:35 +00:00
skarg e01d0d4cfd Fixed strings that exceeded line length recommendations. 2011-04-07 17:22:59 +00:00
petermcs 6a693d1fb8 Added MSTPCAP and EPICS to VS2008 build.
Added net.h to timer.c includes.
2011-04-02 10:01:46 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg b0acccb580 Added an MS/TP port for the stm32f10x that I did for the STM32 Design Challenge. I didn't add the CMSIS or stm32f10x peripheral driver library, which are available for download from st.com website. I used the IAR EWARM 6.10 compiler. 2011-03-22 20:56:27 +00:00
skarg e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +00:00
skarg 1baab58598 Removed LED control from FIQ handler in assembler file. 2011-03-13 02:26:28 +00:00
skarg 6949415d5d Updated IAR project file to latest version of EWAVR. 2011-03-01 23:09:37 +00:00
skarg db95a8d1dc Added test in MS/TP datalink for MAC Address in the Master Node range (0-127). 2011-03-01 23:06:24 +00:00
skarg 87f01dce22 Fixed EOL for subversion. 2011-02-25 15:59:40 +00:00
skarg 00050f70ed removed C++ comments. 2011-02-25 15:25:13 +00:00
rhoeye ab62b37814 Add build folders and files (projects and solution) for MS Visual Studio 2005 to ports/win32. 2011-01-27 16:41:11 +00:00
rhoeye 4591c00feb Added static Object_Table[], moved device_init() from main to Init_Service_Handlers() and added call to Device_Initialize_Object_Functions(). Modeled after revision 1890 of demo/server/main.c. 2011-01-26 20:32:06 +00:00
skarg 6b83f182a7 Added blocking ADC driver for AVR to complement the non-blocking driver. 2011-01-26 16:28:23 +00:00
skarg 3f22c7e5ff Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux. 2011-01-18 19:45:52 +00:00
skarg d6e74ba51b Fixed compiler warnings when compiled MS/TP datalink on Linux. 2011-01-14 15:34:28 +00:00
skarg 624de45fc8 Cleaned up compiler warnings when compiled with Win32 MS/TP datalink. 2011-01-14 15:23:03 +00:00
skarg db686a4984 Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei! 2010-12-23 15:11:23 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg fc9be7814e Updated IAR project files for BDK port on AVR. Added main loop I/O toggle to monitor timing. 2010-12-11 21:40:13 +00:00
skarg 4ef20d370a Fixed watchdog timer initialization value. 2010-12-11 21:38:52 +00:00
petermcs d1db062db8 Updated project files so release build works 2010-12-11 15:30:18 +00:00
skarg 75249e0330 Added byte sized timer that can be used inside an 8-bit microcontroller ISR for up to 255mS of elapsed timing. 2010-12-10 23:16:02 +00:00
skarg f5829ea483 Added interrupt disable protection, and enable interrupts early in the ISR. 2010-12-10 23:14:43 +00:00
skarg 794e2ea9d4 Changed timers on AVR to only disable the timer interrupt, not global interrupts. 2010-12-10 23:13:50 +00:00
skarg 68a2f83638 Changed object functions to use a local name and smaller structure so it wouldn't name collide with the one defined in device.h. 2010-12-10 23:12:13 +00:00
petermcs dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
petermcs f0fc277650 Added gateway demo project 2010-11-17 23:09:29 +00:00
bacpack a639864cc8 In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
skarg 0953c8ada6 Per the datasheet, "Beware that if doing a Read-Modify-Write on ADCSRA, a pending interrupt can be disabled." I don't know a good way to do this, but using ADIE seems to not be reliable. 2010-10-22 17:12:30 +00:00
skarg 3b49fb0271 Change global interrupt disable to timer specific interrupt disable for data protection. Added interrupt disabled around ADC API. 2010-10-22 00:11:25 +00:00
skarg df5197b89c added comments 2010-10-19 13:22:32 +00:00
skarg 57781b40cb Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick. 2010-10-18 20:42:26 +00:00
skarg e9249b5b5e Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range. 2010-10-12 01:17:50 +00:00
skarg 8d2560225d Updated builds for ports/atmega168 (IAR) and for ports/bdk-atxx4-mstp (AVR Studio) 2010-10-07 15:56:35 +00:00