36 #include <px4_platform_common/px4_config.h> 51 #define UAVCAN_MAX_PATH_LENGTH (128 + 40) 52 #define UAVCAN_FIRMWARE_PATH "/fs/microsd/fw" 53 #define UAVCAN_ROMFS_FW_PATH "/etc/uavcan/fw" 54 #define UAVCAN_ROMFS_FW_PREFIX "_" 57 #define UAVCAN_NODE_DB_PATH "/fs/microsd/uavcan.db" 58 #define UAVCAN_LOG_FILE UAVCAN_NODE_DB_PATH"/trace.log" 62 #define UAVCAN_DEVICE_PATH "/dev/uavcan/esc" 63 #define UAVCAN_ESC_DEVICE_PATH "/dev/uavcan/esc" 66 #define _UAVCAN_IOC(_n) (_IOC(_UAVCAN_IOCBASE, _n)) 67 #define _UAVCAN_IOCBASE (0x4000) // IOCTL base for module UAVCAN 74 #define UAVCAN_IOCG_NODEID_INPROGRESS _UAVCAN_IOC(1) 79 #define UAVCAN_IOCS_HARDPOINT_SET _UAVCAN_IOC(10)
__EXPORT int uavcan_main(int argc, char *argv[])