C
Qt Quick Ultralite 汽车集群演示
# Use custom startup file target_sources(automotive PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/canbusdevice.cpp ${CMAKE_CURRENT_SOURCE_DIR}/candriverhelper.cpp ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/devices/rh850g3m-d1m1a/map/map_rscfd_irq.c ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/devices/rh850g3m-d1m1a/map/map_rscfd_irqbundling.c ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/macros/ports/standardports/standardports_p.c ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/macros/rscanfd/rscanfd_uciaprcn/rscfd_p.c ${CMAKE_CURRENT_SOURCE_DIR}/lowinit/lowinit_can.c ${CMAKE_CURRENT_SOURCE_DIR}/lowinit/lowinit.c ${CMAKE_CURRENT_SOURCE_DIR}/rawcanmessageadapter.cpp ) target_include_directories(automotive PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/device_files/inc_ghs ${CMAKE_CURRENT_SOURCE_DIR}/device_files/inc_plain ${CMAKE_CURRENT_SOURCE_DIR}/device_files/startup ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/common ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/devices/rh850g3m-d1m1a/map ${CMAKE_CURRENT_SOURCE_DIR}/drivers/rs-canfd_ism/macros ${CMAKE_CURRENT_SOURCE_DIR}/lowinit/ ${QUL_BOARD_SDK_DIR}/vlib/device/d1mx/src/rh850_ghs ) target_compile_definitions(automotive PRIVATE CANBUS_USE_RX_FIFOS)