Commit Graph

648 Commits

Author SHA1 Message Date
Pavel Kirienko 430776469f STM32: Clock speed PPM limit 2014-04-25 15:23:22 +04:00
Pavel Kirienko 32671fe574 Somewhat improved clock sync stability (the algorithm still has to be reimplemented from scratch) 2014-04-25 10:45:39 +04:00
Pavel Kirienko f28b00c5db Renamed clock::setMinJump() 2014-04-24 23:48:25 +04:00
Pavel Kirienko 5a01135970 STM32, LPC11C24: Default min jump set to 10 ms 2014-04-24 14:46:37 +04:00
Pavel Kirienko 95363908bf STM32: clock::setMinJump(..) 2014-04-24 14:14:47 +04:00
Pavel Kirienko 4defcde10b ComponentStatusManager<> 2014-04-23 13:38:56 +04:00
Pavel Kirienko 9597dc4ddb crdr_chibios followup 2014-04-20 23:40:53 +04:00
Pavel Kirienko f155702008 Data type registrator went the same way - using plain statics instead of in-place allocation at first call. For code size critical applications, GCC flag -fno-threadsafe-statics should be used 2014-04-20 23:40:32 +04:00
Pavel Kirienko 7a02960401 Good old GDTR singleton re-implemented via static local again, because previous implementation could cause undefined behavior as GDTR could be initialized after static type registrators that use it 2014-04-20 23:14:02 +04:00
Pavel Kirienko afc56cf87b GDTR list integrity check (debug builds only) 2014-04-20 21:36:01 +04:00
Pavel Kirienko 5cd0aff0d3 GDTR list integrity check (debug builds only) 2014-04-20 21:33:51 +04:00
Pavel Kirienko b7b53630d1 Linux driver: verbose exception with error code 2014-04-20 20:45:26 +04:00
Pavel Kirienko 0fd24fd6b0 Braces in complex boolean condition to suppress false positive from the static analyzer 2014-04-19 22:55:57 +04:00
Pavel Kirienko 5fcfd7726b Removed unused constant ErrOk 2014-04-19 22:29:40 +04:00
Pavel Kirienko 0440aa844d DSDL signature in generated types is upper case 2014-04-19 22:15:26 +04:00
Pavel Kirienko e3aa0d91c8 Minor style fixes in Linux tests 2014-04-19 19:27:17 +04:00
Pavel Kirienko f8883e0bb2 Fixed memory leak in CanIOManager test 2014-04-19 19:13:52 +04:00
Pavel Kirienko ddcedfd9d0 Fixed sizeof(ptr) in test (detected by clang static analyzer) 2014-04-19 19:05:34 +04:00
Pavel Kirienko c1be9f1fef Explicit virtual keyword 2014-04-19 18:51:36 +04:00
Pavel Kirienko f31d46ea6c Explicit void cast for unused return values 2014-04-19 17:45:03 +04:00
Pavel Kirienko b2c021397d Linked list test fix 2014-04-19 17:18:51 +04:00
Pavel Kirienko 4e39fc61d9 LinkedListRoot<>::remove() does not return anything, as it was not used anyway 2014-04-19 17:13:44 +04:00
Pavel Kirienko 3eec1e18c3 Include order fix 2014-04-19 17:03:16 +04:00
Pavel Kirienko 4112c949fc strcmp() --> strncmp() 2014-04-19 16:50:43 +04:00
Pavel Kirienko acff3d274c Null pointer checks 2014-04-19 16:47:14 +04:00
Pavel Kirienko efb2251ef8 strcmp() --> strncmp() 2014-04-19 16:42:39 +04:00
Pavel Kirienko 799846de02 Scope hiding fixes 2014-04-19 16:32:42 +04:00
Pavel Kirienko c4c77ea321 Fixed typedef reuse 2014-04-19 15:52:17 +04:00
Pavel Kirienko 2eb15268f7 Stupid condition swap to eliminate a false positive from static analyzer 2014-04-19 15:30:30 +04:00
Pavel Kirienko 6aa9bd0c41 Removed enum constants from generated types 2014-04-19 15:26:39 +04:00
Pavel Kirienko dfe3b4511e Most enums were replaced with constants, according to MISRA 2014-04-19 15:16:10 +04:00
Pavel Kirienko ace2cf9d0e Error codes are constants, not enum. That fixes another MISRA violation. 2014-04-19 14:13:55 +04:00
Pavel Kirienko 519532da14 Fixed undefined behavior 2014-04-19 13:57:10 +04:00
Pavel Kirienko dfc69b4b5f Destructor fixes 2014-04-18 23:44:31 +04:00
Pavel Kirienko 707c3e3ed1 All literal suffixes are upper case (U, L, F) 2014-04-18 22:10:59 +04:00
Pavel Kirienko b3769c9cb3 Removed forward declarations (not compatible with MISRA) 2014-04-18 21:14:17 +04:00
Pavel Kirienko ed2ad4b4c9 Coding style fix in DSDL header template 2014-04-18 20:23:34 +04:00
Pavel Kirienko c9ede31d56 U suffix for unsigned constants 2014-04-18 20:17:54 +04:00
Pavel Kirienko fd71f55933 Control flow/braces fixes 2014-04-18 19:55:51 +04:00
Pavel Kirienko 1853f5c73c Explicit constructors 2014-04-18 19:37:08 +04:00
Pavel Kirienko febc3ed870 Virtual call screwup fix 2014-04-18 18:57:54 +04:00
Pavel Kirienko bfe1447426 Fixes suggested by static analyzer 2014-04-18 18:46:47 +04:00
Pavel Kirienko 1bac8d6561 Fixed unused variables in generated code 2014-04-18 18:21:03 +04:00
Pavel Kirienko fe2b49b1ab #undef in generated headers moved into the global scope 2014-04-18 18:05:24 +04:00
Pavel Kirienko d1d42e83a7 Added script to generate SciTols Understand project file using buildspy 2014-04-18 16:58:18 +04:00
Pavel Kirienko 9a04bc6dbc SciTools Understand warning fixes 2014-04-18 16:32:20 +04:00
Pavel Kirienko b7cf443418 Coverity annotation fixes 2014-04-18 15:56:22 +04:00
Pavel Kirienko 189760f662 Uncrustify config moved into tools/ 2014-04-18 15:17:53 +04:00
Pavel Kirienko b5f67403dd Coverity scan code annotations and modeling file 2014-04-18 15:16:22 +04:00
Pavel Kirienko c17a2bbd5b Fixed Linux driver: SocketCan driver adds time offset from the provided clock instance, which fixes time synchronization in PerDriverPrivate clock adjustment mode 2014-04-17 16:14:39 +04:00