axelelettronica / sme-rn2483-library

9 stars 3 forks source link

Examples do not compile #1

Open jcwren opened 7 years ago

jcwren commented 7 years ago

Using Arduino 1.6.13, installed library SmartEverything Lion RN2483 v1.0.0, selected board SmartEverything Lion (via Atmel-ICE), loaded sketch getChipInformation and tried to compile, and I get the following results (this is true for the other examples also).

Arduino: 1.6.13 (Windows 7), Board: "SmartEverything Lion (via Atmel-ICE)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\jcw\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\jcw\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jcw\Documents\Arduino\libraries -fqbn=Arrow:samd:SmartEverything_Lion_atmel_ice -ide-version=10613 -build-path C:\Users\jcw\AppData\Local\Temp\arduino_build_754680 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.bossac.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.openocd.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino -verbose C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\jcw\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\jcw\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jcw\Documents\Arduino\libraries -fqbn=Arrow:samd:SmartEverything_Lion_atmel_ice -ide-version=10613 -build-path C:\Users\jcw\AppData\Local\Temp\arduino_build_754680 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.bossac.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0 -prefs=runtime.tools.openocd.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino -verbose C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino
Using board 'SmartEverything_Lion_atmel_ice' from platform in folder: C:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0
Using core 'arduino' from platform in folder: C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8
Detecting libraries used...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"' "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion" "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp" -o "nul"
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"' "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion" "-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src" "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp" -o "nul"
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"' "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion" "-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src" "C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src\lora\rn2483.cpp" -o "nul"
Generating function prototypes...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"' "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion" "-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src" "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp" -o "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"' "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino" "-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion" "-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src" "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp" -o "C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp.o"
C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino: In function 'void setup()':

getChipInformation:8: error: 'class RN2483' has no member named 'init'

     lora.init();

          ^

Using library SmartEverything_Lion_RN2483 at version 1.0.0 in folder: C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483 
exit status 1
'class RN2483' has no member named 'init'
searobin commented 7 years ago

Please substitute lora.init() With lora.begin() and please le me know

Thanks.

Severino

⁣--

Severino Peirano Via Colzani 48 -I-20831 Seregno MB seve@ioteam.it +39 340 6745795​

Il giorno 2 dic 2016, 18:18, alle ore 18:18, JCWren notifications@github.com ha scritto:

Using Arduino 1.6.13, installed library SmartEverything Lion RN2483 v1.0.0, selected board SmartEverything Lion (via Atmel-ICE), loaded sketch getChipInformation and tried to compile, and I get the following results (this is true for the other examples also).

Arduino: 1.6.13 (Windows 7), Board: "SmartEverything Lion (via
Atmel-ICE)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs
-logger=machine -hardware C:\Program Files (x86)\Arduino\hardware
-hardware C:\Users\jcw\AppData\Local\Arduino15\packages -tools
C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files
(x86)\Arduino\hardware\tools\avr -tools
C:\Users\jcw\AppData\Local\Arduino15\packages -built-in-libraries
C:\Program Files (x86)\Arduino\libraries -libraries
C:\Users\jcw\Documents\Arduino\libraries
-fqbn=Arrow:samd:SmartEverything_Lion_atmel_ice -ide-version=10613
-build-path C:\Users\jcw\AppData\Local\Temp\arduino_build_754680
-warnings=none -prefs=build.warn_data_percentage=75
-prefs=runtime.tools.CMSIS.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel
-prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1
-prefs=runtime.tools.bossac.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0
-prefs=runtime.tools.openocd.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino
-verbose
C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine
-hardware C:\Program Files (x86)\Arduino\hardware -hardware
C:\Users\jcw\AppData\Local\Arduino15\packages -tools C:\Program Files
(x86)\Arduino\tools-builder -tools C:\Program Files
(x86)\Arduino\hardware\tools\avr -tools
C:\Users\jcw\AppData\Local\Arduino15\packages -built-in-libraries
C:\Program Files (x86)\Arduino\libraries -libraries
C:\Users\jcw\Documents\Arduino\libraries
-fqbn=Arrow:samd:SmartEverything_Lion_atmel_ice -ide-version=10613
-build-path C:\Users\jcw\AppData\Local\Temp\arduino_build_754680
-warnings=none -prefs=build.warn_data_percentage=75
-prefs=runtime.tools.CMSIS.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel
-prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1
-prefs=runtime.tools.bossac.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0
-prefs=runtime.tools.openocd.path=C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino
-verbose
C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino
Using board 'SmartEverything_Lion_atmel_ice' from platform in folder:
C:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0
Using core 'arduino' from platform in folder:
C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8
Detecting libraries used...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++"
-mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11
-ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib
--param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x
c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613
-DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD 
-D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON
'-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"'
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion"
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp"
-o "nul"
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++"
-mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11
-ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib
--param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x
c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613
-DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD 
-D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON
'-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"'
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion"
"-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src"
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp"
-o "nul"
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++"
-mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11
-ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib
--param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x
c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613
-DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD 
-D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON
'-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"'
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion"
"-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src"
"C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src\lora\rn2483.cpp"
-o "nul"
Generating function prototypes...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++"
-mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11
-ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib
--param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x
c++ -E -CC -DF_CPU=48000000L -DARDUINO=10613
-DARDUINO_SAMD_SMARTEVERYTHING_LION -DARDUINO_ARCH_SAMD 
-D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a -DUSBCON
'-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything Lion"'
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion"
"-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src"
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp"
-o
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files
(x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u
--language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns
--line-directives
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++"
-mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11
-ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib
--param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD
-DF_CPU=48000000L -DARDUINO=10613 -DARDUINO_SAMD_SMARTEVERYTHING_LION
-DARDUINO_ARCH_SAMD  -D__SAMD21J18A__ -DUSB_VID=0x2341 -DUSB_PID=0xe00a
-DUSBCON '-DUSB_MANUFACTURER="Arrows"' '-DUSB_PRODUCT="SmartEverything
Lion"'
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.8\cores\arduino"
"-IC:\Users\jcw\AppData\Local\Arduino15\packages\Arrow\hardware\samd\2.0.0\variants\Lion"
"-IC:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\src"
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp"
-o
"C:\Users\jcw\AppData\Local\Temp\arduino_build_754680\sketch\getChipInformation.ino.cpp.o"
C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483\examples\getChipInformation\getChipInformation.ino:
In function 'void setup()':

getChipInformation:8: error: 'class RN2483' has no member named 'init'

    lora.init();

         ^

Using library SmartEverything_Lion_RN2483 at version 1.0.0 in folder:
C:\Users\jcw\Documents\Arduino\libraries\SmartEverything_Lion_RN2483 
exit status 1
'class RN2483' has no member named 'init'

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/axelelettronica/sme-rn2483-library/issues/1

ram1505 commented 7 years ago

doesn't work with lora.begin() or with lora.init()

searobin commented 7 years ago

Please take the latest library's version. It should work now.

ram1505 commented 7 years ago

It's the same error.

Documents\Arduino\libraries\sme-rn2483-library-master\src/rn2483.h:127:50: error: 'iotAntenna' was not declared in this scope

 void begin(long speed = 57600, Uart *serial=&iotAntenna);

                                              ^

C:\Users\Sriram\AppData\Local\Temp\arduino_modified_sketch_601345\getChipInformation.ino: In function 'void setup()':

getChipInformation:26: error: call to 'void RN2483::begin(long int, Uart*)' uses the default argument for parameter 2, which is not yet defined

 lora.begin();

            ^

exit status 1 call to 'void RN2483::begin(long int, Uart*)' uses the default argument for parameter 2, which is not yet defined

searobin commented 7 years ago

Hi. It seems you are using the wrong board library.

Please uninstall the Smarteverything from Ameltech and install the LATEST Smarteverything from ARROW through the board manager.

Please keep me. Updated.

ram1505 commented 7 years ago

You mean this one? http://www.arduinolibraries.info/libraries/smart-everything-lion-rn2483

searobin commented 7 years ago

Not only. This is just for the Lora library.

You also need to use the latest smarteverything board library. From board manager you can select two of them. YOU NEED TO INSTALL JUST THE ARROW.you do not have to install the amel-tech one. Please let me know if it solves the issue.

Severino

⁣--

Severino Peirano Via Colzani 48 -I-20831 Seregno MB seve@ioteam.it +39 340 6745795​

Il giorno 14 mar 2017, 08:36, alle ore 08:36, ram1505 notifications@github.com ha scritto:

You mean this one? http://www.arduinolibraries.info/libraries/smart-everything-lion-rn2483

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/axelelettronica/sme-rn2483-library/issues/1#issuecomment-286343952

merlinhladik commented 7 years ago

same issue here, could you please send links to the Libraries i have to install?

searobin commented 7 years ago

Same as mentioned before: From Arduino IDE board manager Please uninstall the Smarteverything from Ameltech and install the LATEST Smarteverything from ARROW through the board manager.

MabeleL commented 7 years ago

searobin please provide links to the library you are referring to

smkkHw commented 7 years ago

Referring to the image, what Searobin saying is to install the highlighted correct smartEverythin gcore. from the Arduino ide Goes to Tools->boards->Boards Manager... Select "partner" from the "type" combo and choose the one from Arrow board image