1741 Commits

Author SHA1 Message Date
Pavel Kirienko
a19dfd56dc Linux makeNode() helper overload 2016-06-13 00:46:13 +03:00
Pavel Kirienko
59bcde5868 Travis: forcing APT to accept unsigned packages 2016-06-09 19:25:51 +03:00
Pavel Kirienko
af6c825954 Merge pull request #85 from larics/master
support for FreeRTOS
2016-06-03 01:09:20 +03:00
Pavel Kirienko
3629a8033d Building tests only if GTest is found 2016-06-02 23:36:42 +03:00
suiauthon
6b74f21fba fixed spacing and variable notation 2016-06-02 17:31:37 +02:00
suiauthon
ea8e8cd892 removed unnecessary include 2016-06-02 15:43:43 +02:00
suiauthon
0a757e1914 removed unnecessary includes 2016-06-02 15:42:51 +02:00
suiauthon
bd820fb86a added more generic include, fixed spacing 2016-06-02 15:42:10 +02:00
Pavel Kirienko
ec84f64f5f Warning fixes (GCC 5.3) 2016-05-05 05:30:49 +03:00
Pavel Kirienko
b04396ace5 Merge pull request #91 from dagar/master
python build only output if there's an error
2016-04-18 12:04:59 +03:00
Daniel Agar
7f3a3d4a96 python only output if there's an error 2016-04-17 16:30:23 -04:00
Lorenz Meier
986ce57197 Merge pull request #90 from dagar/deps
cmake only run libuavcan_dsdlc if there are changes
2016-04-17 21:18:46 +02:00
Daniel Agar
27f112a831 cmake only run libuavcan_dsdlc if there are changes 2016-04-17 14:54:17 -04:00
suiauthon
e006189ce5 changed counting semaphore to binary 2016-04-04 10:06:59 +02:00
suiauthon
b3818860de changes in includes for baremetal 2016-04-01 13:50:29 +02:00
suiauthon
13dbca3f0e fixed yield from isr 2016-03-29 16:49:26 +02:00
Pavel Kirienko
7ce96d6c1e Merge pull request #86 from UAVCAN/nid_allocation_activity_monitoring
Monitoring activity of dynamic node ID allocation servers
2016-02-20 05:56:13 +03:00
Pavel Kirienko
38f5591dda Optimized default timeouts 2016-02-19 12:35:44 +03:00
Pavel Kirienko
b7515646bb New field in dynamic allocator app for Linux: 'All allocated' 2016-02-19 11:52:51 +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
suiauthon
8abfd18189 uncommented osDelay 2016-02-17 09:51:50 +01:00
suiauthon
6b30772353 removed unnecessary comment 2016-02-17 09:49:25 +01:00
suiauthon
ee6ae3ec95 added new method that yield from ISR after semaphore is given from ISR 2016-02-17 09:46:36 +01:00
suiauthon
ada61ef06b added support for FreeRTOS 2016-02-15 11:21:10 +01:00
suiauthon
b4f6e1e553 added support for FreeRTOS 2016-02-15 11:15:42 +01:00
Pavel Kirienko
702f6f0560 STM32: Fixed CS in pollErrorFlags() 2016-01-31 23:06:12 +03:00
Pavel Kirienko
cf9edf13cd Disabled SCE interrupts; error handling is now polling based 2016-01-31 14:47:23 +03:00
Pavel Kirienko
f7a0e36882 Fixed unused variable in STM32 baremetal driver 2016-01-29 13:24:55 +03:00
Pavel Kirienko
30059d8239 SLCAN helper script: using default baudrate 921600 because it is more common than 3M for serial adapters 2016-01-28 02:28:49 +03:00
Pavel Kirienko
818c4eaeb9 Merge pull request #84 from UAVCAN/socketcan_select_refactoring
Refactored SocketCAN select() call; fixes #83
2016-01-28 01:18:04 +03:00
Pavel Kirienko
f86a4b98d1 SocketCAN: Setting correct errno when throwing AllIfacesDownException 2016-01-28 01:06:29 +03:00
Pavel Kirienko
3d0186c547 SocketCAN doc comments 2016-01-28 00:54:22 +03:00
Pavel Kirienko
597e0b4356 SocketCAN: Proper error reporting from openSocket() 2016-01-28 00:50:28 +03:00
Pavel Kirienko
587088bb18 Refactored SocketCAN select() call; fixes #83
Features:
- The driver will throw if it's fed a non-existing or malfunctioning interface during initialization
- When an interface becomes down/disconnected while the node is running, the driver will silently
  exclude it from the IO loop and continue to run on the remaining interfaces.
- When all interfaces become down/disconnected, the driver will throw AllIfacesDownException() from
  SocketCanDriver::select().
2016-01-28 00:12:27 +03:00
Pavel Kirienko
cbd36a4a5b Linux SocketCAN: Fixed hasReadyTx() - now checking whether the driver will be ready to release further frames from the queue 2016-01-27 14:31:05 +03:00
Pavel Kirienko
f9a10b1a81 Linux SocketCAN: Fixed handling of outgoing frames. The old logic was handling writes incorrectly, losing frames if the socket was not writable. 2016-01-27 13:56:43 +03:00
Pavel Kirienko
3050d0ae36 STM32: Fixed IRQ race condition in CAN controller initialization 2016-01-05 10:32:50 +03:00
Pavel Kirienko
5bd641a744 Fixed busyloop in the STM32 CAN driver for ChibiOS 2016-01-04 15:18:04 +03:00
Pavel Kirienko
4c03b29401 Merge pull request #82 from ilia-sheremet/master
Can_acceptance_filter_configurator and unit test are corrected
2015-12-27 20:04:01 +03:00
Pavel Kirienko
ff13fa866f Linux driver copyright update 2015-12-27 20:01:22 +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
288478fa4a Linux driver: Avoiding use of cstdint from global scope, using proper loops 2015-12-27 19:41:12 +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
7236370409 checkHWFilters arg by reference.
loopback checked first
2015-12-27 14:38:00 +00:00
Pavel Kirienko
f94fc322e5 Gitter badge 2015-12-21 14:53:18 +03:00