Skip to content

Commit

Permalink
Add missing config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen committed Apr 13, 2024
1 parent d53d873 commit 813a22c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions software/boards/hydrausb3/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifndef _CONFIG_H_
#define _CONFIG_H_

/* UARTs settings */
#define UART1_BAUD 115200
#define UART3_BAUD 115200

/* HSPI Data width : 8 bits */
#define HSPI_DATA_WIDTH 0

#define HSPI_RX_DMA_LENGTH 4096

extern __attribute__((aligned(16))) volatile uint8_t HSPI_RX_Addr0[HSPI_RX_DMA_LENGTH] __attribute__((section(".DMADATA")));
extern __attribute__((aligned(16))) volatile uint8_t HSPI_RX_Addr1[HSPI_RX_DMA_LENGTH] __attribute__((section(".DMADATA")));

#endif

0 comments on commit 813a22c

Please sign in to comment.