call UCP_API_JESD_PlatformSetup() in drv_init()
This commit is contained in:
parent
f99b0bbef3
commit
4637a36bf9
@ -10,8 +10,8 @@
|
|||||||
#include "ucp_printf.h"
|
#include "ucp_printf.h"
|
||||||
|
|
||||||
#ifdef ENABLE_JESD_TEST
|
#ifdef ENABLE_JESD_TEST
|
||||||
|
extern void UCP_API_JESD_PlatformSetup (void);
|
||||||
extern int32_t UCP_API_RFIC_CellInit(void);
|
extern int32_t UCP_API_RFIC_CellInit(void);
|
||||||
extern int32_t UCP_API_RFIC_CellSetup(uint64_t txLo, uint64_t rxLo, uint64_t bw, uint16_t initAtt);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int32_t g_drv_mem_fd = -1;
|
int32_t g_drv_mem_fd = -1;
|
||||||
@ -61,8 +61,9 @@ int32_t drv_init(void)
|
|||||||
{
|
{
|
||||||
|
|
||||||
#ifdef ENABLE_JESD_TEST
|
#ifdef ENABLE_JESD_TEST
|
||||||
|
UCP_API_JESD_PlatformSetup();
|
||||||
UCP_API_RFIC_CellInit();
|
UCP_API_RFIC_CellInit();
|
||||||
UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 100000000u, 0);
|
//UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 100000000u, 0);
|
||||||
usleep(100000);
|
usleep(100000);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user