Commit Graph

11922 Commits

Author SHA1 Message Date
David Sidrane
0af47a93ae STMF7xxx RTC
Remove proxy #defines
 Ensure the LSE(ON) etal are set and remembered in
  a) A cold start (RTC_MAGIC invalid) of the RTC
  b) A warm start (RTC_MAGIC valid) of the RTC but a clock change.

The change was needed because in bench testing a merge of the latest's STM32  53ec3ca (and friends) it became apparent that the
Sequence of operation is wrong in the reset of the Backup Domain in the RCC code.  PWR is required before the Backup Domain
can be futzed with. !!!This Code should be tested on STM32 and if needed rippled to the STM32 families
2016-06-28 12:13:36 -10:00
David Sidrane
1c93e48a09 Removed STM32 porting vestiges 2016-06-28 07:13:22 -10:00
David Sidrane
e0b7708afb Fix warning 2016-06-28 07:10:11 -10:00
Gregory Nutt
c74269ced6 Significantly stylistic changes required after review of last PR 2016-06-28 09:37:21 -06:00
Gregory Nutt
725a16d033 Trivial fix to alignment 2016-06-28 09:10:32 -06:00
Gregory Nutt
0de3514af7 Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #77)
Upstream_nucleo 144
2016-06-28 09:07:03 -06:00
Michael Spahlinger
ed1f3aec61 Fixed build of SAMV71-XULT/nsh. With the changes from 26f7b8c the build process of the default configuration did not succeed anymore. This is fixed by this commit. 2016-06-28 08:23:41 -06:00
David Sidrane
a4040759b0 Adding PWR, RTC, BBSRAM for stm32f7 2016-06-27 16:42:01 -10:00
David Sidrane
89a79e8ac0 Double faulting on Idle task with 0 stack 2016-06-27 15:56:21 -10: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
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
Gregory Nutt
39e7d5431f update gitignore 2016-06-24 16:29:15 -06: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
8f0c2cdd13 SYSLOG: Change configuration selections to assure that one and only one SYSLOG device can be selected. Also add a check to assure that it is appropriate to use up_putc as the low-level syslog device. Adds CONFIG_SYSLOG_CONSOLE and CONFIG_SYSLOG_SERIAL_CONSOLE. 2016-06-21 09:59:09 -06:00
Gregory Nutt
5118264e6c Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG 2016-06-21 09:35:51 -06:00
Gregory Nutt
485aa6b231 SIM: Comment out skip scheduler debug output that can hang the simulation. 2016-06-21 08:59:01 -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
bf0499aca3 Eliminate another warning 2016-06-20 22:58:39 -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