1715 Commits

Author SHA1 Message Date
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
Ilia
73f0a9074d uncrustify applied 2015-12-21 00:34:38 +00:00
Ilia
292b06c2d8 pull request corrections 2015-12-20 22:53:19 +00:00
Ilia
c5a340719f Merge remote-tracking branch 'origin/filters_corrections' 2015-12-19 16:57:18 +00:00
Ilia
8a5719248f HW acceptance filters unit test corrected.
specificator changed for cfg.MK-ID print
2015-12-19 16:43:29 +00:00
Ilia
5563dbacff addFilterConfig() added. computeConfiguration() separated from applyConfiguration.
Other small corrections
2015-12-16 00:33:00 +00:00
Pavel Kirienko
1006c7cdc2 Merge pull request #81 from UAVCAN/stm32_can_error_codes
Returning meaningful error codes from STM32 CAN driver methods
2015-12-14 08:53:09 +03:00
Ilia
a2ed997cb4 socketcan HW filters moved to userspace 2015-12-14 00:20:35 +00:00
Pavel Kirienko
8423fb3ed5 Returning meaningful error codes from STM32 CAN driver methods instead of plain -1 2015-12-11 11:20:02 +03:00
Pavel Kirienko
426f349e36 Reworked the script uavcan_add_slcan 2015-12-08 02:49:37 +03:00
Pavel Kirienko
8b31d993be STM32: optimized clock instance access 2015-12-04 03:20:20 +03:00
Pavel Kirienko
b29b40165e STM32: exposed getMonotonic() and getUtc() in order to discourage direct access to uavcan_stm32::clock 2015-12-04 03:16:31 +03:00
Pavel Kirienko
82d161ee61 LPC11C24 - added support for 100kbps because this is the bit rate used by the bootloader 2015-11-27 19:19:13 +03:00
Pavel Kirienko
1702ec05d0 LPC11: Fixed unique ID reading 2015-11-27 18:44:22 +03:00
Pavel Kirienko
0a07f5c713 Merge pull request #80 from UAVCAN/fixed_out_of_dated_comment
Fixed comment to match
2015-11-21 10:54:58 +03:00
David Sidrane
c97e6e5096 Fixed comment to match
https://github.com/mavlink/mavlink/pull/414#issuecomment-120088482

The stale comment has led to much misunderstanding .
2015-11-20 18:01:55 -10:00
Pavel Kirienko
c152f28a62 Linux: Installing vcan/slcan init scripts 2015-11-05 12:22:13 +03:00
Pavel Kirienko
180f56ad2f SocketCAN slcan_init script 2015-11-05 12:07:49 +03:00
Pavel Kirienko
50ce241ba0 SocketCAN: default max_frames_in_socket_tx_queue reduced to 2 2015-11-05 12:01:29 +03:00
Pavel Kirienko
7bbb368967 STM32 example - notes on auto bit rate detection 2015-10-26 13:25:51 +03:00
Pavel Kirienko
8d726ec86d Merge pull request #77 from UAVCAN/issue-76
Adding CONTINUOUS_INTEGRATION_BUILD flag
2015-10-26 11:13:41 +03:00
Pavel Kirienko
d1a0971751 Merge pull request #78 from UAVCAN/issue-63
Replace bitarrayCopy with a smaller, from-scratch version (resolves #63)
2015-10-25 11:14:42 +03:00
Ben Dyer
8b178aaa65 Use --gtest_filter to exclude real-time tests, instead of modifying source 2015-10-25 17:51:30 +11: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
Ben Dyer
c446898d05 Adding CONTINUOUS_INTEGRATION_BUILD flag 2015-10-25 10:42:23 +11:00
Pavel Kirienko
99f084d013 README edits: Travis CI badge, note on triggering Coverity Scan by pushing, Python version synchronized with Pyuavcan 2015-10-24 20:56:02 +03:00