Commit Graph

9338 Commits

Author SHA1 Message Date
Gregory Nutt
d4408264ec STM32 CAN fixes need to be backported to STM32L4 as well 2016-06-27 15:18:45 -06:00
Gregory Nutt
8e26d4c8e0 STM32 CAN: More fixes for compilation errors due to blind leverage of STM32L4 CAN filter IOCTLs to STM32 2016-06-27 15:16:13 -06:00
David Sidrane
6c7ea4695a Syslog changes incoperated 2016-06-27 09:59:13 -10:00
David Sidrane
02b23358e5 Update Authors 2016-06-27 09:54:28 -10:00
Gregory Nutt
738510a52c Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #75)
Upstream_nucleo 144
2016-06-27 12:30:53 -06:00
David Sidrane
047ea89c30 Fixed config for D1 only 2016-06-27 08:27:44 -10:00
Gregory Nutt
1b5bef5325 STM32 CAN: Fix an error when filter methods were ported from STM32L4 2016-06-27 11:15:37 -06:00
Gregory Nutt
82bb42aa93 Trivial changes from review of last PR 2016-06-27 07:43:32 -06:00
Lok Tep
1e67714c3f usb copy 2016-06-27 11:23:42 +02:00
Gregory Nutt
8643b59527 Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #72)
Upstream_nucleo 144
2016-06-24 18:38:17 -06:00
David Sidrane
526e889c8e BUGFIX:PLLs IS2 and SAI P Calculation 2016-06-24 13:23:35 -10:00
David Sidrane
3e2a620f8c Fixed Undefined STM32_IRQ_NIRQS 2016-06-24 13:23:35 -10:00
David Sidrane
a31c35bd7b Fixed Missing number in stm32f76xx77xx PINMAP 2016-06-24 13:23:35 -10:00
David Sidrane
adf0e8d357 Clean up F7 SDMMC 2016-06-24 13:23:35 -10:00
Michael Spahlinger
26f7b8c9e5 TWIHS Driver improved and GPIO-Driver fixed for Open-Drain Pins
- sam_gpioread: Now the actual line level from the pin is read back.  This is extremely important for Open-Drain Pins, which can be used bidirectionally
 - Re-Implemented twi_reset-function and enhanced it so it can be called from inside the driver (see next point)
 - Glitch-Filter: Added a configuration option to enable the twi-built-in glitch filter
 - Added a "Single Master Mode": In EMC Testing the TWI-Bus got stuck because the TWI-Master detected a Multi-Master access (but there is no second master). With the option "Single Master" we detect these events and automatically trigger a twi_reset. We also do an automatic recovery if a slave got stuck (SDA stays low).

With the above changes I²C-Bus reliability in harsh environments (eg. EMC) is greatly improved.

The small change in the GPIO-Driver was necessary because otherwise you cannot read back the correct line status of Open-Drain Outputs and this is needed by the twi_reset function.
2016-06-24 10:33:51 -06:00
Alexander Vasiljev
315e22e4df Correct auto-negotiation mode in the LPC43xx ethernet. 2016-06-24 10:09:36 -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
6de8dba383 Preliminary rename of stm32 can driver functions 2016-06-24 11:29:31 +02:00
David Sidrane
0bf68df3c7 Missing memset def 2016-06-23 14:43:25 -10:00
Wolfgang Reissnegger
f4adb82fe7 [sam34][dacc] Bugfix: DACC_WPMR_WPKEY_MASK -> DACC_WPMR_WPKEY 2016-06-23 17:12:24 -07: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
Lok Tep
e75a549423 one more file 2016-06-22 11:21:46 +02:00
Lok Tep
e83f3cf18e merge 2016-06-22 11:17:33 +02:00
Lok Tep
e45231ea13 merge 2016-06-22 11:15:51 +02:00
Lok Tep
863e830c0d merge 2016-06-22 11:05:52 +02:00
Gregory Nutt
5118264e6c Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG 2016-06-21 09:35:51 -06:00
Gregory Nutt
62d8f839c7 SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup 2016-06-21 07:52:24 -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
7f16548f57 Replaces last three commits. Does the same thing, but does it in a way that does not change the usage model. 2016-06-21 05:26:08 -06:00
Gregory Nutt
c05da80a27 Eliminate a warning 2016-06-20 22:54:58 -06:00
Gregory Nutt
aed4d0e198 Missed a few *llinfo() to *info() conversions 2016-06-20 16:24:09 -06:00
Gregory Nutt
505ca542e8 Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly 2016-06-20 16:11:50 -06:00
Gregory Nutt
2a751068e6 Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -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
d40a473f72 Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn(). 2016-06-20 09:37:08 -06:00
Gregory Nutt
2b445ddccc Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces. 2016-06-20 08:57:08 -06:00
Gregory Nutt
8021354e01 ullinfo (vs ulinf) 2016-06-19 18:14:27 -06:00
Gregory Nutt
5b2aa7bf99 Remove all traces of CONFIG_SYSLOG 2016-06-19 13:59:43 -06:00
Gregory Nutt
9434d3e945 There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel() 2016-06-19 13:03:20 -06:00
Gregory Nutt
9f260ca193 Some renaming so that future features will fit in better; If the architecture provides its only system logging (via CONFIG_ARCH_SYSLOG), then syslog_initialize() is stubbed out 2016-06-19 11:16:12 -06:00
Gregory Nutt
0f18f3bd15 Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally 2016-06-19 09:39:21 -06:00
Gregory Nutt
de58cb6027 Some higher level SYSLOG features are disabled if the architecture-specific logic provides its own SYSLOG functionality 2016-06-19 09:21:52 -06:00
Gregory Nutt
3d305ac75b Additional cosmetic changes from review of last PR 2016-06-18 13:02:33 -06:00
Gregory Nutt
77d01ab1da Cosmetic changes from review of last PR 2016-06-18 13:00:17 -06:00
Gregory Nutt
d563a205ea Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #64)
Upstream_nucleo 144
2016-06-18 12:37:23 -06:00
David Sidrane
971dc71183 STM32F7 ADC working 2016-06-18 08:07:13 -10:00