540 Commits

Author SHA1 Message Date
Pavel Kirienko
4e7287358a Dynamic memory refactoring: Entire library now uses IPoolAllocator instead of IAllocator, which was removed completely. This change was needed to enable TX queue constraints, see the next commits. 2014-04-12 17:17:06 +04:00
Pavel Kirienko
5808bfc0c9 LimitedPoolAllocator (for TX queue) 2014-04-12 13:40:15 +04:00
Pavel Kirienko
74b62cc3a9 STM32 CAN driver RX queue bug fix 2014-04-12 12:55:36 +04:00
Pavel Kirienko
ad49bc1ece STM32 debug helpers: printing RX queue length 2014-04-11 19:34:41 +04:00
Pavel Kirienko
bba89bdd3d Node<>::getAllocator() preserves full allocator type 2014-04-11 19:23:05 +04:00
Pavel Kirienko
6435c82d06 Linux driver got default logger that dumps everything into stderr 2014-04-11 19:02:24 +04:00
Pavel Kirienko
3b0b0494b8 STM32 test: fixed race condition 2014-04-11 16:14:08 +04:00
Pavel Kirienko
9b56534506 Time sync master: paranoid check for loopback frame correctness 2014-04-11 16:13:23 +04:00
Pavel Kirienko
c634a676be Removed assert() in time sync master 2014-04-11 15:38:00 +04:00
Pavel Kirienko
11102443be STM32: Super aggressive memory allocation (testing) 2014-04-11 15:05:56 +04:00
Pavel Kirienko
d2eb0a03ee Properly implemented registerInternalFailure(); some logging in STM32 test app 2014-04-11 14:18:36 +04:00
Pavel Kirienko
1fbd6c2cdd STM32: LTO disabled by default 2014-04-11 13:23:41 +04:00
Pavel Kirienko
46e9aeb1a6 STM32 test: libstdc++ support moved into crdr_chibios 2014-04-11 12:55:56 +04:00
Pavel Kirienko
154f4e2e0d STM32: libstdc++ tweaks. Code size reduced to 61k (release, -Os, LTO) with no functional changes. Shall be refactored later. 2014-04-11 02:09:43 +04:00
Pavel Kirienko
59fd0224e0 STM32: UAVCAN_STM32_DEBUG removed 2014-04-11 00:01:34 +04:00
Pavel Kirienko
e567c16fd0 Compact Entry constructor for GlobalDataTypeRegistry::regist<>() 2014-04-10 22:51:37 +04:00
Pavel Kirienko
01328da9eb STM32 driver: Space optimized SystemClock constructor 2014-04-10 21:23:57 +04:00
Pavel Kirienko
1c741016bf STM32 test: libstdc++ error handling workaround 2014-04-10 20:21:14 +04:00
Pavel Kirienko
d7b34ffd99 Fixed singletons in the STM32 test app (http://stackoverflow.com/questions/22985570) 2014-04-10 15:06:28 +04:00
Pavel Kirienko
c26c320dd9 Fixed GDTR singleton (http://stackoverflow.com/questions/22985570) 2014-04-10 15:05:55 +04:00
Pavel Kirienko
d0b541e22d Added config macro UAVCAN_TOSTRING 2014-04-10 13:32:35 +04:00
Pavel Kirienko
29138214dc Unused header 2014-04-10 12:52:01 +04:00
Pavel Kirienko
36192076b3 Removed sstream from uc_frame.cpp 2014-04-10 12:50:49 +04:00
Pavel Kirienko
f65aaa2ecd Removed sstream from data_type 2014-04-10 12:46:59 +04:00
Pavel Kirienko
b586897948 Removed sstream from can_io 2014-04-10 12:27:05 +04:00
Pavel Kirienko
9849a6ce22 Removed sstream from BitStream::toString() 2014-04-10 12:19:44 +04:00
Pavel Kirienko
f66f06e895 Removed sstream from time.hpp 2014-04-10 12:11:45 +04:00
Pavel Kirienko
266e95127b Removed sstream in OTR 2014-04-10 11:50:14 +04:00
Pavel Kirienko
d7ec6918be dsdlc: YAML streamer specialization methods defined out-of-line 2014-04-09 19:28:26 +04:00
Pavel Kirienko
8cd94d152c Methods of generated types defined out-of-line. This has been done in order to reduce code size on low optimization levels, though for whatever reason the code size INCREASED by 100 bytes on -Os (see STM32 test). Maybe this change should be reverted later. 2014-04-09 19:10:09 +04:00
Pavel Kirienko
693149cb2f Better formatting of generated headers 2014-04-09 19:07:35 +04:00
Pavel Kirienko
f768378e2b Size optimized ServiceClient<> 2014-04-09 18:04:16 +04:00
Pavel Kirienko
3391803d86 GenericSubscriber: one method moved to the base class 2014-04-09 18:03:31 +04:00
Pavel Kirienko
33bb1be4a1 Space optimized GenericSubscriber 2014-04-09 17:19:31 +04:00
Pavel Kirienko
44153e16db GenericPublisher made noncopyable 2014-04-09 17:02:14 +04:00
Pavel Kirienko
72425b712a Space optimized GenericPublisher 2014-04-09 16:38:49 +04:00
Pavel Kirienko
5bd2f0ea74 Out of line methods - Node<> 2014-04-09 15:58:29 +04:00
Pavel Kirienko
6177e27f8d GDTR - Out of line methods 2014-04-09 15:42:23 +04:00
Pavel Kirienko
311ae8dca1 Refactored TransferListener - all logic moved into non-generic subclass and implemented in *.cpp 2014-04-09 15:06:27 +04:00
Pavel Kirienko
a8e0037363 Compiling STM32 test with Os by default, no LTO. 2014-04-09 12:52:10 +04:00
Pavel Kirienko
990a531674 Protected constructor of MapBase<> 2014-04-09 12:51:10 +04:00
Pavel Kirienko
37f78c9261 Optimized Map<> 2014-04-09 12:24:27 +04:00
Pavel Kirienko
2c9572d845 TransferBuffer optimized RAM usage 2014-04-09 11:59:45 +04:00
Pavel Kirienko
a8d12d2004 TransferBufferManager rewritten to move all the code into a non-generic subclass. STM32 test code size reduced to 176k (-O1) 2014-04-09 11:52:05 +04:00
Pavel Kirienko
9e5115948b Out of line Logger methods 2014-04-08 23:07:36 +04:00
Pavel Kirienko
dd38c38ff2 Out of line methods in transfer_listener.hpp 2014-04-08 21:27:35 +04:00
Pavel Kirienko
8102980583 Out of line methods for ScalarCodec 2014-04-08 21:16:38 +04:00
Pavel Kirienko
a573f48372 Space optimized transfer_buffer.hpp - STM32 test 180k -O1 2014-04-08 21:13:37 +04:00
Pavel Kirienko
6a68318d49 OTR out of line methods 2014-04-08 19:07:57 +04:00
Pavel Kirienko
e6559eff9f Out of line methods in linked_list.hpp 2014-04-08 18:59:15 +04:00