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
ff13fa866f
Linux driver copyright update
2015-12-27 20:01:22 +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
Ilia
7236370409
checkHWFilters arg by reference.
...
loopback checked first
2015-12-27 14:38:00 +00: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
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
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
660e84e17f
Allocator interface: getNumBlocks() --> getBlockCapacity()
2015-10-16 14:31:42 +03:00
Pavel Kirienko
0643879922
STM32 driver test app removed
2015-10-13 17:25:34 +03:00
Pavel Kirienko
e060962261
LPC11C24 demo optimization
2015-10-13 17:15:14 +03:00
Pavel Kirienko
eb104b45bd
LPC11C24 demo with dynamic node ID allocaiton
2015-10-13 17:08:24 +03:00
Pavel Kirienko
d7bd5fc28b
LPC11C24 printing a scary message when the app fails
2015-10-13 17:01:21 +03:00
Pavel Kirienko
b94246237d
LPC11C24 enforcing GCC 4.9 or newer
2015-10-13 15:39:21 +03:00
Pavel Kirienko
df056a7948
LPC11C24 acceptance filters
2015-10-13 15:29:15 +03:00
Pavel Kirienko
873e386793
LPC11C24 minor cleanup in sys/board*
2015-10-13 14:26:13 +03:00
Pavel Kirienko
98189950e4
LPC11C24 C_CAN IF_CMDREQ_BUSY
2015-10-13 14:12:53 +03:00
Pavel Kirienko
d9ca67c84c
LPC11C24 - break on die()
2015-10-13 12:49:41 +03:00
Pavel Kirienko
6f782b2be2
LPC11C24 abort debug code removed
2015-10-12 23:09:57 +03:00
Pavel Kirienko
367389f728
LPC11C24 temporary test app
2015-10-12 23:07:17 +03:00
Pavel Kirienko
8a88ea35cc
LPC11C24 automatic bus-off recovery
2015-10-12 23:06:55 +03:00
Pavel Kirienko
0e97d7a9ba
LPC11C24 support for TX aborts
2015-10-12 13:26:13 +03:00
Pavel Kirienko
98000f2076
LPC11C24 driver - removed some literal constants
2015-10-12 08:39:22 +03:00
Pavel Kirienko
563ec45c6e
LPC11C24 auto bit rate detection is sort of working
2015-10-12 04:07:13 +03:00
Pavel Kirienko
fc2a4527d3
LPC11C24 fixes and some debug output to bit rate detection routine
2015-10-12 02:37:13 +03:00
Pavel Kirienko
851b0c7c29
LPC11C24 C_CAN 32 bit constants allow to use ~ without explicit cast
2015-10-12 02:34:00 +03:00
Pavel Kirienko
972d895f88
LPC11C24 C_CAN paranoid offset checks
2015-10-12 01:12:42 +03:00
Pavel Kirienko
800f245be7
LPC11C24 automatic CAN bit rate detection
2015-10-12 00:12:52 +03:00
Pavel Kirienko
5a649eb11b
LPC11C24 clock initialization validation
2015-10-11 20:40:32 +03:00
Pavel Kirienko
3f8a61a4c1
Merge branch 'master' into lpc11c24
2015-10-11 18:36:34 +03:00
Pavel Kirienko
8c2d86d55c
STM32 demo board init fix
2015-10-10 17:50:25 +03:00
Pavel Kirienko
3dffcc007b
STM32 demo - bxCAN GPIO initialization fixed
2015-10-10 17:09:52 +03:00