mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-15 20:50:49 +00:00
Add mchan version guards
This commit is contained in:
parent
68f9132d12
commit
a7e4be0eff
3 changed files with 5 additions and 1 deletions
|
|
@ -37,7 +37,9 @@
|
|||
#include "archi/chips/pulp/memory_map.h"
|
||||
#include "archi/chips/pulp/apb_soc.h"
|
||||
#include "archi/stdout/stdout_v3.h"
|
||||
#if MCHAN_VERSION == 7
|
||||
#include "archi/dma/mchan_v7.h"
|
||||
#endif
|
||||
|
||||
#include "archi/udma/cpi/udma_cpi_v1.h"
|
||||
#include "archi/udma/i2c/udma_i2c_v2.h"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,9 @@
|
|||
#endif // __ibex__
|
||||
#include "hal/eu/eu_v3.h"
|
||||
#include "hal/itc/itc_v1.h"
|
||||
#if MCHAN_VERSION == 7
|
||||
#include "hal/dma/mchan_v7.h"
|
||||
#endif
|
||||
#include "hal/timer/timer_v2.h"
|
||||
#include "hal/soc_eu/soc_eu_v2.h"
|
||||
#include "hal/cluster_ctrl/cluster_ctrl_v2.h"
|
||||
|
|
|
|||
|
|
@ -646,4 +646,4 @@ static inline unsigned int plp_cl_dma_status() {
|
|||
|
||||
/// @endcond
|
||||
|
||||
#endif
|
||||
#endif // __HAL_MCHAN_V7_H__
|
||||
|
|
|
|||
Loading…
Reference in a new issue