initial commit
This commit is contained in:
commit
9f225a2c9d
113 changed files with 116214 additions and 0 deletions
27
application/config.h
Normal file
27
application/config.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* config.h
|
||||
*
|
||||
* Created on: Sep 24, 2019
|
||||
* Author: abody
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H_
|
||||
#define CONFIG_H_
|
||||
|
||||
#define USARTCOUNT 4
|
||||
#define CRCTASKCOUNT (USARTCOUNT * 2)
|
||||
#define USART1_OFFSET 0
|
||||
#define USART2_OFFSET 1
|
||||
#define USART3_OFFSET 2
|
||||
#define USART6_OFFSET 3
|
||||
|
||||
#define CONSOLE_DMA_ENGINE DMA1
|
||||
#define CONSOLE_TX_DMA_STREAM LL_DMA_STREAM_4
|
||||
|
||||
#define CRC_DMA_ENGINE DMA2
|
||||
#define CRC_DMA_STREAM LL_DMA_STREAM_4
|
||||
|
||||
#define MEMCPY_DMA_ENGINE DMA2
|
||||
#define MEMCPY_DMA_STREAM LL_DMA_STREAM_3
|
||||
|
||||
#endif /* CONFIG_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue