CC node/lmic/aes.o
CC node/lmic/lmic.o
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.c: In function 'decodeFrame':
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.c:1126:17: warning: unused variable 'window' [-Wunused-variable]
const char *window = (LMIC.txrxFlags & TXRX_DNW1) ? "RX1" : ((LMIC.txrxFlags & TXRX_DNW2) ? "RX2" : "Other");
^
CC node/lmic/lmic_hal.o
CC node/lmic/lora_lmic.o
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:117:2: error: 'DR_SF12' undeclared here (not in a function)
DR_SF12, DR_SF11, DR_SF10, DR_SF9, DR_SF8, DR_SF7, DR_SF7B, DR_FSK
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:117:11: error: 'DR_SF11' undeclared here (not in a function)
DR_SF12, DR_SF11, DR_SF10, DR_SF9, DR_SF8, DR_SF7, DR_SF7B, DR_FSK
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:117:53: error: 'DR_SF7B' undeclared here (not in a function)
DR_SF12, DR_SF11, DR_SF10, DR_SF9, DR_SF8, DR_SF7, DR_SF7B, DR_FSK
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:117:62: error: 'DR_FSK' undeclared here (not in a function)
DR_SF12, DR_SF11, DR_SF10, DR_SF9, DR_SF8, DR_SF7, DR_SF7B, DR_FSK
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c: In function 'lora_init':
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:70: error: 'BAND_CENTI' undeclared (first use in this function)
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:70: note: each undeclared identifier is reported only once for each function it appears in
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:218:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:77: error: invalid operands to binary - (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:72: error: invalid operands to binary >> (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:219:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:220:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:220:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:220:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:220:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:221:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:221:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:221:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:221:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:222:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:222:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:222:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:222:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:223:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:223:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:223:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:223:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:224:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:224:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:224:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:224:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:225:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'int')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:225:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:225:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:225:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:47: error: invalid operands to binary << (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:77: error: invalid operands to binary - (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:72: error: invalid operands to binary >> (have 'int' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:57: error: invalid operands to binary & (have 'const u1_t * {aka const unsigned char *}' and 'const u1_t * {aka const unsigned char *}')
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:70: error: 'BAND_MILLI' undeclared (first use in this function)
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:270:33: warning: passing argument 3 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
#define DR_RANGE_MAP(drlo,drhi) (((u2_t)0xFFFF<<(drlo)) & ((u2_t)0xFFFF>>(15-(drhi))))
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:38: note: in expansion of macro 'DR_RANGE_MAP'
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 'u2_t {aka short unsigned int}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:226:70: warning: passing argument 4 of 'LMIC_setupChannel' makes integer from pointer without a cast [-Wint-conversion]
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI);
^
In file included from /Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:56:0:
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lmic.h:275:7: note: expected 's1_t {aka signed char}' but argument is of type 'const u1_t * {aka const unsigned char *}'
bit_t LMIC_setupChannel (u1_t channel, u4_t freq, u2_t drmap, s1_t band);
^
/Users/jcw/esp/Lua-RTOS-ESP32/components/lora/./node/lmic/lora_lmic.c:240:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
current_dr = DR_SF12;
^
make[1]: *** [node/lmic/lora_lmic.o] Error 1
make: *** [lora-build] Error 2
mbpro:Lua-RTOS-ESP32 $