Alan Carvalho de Assis
81d6cefd65
Add support to STM32F433RC
2017-08-28 07:05:32 -06:00
raiden00pl
5695a55569
stm32_dac.c: support external triggering for DMA transfer
2017-08-27 18:25:55 +02:00
Mateusz Szafoni
ea35f31f73
Merged in raiden00/nuttx (pull request #469 )
...
Master
* stm32f0/Kconfig: remove references to HRTIM
* STM32F33: missing SYSCFG CFGR3 definitions
* stm32_hrtim.h: remove redundant definitions
* stm32_hrtim.c: fix DAC triggers configuration
* stm32_hritm.c: warning message when default value selected
* stm32_hrtim.c: missing master timer logic
* stm32_hrtim.c: add more assertions
* stm32_dac.c: fix conditional
* stm32_dac.c: conditional logic for timer triggering
* stm32_dac.c: fix TSEL configuration when HRTIM
* stm32_dac.c: unnecessary condition
* stm32_dac.c: DMA request remapping
* stm32_dac.c: fix commpilation errors
* stm32_dac.c: add DMA buffers initialization logic
* stm32_hrtim.c: enable DAC triggering
* analog/comp.c: fix compilation errors when poll disabled
* stm32_hrtim.c: remove doubled assertions
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-27 12:49:53 +00:00
Gregory Nutt
7858ed834b
Minor, cosmetic changes from review of last comment.
2017-08-27 06:48:42 -06:00
Masayuki Ishikawa
cc9c8260f0
arch/arm/src/lc823450: Add eMMC/SD and USB support
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-08-27 19:11:07 +09:00
Masayuki Ishikawa
56bf5b2a98
arch/arm/src/lc823450: Conform to the NuttX coding style
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-08-27 19:11:03 +09:00
Juha Niskanen
1be5f0a3fc
STM32L4 COMP: comparators share RCC enable bit with SYSCFG
2017-08-25 07:06:39 -06:00
Juha Niskanen
1152e4868b
STM32L4 DAC: report transfer as completed in DMA callback. Without this even O_NONBLOCK writes block the calling task if DAC was using DMA.
2017-08-25 07:05:11 -06:00
Juha Niskanen
874947d7e5
STM32L4 TIM: TIM15,16,17 are always in APB2
2017-08-25 07:02:21 -06:00
Gregory Nutt
dc8f3778a9
drivers/sensors: Fix more naming of configurations to be compliant for two more drivers. Still a few more to go.
2017-08-24 10:26:53 -06:00
Jussi Kivilinna
310a29227a
drivers/lcd: add DD-12864WO-4A/SSD1309 support to SSD1306 driver
2017-08-22 08:32:52 -06:00
Juha Niskanen
d7ae3d74c3
STM32L4 ADC: correct EXTSEL macros
2017-08-22 06:49:48 -06:00
Pekka Ervasti
6b1ccef2f9
STM32L4 COMP: bind to upper half comp driver
2017-08-22 06:47:57 -06:00
raiden00pl
a5997cb186
stm32_dac: add support for HRTIM triggering
2017-08-21 19:46:18 +02:00
raiden00pl
a5f3a5848d
stm32_dac.c typo
2017-08-21 18:59:21 +02:00
raiden00pl
db7a94288f
stm32f33xxx_dma.h: typos
2017-08-21 18:50:07 +02:00
raiden00pl
b460f2bca1
stm32f10xxx_dma.h: fix DAC names and remove STM32F33 section
2017-08-21 18:50:07 +02:00
raiden00pl
104ff2b5d8
stm32_dac: separate dma buffer configuration for channels
2017-08-21 18:50:07 +02:00
Juha Niskanen
37867ae3b9
chip.h edited online with Bitbucket: correct some STM32_NDAC
2017-08-21 07:30:58 +00:00
Mateusz Szafoni
ccd421b158
stm32_dac.c edited online with Bitbucket
2017-08-20 18:47:44 +00:00
raiden00pl
04743f3e77
stm32_dac: change name convention. Previous naming was confusing
2017-08-20 20:19:53 +02:00
raiden00pl
0bed6ac8b4
STM32F33: correct STM32_NDAC
2017-08-20 20:07:50 +02:00
raiden00pl
a8e8862ef9
stm32_dac.c: fix some configuration logic. When STM32_NDAC is greather than 1, then second channel is always DAC1OUT2.
2017-08-20 19:02:56 +02:00
raiden00pl
1479fd6075
stm32_comp: add default INM configuration and some missing COMP1,3,5,7 code
2017-08-20 10:45:55 +02:00
raiden00pl
30ebd32ab4
stm32f33xxx_pinmap.h: missing define
2017-08-20 10:45:55 +02:00
raiden00pl
241c42447f
stm32f33xxx_comp.h: typos
2017-08-20 10:45:55 +02:00
raiden00pl
01c98df18c
STM32F33: remove redundant DAC file
2017-08-20 10:45:55 +02:00
David Sidrane
b594d43d24
Merged in david_s5/nuttx/upstream_dma_dcache_fix (pull request #462 )
...
STM32F7:SDMMC, DMA dcache check in stm32_dmacapable and SDMMC stm32_dma{recv|send}setup
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-17 20:14:24 +00:00
David Sidrane
ef42c25140
stm32f7:SDMMC add dcache alignment check in dma{recv|send}setup
...
In the where CONFIG_SDIO_PREFLIGHT is not used and
dcache write-buffed mode is used (not write-through)
buffer alignment is required for DMA transfers because
a) arch_invalidate_dcache could lose buffered writes data
and b) arch_flush_dcache could corrupt adjacent memory if
the buffer and the bufflen, are not on ARMV7M_DCACHE_LINESIZE
boundaries.
2017-08-17 09:51:37 -10:00
David Sidrane
1e7ddfea8e
stm32f7:SDMMC remove widebus limitation on DMA
...
There is no documantation for the STM32F7 that limits DMA on
1 bit vrs 4 bit mode.
2017-08-17 09:48:46 -10:00
David Sidrane
dffab2f4dd
stm32f7:DMA add dcache alignment check in stm32_dmacapable
...
In the case dcache write-buffed mode is used (not write-through)
buffer alignment is required for DMA transfers because
a) arch_invalidate_dcache could lose buffered writes data
and b) arch_flush_dcache could corrupt adjacent memory if
the maddr and the mend+1, the next next address are not on
ARMV7M_DCACHE_LINESIZE boundaries.
2017-08-17 09:39:14 -10:00
David Sidrane
38cbf1f660
stm32f7:DMA correct comments and document stm32_dmacapable
...
Updated comment to proper refernce manual for STM32F7 not
STM32F4.
Added stm32_dmacapable input paramaters documentation.
2017-08-17 09:35:50 -10:00
Gregory Nutt
06a12bea6c
STM32L476VG Discovery: Add a knsh configuration that may be used to test the PROTECTED build mode.
2017-08-17 09:15:12 -06:00
Gregory Nutt
06473e89de
Update MRF24J40 starhub configuration for the SAME70 Xplained.
2017-08-16 09:39:25 -06:00
David Sidrane
5ef33f3e58
Merged in david_s5/nuttx/upstream_missing_semi (pull request #459 )
...
stm32f7:rtc Missing semicolon
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-16 02:49:24 +00:00
David Sidrane
ab578bb338
stm32f7:rtc Missing semicolon
2017-08-15 16:17:55 -10:00
Gregory Nutt
dcb8df76d0
Fix argument to SPI initializatio function
2017-08-15 19:07:35 -06:00
Juha Niskanen
f383308a02
STM32L4 ADC: add ADC register definitions
2017-08-14 06:47:12 -06:00
Juha Niskanen
2fbd7d7b59
STM32L4 DAC: port from STM32. Note that this does not address the somewhat confusing relation between STM32L4_NDACS and DAC2 config macros that comes from original STM32 code.
2017-08-14 06:38:13 -06:00
Juha Niskanen
9ac80e45f5
STM32L4 COMP: input minus pin extended selection
2017-08-14 06:29:13 -06:00
Juha Niskanen
a9343ca12b
stm32/stm32f0: Fix some funny shifts in DAC header files.
2017-08-14 06:28:09 -06:00
Gregory Nutt
e224d354b8
STM32F7: Remove unsupported configuration item the crept in when header file was cloned.
2017-08-13 12:37:59 -06:00
Gregory Nutt
f6f4856cc6
Eliminate some warnings found in build testing.
2017-08-13 12:24:48 -06:00
Gregory Nutt
873de7b480
configs/*/README.txt: Update to the new URL for obtaining the ARM toolchain.
2017-08-13 07:18:19 -06:00
Gregory Nutt
2ab8852b29
STM32F7: Some STM32F7 builds failed in build testing due to undefined STM32_SRAM1_BASE. I think that is because stm32_allocateheap.c was not including chip/stm32_memorymap.h
2017-08-13 06:50:48 -06:00
Gregory Nutt
03c26df04a
STM32F7 builds broken. This is a work around to at least keep them building.
2017-08-13 06:44:04 -06:00
Gregory Nutt
4fa6106b57
Fix some compile problems found in build testing.
2017-08-12 14:28:27 -06:00
Gregory Nutt
1f989af845
Update TODO list; SAMv7 XDMAC: Remove and unused global array.
2017-08-12 12:26:13 -06:00
Gregory Nutt
4b6f0149ec
Eliminate a warning found in build testing.
2017-08-12 11:14:11 -06:00
Gregory Nutt
6bae133e74
Fix two warnings found in build testing.
2017-08-12 11:09:48 -06:00