Hello, I haven't used Arduino IDE for a while. The OS was updated in the meantime so I just did the same with the IDE but I am still getting an error when I try to upload an old sketch to my Feather board (which used to work fine a few months ago). The board manager seems up to date. Reading the error message I am guessing it is something to do with the libraries but.. that's as far as I could get...
Thanks !
Arduino: 1.8.13 (Mac OS X), Board: "Adafruit Bluefruit Feather nRF52832, 0.2.12 SoftDevice s132 6.1.1, Level 0 (Release)"
In file included from /Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLE.h:42:0,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:4:
/Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/utility/common_header.h: In function 'bool is_within(uint32_t, uint32_t, uint32_t)':
/Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/utility/common_header.h:74:20: error: redefinition of 'bool is_within(uint32_t, uint32_t, uint32_t)'
static inline bool is_within(uint32_t lower, uint32_t value, uint32_t upper)
^~~~~~~~~
In file included from /Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/rtos.h:45:0,
from /Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/Arduino.h:47,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:2:
/Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/common_func.h:281:20: note: 'bool is_within(uint32_t, uint32_t, uint32_t)' previously defined here
static inline bool is_within(uint32_t lower, uint32_t value, uint32_t upper)
^~~~~~~~~
In file included from /Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLE.h:43:0,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:4:
/Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/utility/errors.h: At global scope:
/Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/utility/errors.h:112:53: error: redeclaration of 'ERROR_NONE'
ERROR_NONE = 0x0000, ///< Successful command
^~~~~~
In file included from /Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/Arduino.h:26:0,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:2:
/Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/wiring_constants.h:63:3: note: previous declaration ' ERROR_NONE'
ERROR_NONE = 0
^~~~~~~~~~
In file included from /Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLE.h:43:0,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:4:
/Users/matt/Documents/Arduino/libraries/Adafruit_BluefruitLE_nRF51/utility/errors.h:196:3: error: conflicting declaration 'typedef enum err_t err_t'
} err_t;
^~~~~
In file included from /Users/matt/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/Arduino.h:26:0,
from /Users/matt/Desktop/KS_Proto1.4 (cop + grf + raw)/Right-KS_Proto1.4/Right-KS_Proto1.4.ino:2:
/Users/mattu/Library/Arduino15/packages/adafruit/hardware/nrf52/0.13.0/cores/nRF5/wiring_constants.h:59:18: note: previous declaration as 'typedef uint32_t err_t'
typedef uint32_t err_t;
^~~~~
exit status 1
Error compiling for board Adafruit Bluefruit Feather nRF52832.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.