802 Commits

Author SHA1 Message Date
Siddharth Purohit
2cc6dcabed
ignore cast-align in Pool allocation for Node 2021-10-20 21:35:14 -04:00
Siddharth Purohit
02c165fafd
protocol: replace unsupported %llu format string 2021-10-20 21:34:03 -04:00
Peter Barker
ebfa20c994
Add override keyword to those methods requiring it 2021-10-20 21:33:54 -04:00
David Sidrane
29e1aa6c12 Reworked file naming and use ROM fs as fall back
The server will now attempt to provide files from the primary
    path RootPath and then the alternate AltRootPath. This alows
    a layered approch to file service.

    Setting the RootPath to an SD card and the AltRootPath to a
    ROM FS will allow a user to provide an updated uavcan firware
    file that will be used instead of the baked in one without
    any copying.

    The path as been removed from the interactions with nodes.
    There by supporting Non-compliant nodes that could not
    handle the specified path length.

    The vitrual pathing has been moved into the FDCache.
2021-02-17 21:21:31 -05:00
Dixon, Scott
529a376bb5 Issue #141 Add Vagrantfile to automate dev environment
Problem:
There is no automated way to setup a build environment.

Solution:
Use Vagrant to pull an Ubuntu image and install the same
prerequisites used on Travis.

Testing:
Full build on my macintosh.
2018-06-26 10:27:36 -07:00
Tom Pittenger
f935822406 rename ch to chr to avoid shadow variable in ChibiOS 2018-03-25 15:22:53 -07:00
Pavel Kirienko
da34eae9c4 Added IAdHocNodeStatusUpdater 2018-01-02 11:32:35 +02:00
Pavel Kirienko
0066382ff5 TransferPerfCounter made noncopyable, returns counters by references 2018-01-01 21:17:21 +02:00
Julien Lecoeur
648860248e Fix -Wexpansion-to-defined 2017-07-04 21:54:18 +02:00
Pavel Kirienko
a1c0948f19 Merge branch 'default_service_timeout_update' 2017-04-06 18:35:17 +03:00
Pavel Kirienko
e5a0746443 Syncing unit tests with spec changes 2017-04-06 18:34:17 +03:00
Pavel Kirienko
bf3648ddff Default timeout update 2017-04-06 18:05:32 +03:00
Pavel Kirienko
c914f98772 Updated the unit tests for compatibility with GCC 5.4 2017-03-16 17:16:21 +03:00
Pavel Kirienko
c2ba231741 ReceivedDataStructure<> made noncopyable 2016-07-29 17:24:18 +03:00
Pavel Kirienko
c9ec822244 -Wold-style-cast; linked list items made noncopyable 2016-07-29 16:46:57 +03:00
Pavel Kirienko
38a241a90a Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code. 2016-07-29 15:39:24 +03:00
Pavel Kirienko
b6fa34fed5 STM32 warning fixes 2016-07-28 12:37:04 +03:00
Pavel Kirienko
7a9031db73 There's no such thing as too much static analysis 2016-07-28 11:53:11 +03:00
Pavel Kirienko
38f5591dda Optimized default timeouts 2016-02-19 12:35:44 +03:00
Pavel Kirienko
eb4532aefe Registering outgoing Allocation messages as activity as well 2016-02-19 11:51:40 +03:00
Pavel Kirienko
f72e082846 AbstractServer::guessIfAllDynamicNodesAreAllocated() 2016-02-19 11:40:48 +03:00
Pavel Kirienko
ab2b952432 Refactored the dynamic node ID allocation server: added a new class AbstractServer, which is inherited by CentralizedServer and DistributedServer. This change allowed to move the data and logic that is common to both types of servers to a single location. In the next step this will be used to add more complex common logic. 2016-02-19 11:25:50 +03:00
Pavel Kirienko
e13d6dbfd6 AllocationRequestManager::getTimeOfLastAllocationActivity() 2016-02-19 11:00:18 +03:00
Pavel Kirienko
3e5f2e5eff configureCanAcceptanceFilters() 2015-12-27 19:52:59 +03:00
Pavel Kirienko
1447674bfa CAN cfger - using consistent return types 2015-12-27 19:42:38 +03:00
Pavel Kirienko
9a55a4fc9b CAN filter cfger API doc clarifications 2015-12-27 19:34:16 +03:00
Pavel Kirienko
8f67bcbc39 Updated copyrights and include guards in CAN filter cfger 2015-12-27 18:39:57 +03:00
Ilia
73f0a9074d uncrustify applied 2015-12-21 00:34:38 +00:00
Ilia
5563dbacff addFilterConfig() added. computeConfiguration() separated from applyConfiguration.
Other small corrections
2015-12-16 00:33:00 +00:00
Ben Dyer
2d9374044b Use std::size_t 2015-10-25 17:45:34 +11:00
Ben Dyer
57915e98ba Replace bitarrayCopy with a smaller, from-scratch version 2015-10-25 17:24:21 +11:00
Pavel Kirienko
9a432c0323 Heap based allocator - peak usage removed 2015-10-16 20:36:56 +03:00
Pavel Kirienko
4e4d9b7854 Node<>, SubNode<>: MemPoolSize defaults to zero 2015-10-16 16:57:02 +03:00
Pavel Kirienko
04381686bd Optional thread-safety for default allocator 2015-10-16 16:46:10 +03:00
Pavel Kirienko
12c5fc8256 Heap based block allocator docs 2015-10-16 16:32:56 +03:00
Pavel Kirienko
b0d0c607a5 Updated HeapBasedPoolAllocator 2015-10-16 16:24:22 +03:00
Pavel Kirienko
6d29f0e405 UAVCAN_LIKELY(), UAVCAN_UNLIKELY() 2015-10-16 15:50:33 +03:00
Pavel Kirienko
660e84e17f Allocator interface: getNumBlocks() --> getBlockCapacity() 2015-10-16 14:31:42 +03:00
Pavel Kirienko
913f6ea034 Traditional lock-based thread safety for HeapBasedPoolAllocator 2015-10-15 16:49:03 +03:00
Pavel Kirienko
ef93f1b1e8 Heap based pool allocator - configurable getNumBlocks() 2015-10-15 10:51:58 +03:00
Pavel Kirienko
a5d3895cbf HeapBasedPoolAllocator<> with a basic test 2015-10-15 03:54:48 +03:00
Pavel Kirienko
d1511bed5c Node<> and SubNode<> support custom allocators 2015-10-14 21:36:13 +03:00
Pavel Kirienko
23352746cd Speed-optimized versions of bitarrayCopy() removed 2015-10-14 20:30:24 +03:00
Pavel Kirienko
899aae44f7 OTR deinterfaced 2015-10-14 20:15:19 +03:00
Pavel Kirienko
0d5fc65907 Transfer listener .hpp --> .cpp 2015-10-14 20:02:25 +03:00
Pavel Kirienko
a9fdf44fa9 Transfer buffering system detemplatized; compiles but tests are failing 2015-10-14 19:59:04 +03:00
Pavel Kirienko
be84897ed6 First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly 2015-10-14 08:29:50 +03:00
Ben Dyer
c08016edbc Changed NodeInfoRetriever to inherit publicly from NodeStatusMonitor to allow access to node status API 2015-10-11 21:22:00 +11:00
Pavel Kirienko
0410b34d0c Coverity fix 1325169 2015-09-30 02:14:46 +03:00
Pavel Kirienko
14cdbc0594 Added some getters to the Node<> class 2015-09-25 01:45:40 +03:00