Commit Graph

617 Commits

Author SHA1 Message Date
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
Pavel Kirienko bd27ab02ac #ifdef for GCC-specific attribute 2014-04-17 15:52:20 +04:00
Pavel Kirienko 3acf0be231 LPC11C24: Removed compiler-dependent code 2014-04-17 12:53:50 +04:00
Pavel Kirienko 32474838c0 LPC11C24: Fixed undefined behavior in clock driver 2014-04-17 12:50:24 +04:00
Pavel Kirienko 03ff492bc4 More compliance fixes 2014-04-17 12:23:31 +04:00
Pavel Kirienko cff3a24883 C++ compliance fixes 2014-04-17 12:05:02 +04:00
Pavel Kirienko c772cea438 Typos in Linux driver 2014-04-16 23:07:25 +04:00
Pavel Kirienko 507e395672 LPC11C24 test: Optimized logging 2014-04-16 22:56:47 +04:00
Pavel Kirienko 77ca59a2ad LPC11C24 test: Added time sync slave and logging 2014-04-16 22:35:03 +04:00
Pavel Kirienko 87e89fc042 Heavy optimizations for ROM/RAM usage in UAVCAN_TINY mode 2014-04-16 21:11:42 +04:00
Pavel Kirienko 4085613d00 Support for zero static buffers 2014-04-16 20:25:37 +04:00
Pavel Kirienko 85c176cb60 Preprocessor symbol UAVCAN_LPC11C24_NO_WFE to disable WFE in select() 2014-04-16 19:20:15 +04:00
Pavel Kirienko 091356c1ba LPC11C24: Reduced RX queue len 2014-04-16 19:15:52 +04:00
Pavel Kirienko 3c2c623c08 LPC11C24: Added some fancy GCC flags 2014-04-16 19:03:23 +04:00
Pavel Kirienko 698a3ad325 LPC11C24: Enabled LTO; binary size 26.6k 2014-04-16 18:57:59 +04:00
Pavel Kirienko 65c6fdf396 Disabled optimization in crt0 to avoid optimization errors on the naked function (anyway there's nothing to optimize) 2014-04-16 18:47:32 +04:00
Pavel Kirienko b18daa070b UAVCAN_TINY does not support GTSM, NCC, TSP - saves ~900 bytes 2014-04-16 17:27:46 +04:00
Pavel Kirienko a298ad9ba2 Transport CRC will not use table in UAVCAN_TINY builds 2014-04-16 17:19:05 +04:00
Pavel Kirienko f8b10ab003 Shorter error strings - saves ~200 bytes 2014-04-16 16:59:58 +04:00
Pavel Kirienko 97cb814ffd LPC11C24: Added node status init 2014-04-16 15:09:32 +04:00
Pavel Kirienko 5926e3dd45 LPC11C24: Fixed TX priority inversion in CAN driver 2014-04-16 15:02:45 +04:00
Pavel Kirienko c114ce8c99 LPC11C24: Default RX queue len reduced to 10 items 2014-04-16 14:10:19 +04:00
Pavel Kirienko 13e8fdbdc8 LPC11C24: Minor fixes in CAN driver 2014-04-16 13:59:37 +04:00
Pavel Kirienko 58636c780c LPC11C24: Simple UAVCAN node. Does nothing. There's some problem with TX reordering, it was solved temporarily by setting number of TX slots to one. 2014-04-16 13:53:30 +04:00
Pavel Kirienko e934f54c9f LPC11C24: LD script: Implicit function alignment - saves 900 bytes of code for this test 2014-04-16 13:15:21 +04:00
Pavel Kirienko c62b425b31 LPC11C24: LTO requires abort() to be used 2014-04-16 13:09:37 +04:00
Pavel Kirienko 2a03b21aba LPC11C24 superheader 2014-04-16 13:09:03 +04:00
Pavel Kirienko 60947bc9dc LPC11C24: Removed redundant comments 2014-04-16 12:35:50 +04:00
Pavel Kirienko 1e68df6187 LPC11C24 clock driver bug fix: SysTick pending bit is checked in SCB.ICSR, which is the only right way according to the Cortex-M0 manual 2014-04-16 01:16:10 +04:00
Pavel Kirienko a1ea05bdea LPC11C24: select() 2014-04-16 00:05:25 +04:00
Pavel Kirienko 09203aab1d LPC11C24: More complete test 2014-04-15 23:28:01 +04:00
Pavel Kirienko 1c73f4884c LPC11C24 iface activity LED support 2014-04-15 23:11:55 +04:00