Guest User

Untitled

a guest
Feb 24th, 2020
144
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `In file included from C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:1:0:
  2.  
  3. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:9:16: error: "uint8_t" does not name a type
  4.  
  5.          static uint8_t Read(uint16_t channel);              // returns the dmx value for the givven address (values from 1 to 512)
  6.  
  7.                 ^
  8.  
  9. In file included from C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:1:0:
  10.  
  11. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:11:16: error: "uint8_t" does not name a type
  12.  
  13.          static uint8_t IsHealthy();                            // returns true, when a valid DMX signal was received within the last 500ms
  14.  
  15.                 ^
  16.  
  17. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:16:16: error: "QueueHandle_t" does not name a type
  18.  
  19.          static QueueHandle_t dmx_rx_queue;                  // queue for uart rx events
  20.  
  21.                 ^
  22.  
  23. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:18:16: error: "SemaphoreHandle_t" does not name a type
  24.  
  25.          static SemaphoreHandle_t sync_dmx;                  // semaphore for syncronising access to dmx array
  26.  
  27.                 ^
  28.  
  29. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:20:16: error: "uint8_t" does not name a type
  30.  
  31.          static uint8_t dmx_state;                           // status, in which recevied state we are
  32.  
  33.                 ^
  34.  
  35. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:22:16: error: "uint16_t" does not name a type
  36.  
  37.          static uint16_t current_rx_addr;                    // last received dmx channel
  38.  
  39.                 ^
  40.  
  41. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src/dmx.h:26:16: error: "uint8_t" does not name a type
  42.  
  43.          static uint8_t dmx_data[513];                       // stores the received dmx data
  44.  
  45.                 ^
  46.  
  47. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:19:20: error: "void* DMX::dmx_rx_queue" is not a static data member of "class DMX"
  48.  
  49.  QueueHandle_t DMX::dmx_rx_queue;
  50.  
  51.                     ^
  52.  
  53. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:21:24: error: "void* DMX::sync_dmx" is not a static data member of "class DMX"
  54.  
  55.  SemaphoreHandle_t DMX::sync_dmx;
  56.  
  57.                         ^
  58.  
  59. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:23:14: error: "uint8_t DMX::dmx_state" is not a static data member of "class DMX"
  60.  
  61.  uint8_t DMX::dmx_state = DMX_IDLE;
  62.  
  63.               ^
  64.  
  65. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:25:15: error: "uint16_t DMX::current_rx_addr" is not a static data member of "class DMX"
  66.  
  67.  uint16_t DMX::current_rx_addr = 0;
  68.  
  69.                ^
  70.  
  71. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:29:26: error: "uint8_t DMX::dmx_data [513]" is not a static data member of "class DMX"
  72.  
  73.  uint8_t DMX::dmx_data[513];
  74.  
  75.                           ^
  76.  
  77. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp: In static member function "static void DMX::Initialize()":
  78.  
  79. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:54:72: error: "dmx_rx_queue" was not declared in this scope
  80.  
  81.      uart_driver_install(DMX_UART_NUM, BUF_SIZE * 2, BUF_SIZE * 2, 20, &dmx_rx_queue, 0);
  82.  
  83.                                                                         ^
  84.  
  85. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:60:5: error: "sync_dmx" was not declared in this scope
  86.  
  87.      sync_dmx = xSemaphoreCreateMutex();
  88.  
  89.      ^
  90.  
  91. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp: At global scope:
  92.  
  93. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:63:35: error: no "uint8_t DMX::Read(uint16_t)" member function declared in class "DMX"
  94.  
  95.  uint8_t DMX::Read(uint16_t channel)
  96.  
  97.                                    ^
  98.  
  99. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:81:24: error: no "uint8_t DMX::IsHealthy()" member function declared in class "DMX"
  100.  
  101.  uint8_t DMX::IsHealthy()
  102.  
  103.                         ^
  104.  
  105. In file included from C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:4:0:
  106.  
  107. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp: In static member function "static void DMX::uart_event_task(void*)":
  108.  
  109. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:102:26: error: "dmx_rx_queue" was not declared in this scope
  110.  
  111.          if(xQueueReceive(dmx_rx_queue, (void * )&event, (portTickType)portMAX_DELAY))
  112.  
  113.                           ^
  114.  
  115. C:\Users\markus\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/queue.h:817:81: note: in definition of macro "xQueueReceive"
  116.  
  117.  #define xQueueReceive( xQueue, pvBuffer, xTicksToWait ) xQueueGenericReceive( ( xQueue ), ( pvBuffer ), ( xTicksToWait ), pdFALSE )
  118.  
  119.                                                                                  ^
  120.  
  121. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:104:33: error: "bzero" was not declared in this scope
  122.  
  123.              bzero(dtmp, BUF_SIZE);
  124.  
  125.                                  ^
  126.  
  127. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:111:24: error: "dmx_state" was not declared in this scope
  128.  
  129.                      if(dmx_state == DMX_BREAK)
  130.  
  131.                         ^
  132.  
  133. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:118:25: error: "current_rx_addr" was not declared in this scope
  134.  
  135.                          current_rx_addr = 0;
  136.  
  137.                          ^
  138.  
  139. In file included from C:\Users\markus\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/driver/driver/uart.h:29:0,
  140.  
  141.                  from C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:5:
  142.  
  143. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:119:40: error: "sync_dmx" was not declared in this scope
  144.  
  145.                          xSemaphoreTake(sync_dmx, portMAX_DELAY);
  146.  
  147.                                         ^
  148.  
  149. C:\Users\markus\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/semphr.h:313:93: note: in definition of macro "xSemaphoreTake"
  150.  
  151.  #define xSemaphoreTake( xSemaphore, xBlockTime )  xQueueGenericReceive( ( QueueHandle_t ) ( xSemaphore ), NULL, ( xBlockTime ), pdFALSE )
  152.  
  153.                                                                                              ^
  154.  
  155. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:126:24: error: "dmx_state" was not declared in this scope
  156.  
  157.                      if(dmx_state == DMX_DATA)
  158.  
  159.                         ^
  160.  
  161. In file included from C:\Users\markus\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/driver/driver/uart.h:29:0,
  162.  
  163.                  from C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:5:
  164.  
  165. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:128:40: error: "sync_dmx" was not declared in this scope
  166.  
  167.                          xSemaphoreTake(sync_dmx, portMAX_DELAY);
  168.  
  169.                                         ^
  170.  
  171. C:\Users\markus\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/semphr.h:313:93: note: in definition of macro "xSemaphoreTake"
  172.  
  173.  #define xSemaphoreTake( xSemaphore, xBlockTime )  xQueueGenericReceive( ( QueueHandle_t ) ( xSemaphore ), NULL, ( xBlockTime ), pdFALSE )
  174.  
  175.                                                                                              ^
  176.  
  177. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:132:32: error: "current_rx_addr" was not declared in this scope
  178.  
  179.                              if(current_rx_addr < 513)
  180.  
  181.                                 ^
  182.  
  183. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:134:33: error: "dmx_data" was not declared in this scope
  184.  
  185.                                  dmx_data[current_rx_addr++] = dtmp[i];
  186.  
  187.                                  ^
  188.  
  189. C:\Users\markus\Documents\Arduino\libraries\ESP32DMXRX\src\dmx.cpp:145:21: error: "dmx_state" was not declared in this scope
  190.  
  191.                      dmx_state = DMX_BREAK;
  192.  
  193.                      ^
  194.  
  195. exit status 1
  196. Error compiling for board ESP32 Dev Module.
  197. `
RAW Paste Data