Sebastien Lorquet
d329f117e7
Here is a missing register def for STM32L4 after support for dual RX. Thanks to Paul for porting the CAN improvements to both STM32 targets.
2016-06-30 07:11:26 -06:00
Paul A. Patience
20c611c12b
STM32 CAN: Bitfield definitions should be unsigned
...
Shifting 1 by 31 is undefined behaviour because 1 is signed.
We should probably use 1ul instead of 1 everywhere else,
but for now this silences a compiler warning.
2016-06-29 13:59:33 -04:00
Paul A. Patience
52a4a20efb
STM32L4 CAN: Port support for both RX FIFOs from STM32 CAN
2016-06-29 13:59:29 -04:00
Gregory Nutt
a43da4d107
STM32 CAN: Clone missing stm32_enterinitmode() and _exitinitmode() from STM32L4. Don't know if this is write but is needed to compile.
2016-06-28 14:35:49 -06:00
Paul A. Patience
a4d5845887
efm32, lcp43, stm32, stm32l4: disable interrupts with NVIC_IRQ_CLEAR
2016-06-28 15:12:39 -04:00
Gregory Nutt
d4408264ec
STM32 CAN fixes need to be backported to STM32L4 as well
2016-06-27 15:18:45 -06:00
Gregory Nutt
ea8760eb19
Cosmetic changes from review of last PR
2016-06-24 07:20:04 -06:00
Sebastien Lorquet
d3441668ee
Port STM32L4 CAN IOCTLs to STM32
2016-06-24 11:53:17 +02:00
Sebastien Lorquet
613e3b0b2c
Fix a search/replace typo
2016-06-24 11:44:40 +02:00
Sebastien Lorquet
017670ac9d
Re-rename the stm32l4 can driver functions
2016-06-24 11:40:59 +02:00
Sebastien Lorquet
82d746ec35
STM32L4 CAN: Implementation of loopback IOCTLs
2016-06-22 10:02:20 -06:00
Sebastien Lorquet
8b922b1546
Enforce STM32L4 naming convention
2016-06-22 07:36:49 -06:00
Sebastien Lorquet
8b1a607671
Here is a patch to
...
-remove a wrong comment in atmel mcan ioctl
-add ioctls to set/get bit timing in stm32l4
-add ioctl hooks to allow future management of can id filters.
2016-06-21 06:21:54 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
a56812a335
Spurious 'else' in previous commit removed
2016-06-17 14:46:02 -06:00
Sebastien Lorquet
dd8d212c26
Apply same STM32 patch to STM32 L4
2016-06-17 07:32:33 -06:00
Gregory Nutt
0d3ecb3ddd
Fix another victim of the mass name changes: xyz_errmonitor->xyz_dbgmonitor
2016-06-17 07:00:33 -06:00
Gregory Nutt
4a34540e8f
Eliminate a warning
2016-06-16 16:22:01 -06:00
Gregory Nutt
088e9920a8
Cosmetic: Fix some long lines in comment blocks
2016-06-16 15:45:57 -06:00
Gregory Nutt
1b53214a82
STM32L4: Last change added rcc_resetbkp(), but the function was never called.
2016-06-16 15:26:48 -06:00
Jim Paris
6b7959202f
Remove duplicate lines in Makefile
...
They're already there, a few lines up.
2016-06-16 17:26:13 -04:00
Alan Carvalho de Assis
dd7297fb64
STM32L4: Add logic reset backup domain early in initialization
2016-06-16 13:43:09 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
8c76779bc0
Change *err() to either info() or err(ERROR:..), depending upon if an error has occurred.
2016-06-16 08:41:21 -06:00
Gregory Nutt
b7f0fbc073
Centralize definitions associated with CONFIG_DEBUG_RTC
2016-06-16 07:39:23 -06:00
Gregory Nutt
5c89b18af8
Centralize definitions associated with CONFIG_DEBUG_I2C
2016-06-15 16:30:12 -06:00
Gregory Nutt
63b1eb09e6
Centralize definitions associated with CONFIG_DEBUG_CAN
2016-06-15 15:45:27 -06:00
Gregory Nutt
6d9a0511ad
Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION
2016-06-15 14:48:06 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
c4e6f50eac
Centralize definitions associated with CONFIG_DEBUG_IRQ
2016-06-15 08:35:22 -06:00
Gregory Nutt
0f249016a0
Eliminate some warnings
2016-06-13 14:01:32 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
David Sidrane
44ead7f40a
Fix email address in file headers
2016-06-09 08:26:14 -06:00
Gregory Nutt
783bab6c82
Costmetic changes from review of last PR
2016-05-25 18:04:39 -06:00
ziggurat29
003c2c737a
get I2C working. some more work regarding clocking computation is needed, as is some inhertited 'todo's from the basis code. but it does work with the devices tested so far.
2016-05-25 18:43:37 -05:00
Gregory Nutt
2a87741e72
Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER
2016-05-25 10:45:01 -06:00
Gregory Nutt
249a2e48e5
Rename CONFIG_ARCH_HAVE_USARTn to CONFIG_USARTn_SERIALDRIVER
2016-05-25 10:39:23 -06:00
Gregory Nutt
7f7d4e664c
Completely trivial changes from review of last PR
2016-05-19 14:09:00 -06:00
Sebastien Lorquet
ef66f641e9
small fix left from stm32
2016-05-19 21:57:59 +02:00
Sebastien Lorquet
6642898ee4
Merge branch 'master' into can
2016-05-19 21:49:31 +02:00
Sebastien Lorquet
8aae953f67
CAN support for STM32L4
2016-05-19 19:13:04 +02:00
Gregory Nutt
72de45b7cf
Merged in david_s5/nuttx/upstream_to_greg (pull request #21 )
...
Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build
2016-05-17 18:09:23 -06:00
David Sidrane
f444f061d6
Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build
2016-05-17 14:04:51 -10:00
Gregory Nutt
5fc619eb1b
Changes from review of last PR
2016-05-17 17:39:27 -06:00
David Sidrane
bef5552eba
Support BSD compatible breaks on stm32fl4 U[S]ART
2016-05-17 13:09:34 -10:00
David Sidrane
55d8b0e277
Use the correct register and bit to send an STM32 non-bsd compatible break
2016-05-17 07:55:33 -10:00