Skip to content

Commit

Permalink
drivers: smartdma: fix RT500 header issue
Browse files Browse the repository at this point in the history
 - There's issue in previous MCXNx4x release tag, the smartdma_param_t
   should be defined for RT500. Now there's build failure reporting no
   definition for the smartdma_param_t.
 - Added the smartdma_param_t definition in RT500 header.

Signed-off-by: Susan Su <susan.su@nxp.com>
  • Loading branch information
mcuxsusan committed Feb 28, 2024
1 parent 5f1f015 commit acc105f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions drivers/smartdma/fsl_smartdma_rt500.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,25 @@ typedef struct _smartdma_rgb565_rgb888_param
uint32_t *smartdma_stack;
} smartdma_rgb565_rgb888_param_t;

/*!
* @brief Parameter for all supported APIs.
*/
typedef union
{
/*! Parameter for flexio MCULCD. */
smartdma_flexio_mculcd_param_t flexioMcuLcdParam;
/*! Parameter for flexio MCULCD with one shift buffer. */
smartdma_flexio_onelane_mculcd_param_t flexioOneLineMcuLcdParam;
/*! Parameter for MIPI DSI functions. */
smartdma_dsi_param_t dsiParam;
/*! Parameter for MIPI DSI 2D functions. */
smartdma_dsi_2d_param_t dsi2DParam;
/*! Parameter for MIPI DSI checker board functions. */
smartdma_dsi_checkerboard_param_t dsiCheckerBoardParam;
/*! Parameter for RGB565_RGB888 convertion. */
smartdma_rgb565_rgb888_param_t rgb565_rgb888Param;
} smartdma_param_t;

typedef struct
{
uint8_t RESERVED_0[32];
Expand Down

0 comments on commit acc105f

Please sign in to comment.