mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Removed STM32 porting vestiges
This commit is contained in:
@@ -756,7 +756,7 @@ int stm32_bbsraminitialize(char *devpath, int *sizes)
|
||||
memset(g_bbsram, 0, sizeof(g_bbsram));
|
||||
|
||||
/* Clocking for the PWR block must be provided. However, this is done
|
||||
* unconditionally in stm32f40xxx_rcc.c on power up. This done
|
||||
* unconditionally in stm32f7xxxx_rcc.c on power up. This done
|
||||
* unconditionally because the PWR block is also needed to set the
|
||||
* internal voltage regulator for maximum performance.
|
||||
*/
|
||||
|
||||
@@ -521,9 +521,9 @@ void weak_function up_dmainitialize(void)
|
||||
* version. Feel free to do that if that is what you need.
|
||||
*
|
||||
* Input parameter:
|
||||
* dmamap - Identifies the stream/channel resource. For the STM32 F4, this
|
||||
* dmamap - Identifies the stream/channel resource. For the STM32 F7, this
|
||||
* is a bit-encoded value as provided by the DMAMAP_* definitions
|
||||
* in chip/stm32f40xxx_dma.h
|
||||
* in chip/stm32f7xxxxxxx_dma.h
|
||||
*
|
||||
* Returned Value:
|
||||
* Provided that 'dmamap' is valid, this function ALWAYS returns a non-NULL,
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
* Public Types
|
||||
************************************************************************************/
|
||||
|
||||
/* DMA_HANDLE provides an opaque are reference that can be used to represent a DMA
|
||||
* channel (F1) or a DMA stream (F4).
|
||||
/* DMA_HANDLE Provides an opaque are reference that can be used to represent a DMA
|
||||
* a DMA stream.
|
||||
*/
|
||||
|
||||
typedef FAR void *DMA_HANDLE;
|
||||
@@ -137,10 +137,8 @@ extern "C"
|
||||
*
|
||||
* Input parameter:
|
||||
* chan - Identifies the stream/channel resource
|
||||
* For the STM32 F1, this is simply the channel number as provided by
|
||||
* the DMACHAN_* definitions in chip/stm32f10xxx_dma.h.
|
||||
* For the STM32 F4, this is a bit encoded value as provided by the
|
||||
* the DMAMAP_* definitions in chip/stm32f40xxx_dma.h
|
||||
* For the STM32 F7, this is a bit encoded value as provided by the
|
||||
* the DMAMAP_* definitions in chip/stm32f7xxxxxxx_dma.h
|
||||
*
|
||||
* Returned Value:
|
||||
* Provided that 'chan' is valid, this function ALWAYS returns a non-NULL,
|
||||
|
||||
Reference in New Issue
Block a user