Gregory Nutt
8b07aa6f7c
arch: Disable priority inheritance on all semaphores used for signaling in all SPI drivers
2016-11-03 14:51:44 -06:00
Gregory Nutt
e1cd9febbf
arch: Disable priority inheritance on all semaphores used for signaling in all I2C/TWI drivers
2016-11-03 14:23:42 -06:00
Frank Benkert
cf5fdf1f8f
SAM Watchdog: Register the watchdog device at the configured device path CONFIG_WATCHDOG_DEVPATH vs. hard-coded /dev/wdt
2016-10-21 07:09:20 -06:00
Gregory Nutt
1c20376e39
SAM GPIO: Apply Wolfgang's change for SAM3/4 to SAMA5 and SAMV7
2016-09-20 15:33:31 -06:00
Wolfgang Reißnegger
3f22b63321
SAM3/4: Fix GPIO pull-up/down code.
...
Enabling the pull-down resistor while the pull-up resistor is still enabled
is not possible. In this case, the write of PIO_PPDER for the relevant I/O
line is discarded. Likewise, enabling the pull-up resistor while the
pull-down resistor is still enabled is not possible. In this case, the
write of PIO_PUER for the relevant I/O line is discarded.
2016-09-20 13:32:04 -07:00
Gregory Nutt
4dc3521743
All SAM Ethernet Drivers: Add support so that the drivers can be built with CONFIG_NET_MULTIBUFFER=y
2016-09-20 08:56:36 -06:00
Gregory Nutt
046acf6b54
Add a simulated oneshot lowerhalf driver
2016-08-12 13:14:03 -06:00
Gregory Nutt
b4e8876b09
Correct some spacing
2016-08-12 12:41:49 -06:00
Gregory Nutt
82b86cdcf3
oneshot interface: max_delay method should return time in a standard struct timespec form.
2016-08-12 11:33:10 -06:00
Gregory Nutt
61b0ac06bf
Missed a dependency in last set of commits
2016-08-11 17:20:12 -06:00
Gregory Nutt
a5a776e223
SAM4CM: Add option to support oneshot timer without free-running timer. Add oneshot lower half driver.
2016-08-11 17:04:19 -06:00
Gregory Nutt
0e35bad987
Update some comments
2016-08-11 10:12:04 -06:00
Gregory Nutt
7823a1680e
Update a comment
2016-08-09 17:08:03 -06:00
Gregory Nutt
698d6d1294
SAM3/4: Extend clocking logic to enable clocking on ports D-F
2016-08-09 17:05:11 -06:00
Wolfgang Reissnegger
cf35bb0b18
SAM3/4 GPIO: Enable peripheral clock for GPIO port when GPIO is configured as input.
...
The value of a GPIO input is only sampled when the peripheral clock for
the port controller the GPIO resides in is enabled. Therefore we need
to enable the clock even when polling a GPIO.
2016-08-09 13:23:05 -07:00
Gregory Nutt
e895e19b9f
Minor changes from review of last PR
2016-07-24 07:45:46 -06:00
Wolfgang Reissnegger
c0fa319f2b
SAM3/4 UDP: Fix handling of endpoint RX FIFO banks.
...
This fixes a race condition where the HW fills a FIFO bank while the SW is
busy, resulting in out of sequence USB packets.
2016-07-23 20:11:04 -07:00
Wolfgang Reissnegger
cc191a977d
SAM3/4 UDP: Remove redundant EP state assignment.
2016-07-23 20:11:03 -07:00
Wolfgang Reissnegger
f3a6a40f62
SAM3/4 Serial: Fix warning when CONFIG_SUPPRESS_UART_CONFIG is set.
2016-07-23 16:23:49 -07:00
Gregory Nutt
96d5b734a8
Add missing TWI definitions
2016-07-21 08:01:59 -06:00
Gregory Nutt
18059d6821
Restore Wolfgang Reissnegger's PR as submitted. My mistake is it late here.
2016-07-14 18:39:51 -06:00
Wolfgang Reissnegger
f982180ec7
SAM3/4 Timer: Remove broken definitions for BMR register.
...
Per documentation SAM4S and SAM4E have the BMR register values
as they are already defined. No need for chip specific values.
In addition:
- CONFIG_ARCH_CHIP_SAM4s has wrong lower case 's' so the definitions would
not be used anyways for SAM4S builds.
- TC_BMR_TC2XC2S_TIOA2 does not make sense. There is no way to loop back
TC2's TIOA2 into itself.
2016-07-14 18:17:05 -06:00
Wolfgang Reissnegger
d89e062c06
SAM3/4 I2C: Fix reversed logic in twi_startmessage().
2016-07-09 06:51:07 -06:00
Wolfgang Reissnegger
f4adb82fe7
[sam34][dacc] Bugfix: DACC_WPMR_WPKEY_MASK -> DACC_WPMR_WPKEY
2016-06-23 17:12:24 -07:00
Gregory Nutt
aed4d0e198
Missed a few *llinfo() to *info() conversions
2016-06-20 16:24:09 -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
832efae5d8
Fix some debug output statements that were changed and lost their ll-ness
2016-06-18 09:41:55 -06:00
Gregory Nutt
3fa41c0f18
Kconfig files: Fix some dependencies that have CONFIG_ in the variable name
2016-06-17 19:30:19 -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
f35086dbf7
Change *err() to either info() or err(ERROR:..), depending upon if an error has occurred.
2016-06-16 16:30:45 -06:00
Gregory Nutt
801d661423
Change *err() to either info() or err(ERROR:..), depending upon if an error has occurred.
2016-06-16 15:10:57 -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
b7f0fbc073
Centralize definitions associated with CONFIG_DEBUG_RTC
2016-06-16 07:39:23 -06:00
Gregory Nutt
37b9742189
Centralize definitions associated with CONFIG_DEBUG_TIMER
2016-06-16 07:16:25 -06:00
Gregory Nutt
6b517ed017
Centralize definitions associated with CONFIG_DEBUG_WATCHDOG
2016-06-16 06:28:04 -06:00
Gregory Nutt
5c89b18af8
Centralize definitions associated with CONFIG_DEBUG_I2C
2016-06-15 16:30:12 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
a97d3ae707
Centralize definitions associated with CONFIG_DEBUG_GPIO
2016-06-15 09:20:23 -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
eac916c907
Fix some warnings
2016-06-13 11:48:20 -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
Gregory Nutt
275f8988f8
Fix a cloned error in debug macro definitions
2016-06-10 10:13:30 -06:00
Gregory Nutt
ae1281d244
SAM4E AFEC: Fix some columnar alignement
2016-06-10 10:00:36 -06:00