staticvoidApp_TaskStart(void*p_arg){volatileuint32_tstatus; int8u bufp[7] = {0xc4,0x01,0x01,0x00,0x00,0x00,0x55};uint8_t*ptr;uint8_terr; (void) p_arg;//系统滴答安装OS_CPU_SysTickInit();//初始化信号量app_eventcreate();//初始化其他任务app_taskcreate();//初始化基础硬件BSP...
void deleteVBO(mappedBuffer_t* mbuf) { glBindBuffer(1, mbuf->vbo ); glDeleteBuffers(1, &(mbuf->vbo) ); cudaGraphicsUnregisterResource( mbuf->cudaResource ); mbuf->cudaResource = NULL; mbuf->vbo = NULL; } void cleanupCuda() {