Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.6.8 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328"
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In member function 'void InterruptProtectedBlock::protect()':
- HAL.h:164: error: 'NVIC_EncodePriority' was not declared in this scope
- __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
- ^
- HAL.h:164: error: '__set_BASEPRI' was not declared in this scope
- __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
- ^
- sketch\HAL.h: In member function 'void InterruptProtectedBlock::unprotect()':
- HAL.h:168: error: '__set_BASEPRI' was not declared in this scope
- __set_BASEPRI(0);
- ^
- sketch\HAL.h: In constructor 'InterruptProtectedBlock::InterruptProtectedBlock(bool)':
- HAL.h:173: error: 'NVIC_EncodePriority' was not declared in this scope
- __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
- ^
- HAL.h:173: error: '__set_BASEPRI' was not declared in this scope
- __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
- ^
- sketch\HAL.h: In destructor 'InterruptProtectedBlock::~InterruptProtectedBlock()':
- HAL.h:177: error: '__set_BASEPRI' was not declared in this scope
- __set_BASEPRI(0);
- ^
- sketch\HAL.h: In static member function 'static void HAL::hwSetup()':
- HAL.h:297: error: 'TimeTick_Configure' was not declared in this scope
- TimeTick_Configure(F_CPU_TRUE);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:99: error: 'ID_TC4' was not declared in this scope
- #define DELAY_TIMER_IRQ ID_TC4 // IRQ not really used, needed for pmc id
- ^
- sketch\HAL.h:300:31: note: in expansion of macro 'DELAY_TIMER_IRQ'
- pmc_enable_periph_clk(DELAY_TIMER_IRQ);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:300: error: 'pmc_enable_periph_clk' was not declared in this scope
- pmc_enable_periph_clk(DELAY_TIMER_IRQ);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:97: error: 'TC1' was not declared in this scope
- #define DELAY_TIMER TC1
- ^
- sketch\HAL.h:301:22: note: in expansion of macro 'DELAY_TIMER'
- TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:301: error: 'TC_CMR_WAVSEL_UP' was not declared in this scope
- TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
- ^
- HAL.h:302: error: 'TC_CMR_WAVE' was not declared in this scope
- TC_CMR_WAVE | DELAY_TIMER_CLOCK);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:100: error: 'TC_CMR_TCCLKS_TIMER_CLOCK2' was not declared in this scope
- #define DELAY_TIMER_CLOCK TC_CMR_TCCLKS_TIMER_CLOCK2
- ^
- sketch\HAL.h:302:36: note: in expansion of macro 'DELAY_TIMER_CLOCK'
- TC_CMR_WAVE | DELAY_TIMER_CLOCK);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:302: error: 'TC_Configure' was not declared in this scope
- TC_CMR_WAVE | DELAY_TIMER_CLOCK);
- ^
- HAL.h:303: error: 'TC_Start' was not declared in this scope
- TC_Start(DELAY_TIMER, DELAY_TIMER_CHANNEL);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::digitalWrite(uint8_t, uint8_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:351:9: note: in expansion of macro 'WRITE'
- WRITE(pin, value);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:351:9: note: in expansion of macro 'WRITE'
- WRITE(pin, value);
- ^
- sketch\HAL.h: In static member function 'static uint8_t HAL::digitalRead(uint8_t)':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:355:16: note: in expansion of macro 'READ'
- return READ(pin);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:355:16: note: in expansion of macro 'READ'
- return READ(pin);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:355:16: note: in expansion of macro 'READ'
- return READ(pin);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::pinMode(uint8_t, uint8_t)':
- HAL.h:149: error: 'g_APinDescription' was not declared in this scope
- #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
- ^
- sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
- if (mode == INPUT) {SET_INPUT(pin);}
- ^
- HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
- #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
- ^
- sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
- if (mode == INPUT) {SET_INPUT(pin);}
- ^
- HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
- PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
- ^
- sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
- if (mode == INPUT) {SET_INPUT(pin);}
- ^
- HAL.h:150: error: 'PIO_Configure' was not declared in this scope
- PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
- ^
- sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
- if (mode == INPUT) {SET_INPUT(pin);}
- ^
- HAL.h:151: error: 'g_APinDescription' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
- else SET_OUTPUT(pin);
- ^
- HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
- else SET_OUTPUT(pin);
- ^
- HAL.h:152: error: 'PIO_Configure' was not declared in this scope
- g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
- ^
- sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
- else SET_OUTPUT(pin);
- ^
- sketch\HAL.h: In static member function 'static void HAL::tone(uint8_t, int)':
- HAL.h:151: error: 'g_APinDescription' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(pin);
- ^
- HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(pin);
- ^
- HAL.h:152: error: 'PIO_Configure' was not declared in this scope
- g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
- ^
- sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(pin);
- ^
- HAL.h:396: error: 'pmc_set_writeprotect' was not declared in this scope
- pmc_set_writeprotect(false);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:95: error: 'ID_TC3' was not declared in this scope
- #define BEEPER_TIMER_IRQ ID_TC3
- ^
- sketch\HAL.h:397:41: note: in expansion of macro 'BEEPER_TIMER_IRQ'
- pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:397: error: 'pmc_enable_periph_clk' was not declared in this scope
- pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
- ^
- HAL.h:399: error: 'IRQn_Type' was not declared in this scope
- NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
- ^
- HAL.h:399: error: 'NVIC_EncodePriority' was not declared in this scope
- NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
- ^
- HAL.h:399: error: 'NVIC_SetPriority' was not declared in this scope
- NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:93: error: 'TC1' was not declared in this scope
- #define BEEPER_TIMER TC1
- ^
- sketch\HAL.h:400:22: note: in expansion of macro 'BEEPER_TIMER'
- TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:400: error: 'TC_CMR_WAVE' was not declared in this scope
- TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
- ^
- HAL.h:400: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope
- TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
- ^
- HAL.h:401: error: 'TC_CMR_TCCLKS_TIMER_CLOCK4' was not declared in this scope
- TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
- ^
- HAL.h:401: error: 'TC_Configure' was not declared in this scope
- TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
- ^
- HAL.h:402: error: 'VARIANT_MCK' was not declared in this scope
- uint32_t rc = VARIANT_MCK / 128 / frequency;
- ^
- HAL.h:403: error: 'TC_SetRA' was not declared in this scope
- TC_SetRA(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc/2); // 50% duty cycle
- ^
- HAL.h:404: error: 'TC_SetRC' was not declared in this scope
- TC_SetRC(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc);
- ^
- HAL.h:405: error: 'TC_Start' was not declared in this scope
- TC_Start(BEEPER_TIMER, BEEPER_TIMER_CHANNEL);
- ^
- HAL.h:406: error: 'TC_IER_CPCS' was not declared in this scope
- BEEPER_TIMER->TC_CHANNEL[BEEPER_TIMER_CHANNEL].TC_IER=TC_IER_CPCS;
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:95: error: expected ')' before 'ID_TC3'
- #define BEEPER_TIMER_IRQ ID_TC3
- ^
- sketch\HAL.h:408:35: note: in expansion of macro 'BEEPER_TIMER_IRQ'
- NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:408: error: 'NVIC_EnableIRQ' was not declared in this scope
- NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
- ^
- sketch\HAL.h: In static member function 'static void HAL::noTone(uint8_t)':
- HAL.h:411: error: 'TC1' was not declared in this scope
- TC_Stop(TC1, 0);
- ^
- HAL.h:411: error: 'TC_Stop' was not declared in this scope
- TC_Stop(TC1, 0);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:412:9: note: in expansion of macro 'WRITE'
- WRITE(pin, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:412:9: note: in expansion of macro 'WRITE'
- WRITE(pin, LOW);
- ^
- In file included from sketch\pins.h:295:0,
- from sketch\Configuration.h:156,
- from sketch\Repetier.h:178,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::serialSetBaudrate(long int)':
- userpins.h:119: error: 'SerialUSB' was not declared in this scope
- #define RFSERIAL SerialUSB // Native USB Port of the due
- ^
- sketch\HAL.h:562:9: note: in expansion of macro 'RFSERIAL'
- RFSERIAL.begin(baud);
- ^
- sketch\HAL.h: In static member function 'static bool HAL::serialByteAvailable()':
- userpins.h:119: error: 'SerialUSB' was not declared in this scope
- #define RFSERIAL SerialUSB // Native USB Port of the due
- ^
- sketch\HAL.h:570:16: note: in expansion of macro 'RFSERIAL'
- return RFSERIAL.available();
- ^
- sketch\HAL.h: In static member function 'static uint8_t HAL::serialReadByte()':
- userpins.h:119: error: 'SerialUSB' was not declared in this scope
- #define RFSERIAL SerialUSB // Native USB Port of the due
- ^
- sketch\HAL.h:578:16: note: in expansion of macro 'RFSERIAL'
- return RFSERIAL.read();
- ^
- sketch\HAL.h: In static member function 'static void HAL::serialWriteByte(char)':
- userpins.h:119: error: 'SerialUSB' was not declared in this scope
- #define RFSERIAL SerialUSB // Native USB Port of the due
- ^
- sketch\HAL.h:593:9: note: in expansion of macro 'RFSERIAL'
- RFSERIAL.write(b);
- ^
- sketch\HAL.h: In static member function 'static void HAL::serialFlush()':
- userpins.h:119: error: 'SerialUSB' was not declared in this scope
- #define RFSERIAL SerialUSB // Native USB Port of the due
- ^
- sketch\HAL.h:601:9: note: in expansion of macro 'RFSERIAL'
- RFSERIAL.flush();
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static uint8_t HAL::spiTransfer(uint8_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:617:17: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:617:17: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:619:17: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:619:17: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:623:13: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:623:13: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, HIGH);
- ^
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:626:16: note: in expansion of macro 'READ'
- if(READ(MISO_PIN)) {
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:626:16: note: in expansion of macro 'READ'
- if(READ(MISO_PIN)) {
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\HAL.h:626:16: note: in expansion of macro 'READ'
- if(READ(MISO_PIN)) {
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:629:13: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:629:13: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, LOW);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::spiBegin()':
- HAL.h:151: error: 'g_APinDescription' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(SDSS);
- ^
- HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
- #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
- ^
- sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(SDSS);
- ^
- HAL.h:152: error: 'PIO_Configure' was not declared in this scope
- g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
- ^
- sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
- SET_OUTPUT(SDSS);
- ^
- HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
- #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
- ^
- sketch\HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
- SET_INPUT(MISO_PIN);
- ^
- HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
- PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
- ^
- sketch\HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
- SET_INPUT(MISO_PIN);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:645:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:645:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:646:8: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:646:8: note: in expansion of macro 'WRITE'
- WRITE(MOSI_PIN, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:647:8: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:647:8: note: in expansion of macro 'WRITE'
- WRITE(SCK_PIN, LOW);
- ^
- sketch\HAL.h: In static member function 'static uint8_t HAL::spiReceive()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:651:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:651:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:653:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:653:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- sketch\HAL.h: In static member function 'static void HAL::spiReadBlock(uint8_t*, uint16_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:659:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:659:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:664:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:664:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- sketch\HAL.h: In static member function 'static void HAL::spiSend(uint8_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:668:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:668:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:670:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:670:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- sketch\HAL.h: In static member function 'static void HAL::spiSend(const uint8_t*, size_t)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:677:9: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:677:9: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:681:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:681:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- sketch\HAL.h: In static member function 'static void HAL::spiSendBlock(uint8_t, const uint8_t*)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:689:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:689:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:696:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\HAL.h:696:8: note: in expansion of macro 'WRITE'
- WRITE(SDSS, HIGH);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\HAL.h: In static member function 'static void HAL::startWatchdog()':
- HAL.h:744: error: 'WDT_MR_WDRSTEN' was not declared in this scope
- timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
- ^
- HAL.h:744: error: 'WDT_MR_WDV' was not declared in this scope
- timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
- ^
- HAL.h:744: error: 'WDT_MR_WDD' was not declared in this scope
- timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
- ^
- HAL.h:745: error: 'WDT' was not declared in this scope
- WDT_Enable (WDT, timeout);
- ^
- HAL.h:745: error: 'WDT_Enable' was not declared in this scope
- WDT_Enable (WDT, timeout);
- ^
- sketch\HAL.h: In static member function 'static void HAL::stopWatchdog()':
- HAL.h:748: error: 'WDT' was not declared in this scope
- inline static void stopWatchdog() {WDT_Disable (WDT);}
- ^
- HAL.h:748: error: 'WDT_Disable' was not declared in this scope
- inline static void stopWatchdog() {WDT_Disable (WDT);}
- ^
- sketch\HAL.h: In static member function 'static void HAL::pingWatchdog()':
- HAL.h:753: error: 'WDT' was not declared in this scope
- WDT_Restart (WDT);
- ^
- HAL.h:753: error: 'WDT_Restart' was not declared in this scope
- WDT_Restart (WDT);
- ^
- In file included from sketch\Repetier.h:370:0,
- from sketch\Commands.cpp:22:
- sketch\Printer.h: In static member function 'static void Printer::disableXStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:374:9: note: in expansion of macro 'WRITE'
- WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:374:9: note: in expansion of macro 'WRITE'
- WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::disableYStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:385:9: note: in expansion of macro 'WRITE'
- WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:385:9: note: in expansion of macro 'WRITE'
- WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::disableZStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:395:9: note: in expansion of macro 'WRITE'
- WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:395:9: note: in expansion of macro 'WRITE'
- WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::enableXStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:406:9: note: in expansion of macro 'WRITE'
- WRITE(X_ENABLE_PIN, X_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:406:9: note: in expansion of macro 'WRITE'
- WRITE(X_ENABLE_PIN, X_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::enableYStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:417:9: note: in expansion of macro 'WRITE'
- WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:417:9: note: in expansion of macro 'WRITE'
- WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::enableZStepper()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:427:9: note: in expansion of macro 'WRITE'
- WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:427:9: note: in expansion of macro 'WRITE'
- WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
- ^
- sketch\Printer.h: In static member function 'static void Printer::setXDirection(bool)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:438:13: note: in expansion of macro 'WRITE'
- WRITE(X_DIR_PIN,!INVERT_X_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:438:13: note: in expansion of macro 'WRITE'
- WRITE(X_DIR_PIN,!INVERT_X_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:445:13: note: in expansion of macro 'WRITE'
- WRITE(X_DIR_PIN,INVERT_X_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:445:13: note: in expansion of macro 'WRITE'
- WRITE(X_DIR_PIN,INVERT_X_DIR);
- ^
- sketch\Printer.h: In static member function 'static void Printer::setYDirection(bool)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:456:13: note: in expansion of macro 'WRITE'
- WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:456:13: note: in expansion of macro 'WRITE'
- WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:463:13: note: in expansion of macro 'WRITE'
- WRITE(Y_DIR_PIN, INVERT_Y_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:463:13: note: in expansion of macro 'WRITE'
- WRITE(Y_DIR_PIN, INVERT_Y_DIR);
- ^
- sketch\Printer.h: In static member function 'static void Printer::setZDirection(bool)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:473:13: note: in expansion of macro 'WRITE'
- WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:473:13: note: in expansion of macro 'WRITE'
- WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:480:13: note: in expansion of macro 'WRITE'
- WRITE(Z_DIR_PIN, INVERT_Z_DIR);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:480:13: note: in expansion of macro 'WRITE'
- WRITE(Z_DIR_PIN, INVERT_Z_DIR);
- ^
- sketch\Printer.h: In static member function 'static bool Printer::getZDirection()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:489:18: note: in expansion of macro 'READ'
- return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:489:18: note: in expansion of macro 'READ'
- return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:489:18: note: in expansion of macro 'READ'
- return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
- ^
- sketch\Printer.h: In static member function 'static bool Printer::getYDirection()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:494:17: note: in expansion of macro 'READ'
- return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:494:17: note: in expansion of macro 'READ'
- return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:494:17: note: in expansion of macro 'READ'
- return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
- ^
- sketch\Printer.h: In static member function 'static bool Printer::getXDirection()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:499:17: note: in expansion of macro 'READ'
- return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:499:17: note: in expansion of macro 'READ'
- return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:499:17: note: in expansion of macro 'READ'
- return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
- ^
- sketch\Printer.h: In static member function 'static bool Printer::isXMinEndstopHit()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:696:16: note: in expansion of macro 'READ'
- return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:696:16: note: in expansion of macro 'READ'
- return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:696:16: note: in expansion of macro 'READ'
- return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
- ^
- sketch\Printer.h: In static member function 'static bool Printer::isYMinEndstopHit()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:704:16: note: in expansion of macro 'READ'
- return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:704:16: note: in expansion of macro 'READ'
- return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:704:16: note: in expansion of macro 'READ'
- return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
- ^
- sketch\Printer.h: In static member function 'static bool Printer::isZMinEndstopHit()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:712:16: note: in expansion of macro 'READ'
- return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:712:16: note: in expansion of macro 'READ'
- return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:712:16: note: in expansion of macro 'READ'
- return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
- ^
- sketch\Printer.h: In static member function 'static bool Printer::isZProbeHit()':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:792:35: note: in expansion of macro 'READ'
- return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:792:35: note: in expansion of macro 'READ'
- return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Printer.h:792:35: note: in expansion of macro 'READ'
- return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
- ^
- sketch\Printer.h: In static member function 'static void Printer::endXYZSteps()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:875:9: note: in expansion of macro 'WRITE'
- WRITE(X_STEP_PIN,LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:875:9: note: in expansion of macro 'WRITE'
- WRITE(X_STEP_PIN,LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:876:9: note: in expansion of macro 'WRITE'
- WRITE(Y_STEP_PIN,LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:876:9: note: in expansion of macro 'WRITE'
- WRITE(Y_STEP_PIN,LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:877:9: note: in expansion of macro 'WRITE'
- WRITE(Z_STEP_PIN,LOW);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Printer.h:877:9: note: in expansion of macro 'WRITE'
- WRITE(Z_STEP_PIN,LOW);
- ^
- sketch\motion.h: In member function 'void PrintLine::startXStep()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:510:9: note: in expansion of macro 'WRITE'
- WRITE(X_STEP_PIN,HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:510:9: note: in expansion of macro 'WRITE'
- WRITE(X_STEP_PIN,HIGH);
- ^
- sketch\motion.h: In member function 'void PrintLine::startYStep()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:548:9: note: in expansion of macro 'WRITE'
- WRITE(Y_STEP_PIN,HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:548:9: note: in expansion of macro 'WRITE'
- WRITE(Y_STEP_PIN,HIGH);
- ^
- sketch\motion.h: In member function 'void PrintLine::startZStep()':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:585:9: note: in expansion of macro 'WRITE'
- WRITE(Z_STEP_PIN,HIGH);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\motion.h:585:9: note: in expansion of macro 'WRITE'
- WRITE(Z_STEP_PIN,HIGH);
- ^
- sketch\Commands.cpp: In static member function 'static void Commands::checkForPeriodicalActions(bool)':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
- if(!READ(TOP_SENSOR_PIN))
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
- if(!READ(TOP_SENSOR_PIN))
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
- if(!READ(TOP_SENSOR_PIN))
- ^
- sketch\Commands.cpp: In static member function 'static void Commands::processMCode(GCode*)':
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
- WRITE(CASE_LIGHTS_PIN,1);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
- WRITE(CASE_LIGHTS_PIN,1);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
- WRITE(CASE_LIGHTS_PIN,0);
- ^
- HAL.h:147: error: 'g_APinDescription' was not declared in this scope
- #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
- ^
- sketch\Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
- WRITE(CASE_LIGHTS_PIN,0);
- ^
- sketch\Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
- if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
- if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
- if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
- ^
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
- if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
- if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
- if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
- ^
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
- if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
- if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
- if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- HAL.h:145: error: 'g_APinDescription' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
- if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
- if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- HAL.h:145: error: 'PIO_Get' was not declared in this scope
- #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
- ^
- sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
- if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
- ^
- exit status 1
- 'NVIC_EncodePriority' was not declared in this scope
- This report would have more information with
- "Show verbose output during compilation"
- option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement