Hello I am a new one here.
I am trying to register on TTN but I get an error message.
I am very unfamiliar with Arduino.
I get this message who has advice. I start with:
void setup() { }
#include “Arduino.h”
etc.
ERROR MESSAGGES
#define debugSerial SERIAL_PORT_MONITOR
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: “SODAQ ONE”
In file included from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\machine_default_types.h:8:0,
from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\stdint.h:12,
from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\lib\gcc\arm-none-eabi\4.8.3\include\stdint.h:9,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\SODAQ\hardware\samd\1.6.20\cores\arduino/Arduino.h:26,
from C:\Users\Gebruiker\Documents\Arduino\sketch_aug21b\sketch_aug21b.ino:11:
c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\sys\features.h: In function ‘void setup()’:
c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\sys\features.h:25:8: error: expected unqualified-id before string constant
extern “C” {
^
In file included from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\stdint.h:12:0,
from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\lib\gcc\arm-none-eabi\4.8.3\include\stdint.h:9,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\SODAQ\hardware\samd\1.6.20\cores\arduino/Arduino.h:26,
from C:\Users\Gebruiker\Documents\Arduino\sketch_aug21b\sketch_aug21b.ino:11:
c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\machine_default_types.h:23:8: error: expected unqualified-id before string constant
extern “C” {
^
In file included from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\lib\gcc\arm-none-eabi\4.8.3\include\stdint.h:9:0,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\SODAQ\hardware\samd\1.6.20\cores\arduino/Arduino.h:26,
from C:\Users\Gebruiker\Documents\Arduino\sketch_aug21b\sketch_aug21b.ino:11:
c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\stdint.h:15:8: error: expected unqualified-id before string constant
extern “C” {
^
In file included from c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\stdlib.h:18:0,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\SODAQ\hardware\samd\1.6.20\cores\arduino/Arduino.h:27,
from C:\Users\Gebruiker\Documents\Arduino\sketch_aug21b\sketch_aug21b.ino:11:
c:\users\gebruiker\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\sys\reent.h:9:8: error: expected unqualified-id before string constant
extern “C” {
^
In file included from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/core_cmInstr.h:61:0,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/core_cm0plus.h:163,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:237,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/samd.h:105,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.1.0/CMSIS/Device/ATMEL/sam.h:470,
from C:\Users\Gebruiker\Documents\ArduinoData\packages\SODAQ\hardware\samd\1.6.20\cores\arduino/Arduino.h:50,
from C:\Users\Gebruiker\Documents\Arduino\sketch_aug21b\sketch_aug21b.ino:11:
C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/cmsis_gcc.h:40:28: error: expected ‘}’ before end of line
#pragma GCC diagnostic push
^
C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/cmsis_gcc.h: At global scope:
C:\Users\Gebruiker\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/cmsis_gcc.h:40:28: error: expected declaration before end of line
exit status 1
Error compiling for board SODAQ ONE.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.