585 Commits

Author SHA1 Message Date
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
Pavel Kirienko
272c05edf1 LPC11C24: __low_init() renamed to commonly known SystemInit() 2014-04-15 22:57:24 +04:00
Pavel Kirienko
a392f5c61c LPC11C24: Using --specs=nano.specs (link with small newlib) 2014-04-15 22:17:42 +04:00
Pavel Kirienko
e205c2e441 LPC11C24 clock driver. Not well tested yet, but generally seems to be OK 2014-04-15 22:12:19 +04:00
Pavel Kirienko
1f0f6b0899 Misleading comment removed 2014-04-15 21:18:32 +04:00
Pavel Kirienko
6127963db7 LPC11C24: CAN bouncer (test) 2014-04-15 17:22:45 +04:00
Pavel Kirienko
841c581991 LPC11C24: CAN transmission 2014-04-15 17:15:49 +04:00
Pavel Kirienko
03ab77b02f LPC11C24: Building with libuavcan; partially implemented CAN driver (RX only, no timestamping) 2014-04-15 16:50:13 +04:00
Pavel Kirienko
a7233c1f17 LPC11C24 linking alignment fix 2014-04-15 16:21:42 +04:00
Pavel Kirienko
a4884fc452 LPC11C24: Added abort() stub 2014-04-15 15:44:40 +04:00
Pavel Kirienko
80ebb62b49 Simple C_CAN test on LPC11C24 2014-04-15 11:05:40 +04:00
Pavel Kirienko
38ca53d7d5 LPC11C24: Proper CRT initialization with BSS and constructors. All assembler code was removed. 2014-04-14 23:30:06 +04:00
Pavel Kirienko
af2141daaf __start() and main() declared with noreturn attribute 2014-04-14 15:30:20 +04:00
Pavel Kirienko
f451aba2c6 LPC11C24: Fixed C++ runtime initialization 2014-04-14 15:28:50 +04:00
Pavel Kirienko
03fc05a456 LPC11C24 test app - does nothing but blinks a LED 2014-04-14 15:03:48 +04:00
Pavel Kirienko
c2b878965e DataTypeSignatureCRC - methods moved to .cpp 2014-04-13 00:02:48 +04:00
Pavel Kirienko
627dc5f2d9 UAVCAN_TINY preprocessor option - STM32 test compiles into 41kB in release mode (-Os, LTO) 2014-04-12 23:28:32 +04:00
Pavel Kirienko
bbbcf97cae STM32 test - typo 2014-04-12 23:12:11 +04:00
Pavel Kirienko
e476a957a8 NetworkCompatibilityChecker will not be executed at each Node<>::start(), there's special method for that - Node<>::checkNetworkCompatibility() 2014-04-12 22:10:26 +04:00
Pavel Kirienko
dd5908dad8 Renaming: NodeInitializer --> NetworkCompatibilityChecker 2014-04-12 21:40:30 +04:00
Pavel Kirienko
d8c37584c0 STM32: clock sync: Simple PI controller for speed adjustments; converges to +-100 usec in few minutes 2014-04-12 21:21:02 +04:00
Pavel Kirienko
67f92628a8 STM32: optimized clock speed adjustment 2014-04-12 20:29:57 +04:00
Pavel Kirienko
77b1cb1320 STM32 test print 2014-04-12 18:44:16 +04:00
Pavel Kirienko
590634a82c STM32: increased default RX queue size 2014-04-12 18:23:43 +04:00
Pavel Kirienko
d801f4a7f3 CAN TX queue quota - limiting max number of memory blocks per TX queue to avoid memory congestion if one iface is down 2014-04-12 18:11:30 +04:00
Pavel Kirienko
3e4234e049 Allocator fixes 2014-04-12 17:50:32 +04:00
Pavel Kirienko
6f1affa51f Pool test 2014-04-12 17:34:16 +04:00
Pavel Kirienko
95d2328a8c Removed debug memset() in pool allocator 2014-04-12 17:18:08 +04:00
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