split into multibe .proto files
added strict compiler errors
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "FreeRTOS.h"
|
||||
#include "CLSAddress.h"
|
||||
#include "firmware.pb.h"
|
||||
#include "cls_device.pb.h"
|
||||
#include "usb.pb.h"
|
||||
|
||||
// Define thread flags
|
||||
#define FLAG_FDCAN_RX_FIFO0 (1<<0)
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include "fatfs.h"
|
||||
#include "usbd_cdc_if.h"
|
||||
#include "firmware.pb.h"
|
||||
#include "cls_device.pb.h"
|
||||
#include "usb.pb.h"
|
||||
#include "cmsis_os2.h"
|
||||
#include <pb_encode.h>
|
||||
#include "UsbDataHandler.h"
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "firmware.pb.h"
|
||||
#include "usb_device.h"
|
||||
#include <pb_decode.h>
|
||||
#include "cls_device.pb.h"
|
||||
#include "usb.pb.h"
|
||||
|
||||
/* Declare the thread function */
|
||||
#define NUM_BUFFERS 4 // Define the number of buffers you want to use
|
||||
|
||||
@@ -115,7 +115,7 @@ void DataClbk_ResponseDeviceList(void* msg, uint32_t length);
|
||||
void DataClbk_RequestDeviceList(void* msg, uint32_t length);
|
||||
|
||||
|
||||
#include "firmware.pb.h"
|
||||
#include "usb.pb.h"
|
||||
void USBDataResonse(void * msg, const pb_msgdesc_t *fields, UsbPackageType typeid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user