XIAO Round Display + XIAO nRF52840

Hi,
I have recently got the Xiao round display and the xiao nRF52840 and I have gone through the process of trying to follow the wiki and some other forum pages and have tried to compile the hardware test however I am getting errors wether I have the board setup as the mbed or non-mbed. I saw without the mbed version worked for a few folks however I am getting errors when compiling and I am a tad confused. I have shared some screenshots of the code I am using any help will be appreciated.




The error:

In file included from /Users/dhyanshyam/Documents/Arduino/libraries/Seeed_Arduino_RoundDisplay-main 19.25.16/src/lv_xiao_round_screen.h:29,
                 from /private/var/folders/v4/tj66v9p544v6d0wd_0wz_bm80000gn/T/.arduinoIDE-unsaved202477-50227-bbgmut.6613r/HardwareTest/HardwareTest.ino:9:
/Users/dhyanshyam/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.h:973:8: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
  973 |       #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
      |        ^~~~~~~
In file included from /private/var/folders/v4/tj66v9p544v6d0wd_0wz_bm80000gn/T/.arduinoIDE-unsaved202477-50227-bbgmut.6613r/HardwareTest/HardwareTest.ino:10:
/private/var/folders/v4/tj66v9p544v6d0wd_0wz_bm80000gn/T/.arduinoIDE-unsaved202477-50227-bbgmut.6613r/HardwareTest/lv_hardware_test.h:67:42: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   67 |     lv_label_set_text_fmt(battery_label, "%"LV_PRId32"%", battery_level_percent());
      |                                          ^
/private/var/folders/v4/tj66v9p544v6d0wd_0wz_bm80000gn/T/.arduinoIDE-unsaved202477-50227-bbgmut.6613r/HardwareTest/lv_hardware_test.h:73:41: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   73 |     lv_label_set_text_fmt(slider_label, "%"LV_PRId32, lv_slider_get_value(slider));
      |                                         ^
In file included from /Users/dhyanshyam/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.cpp:16:
/Users/dhyanshyam/Documents/Arduino/libraries/TFT_eSPI/TFT_eSPI.h:973:8: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
  973 |       #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
      |        ^~~~~~~
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp: In member function 'uint8_t SdFile::open(SdFile*, const char*, uint8_t)':
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:532:15: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
  532 |     dateTime_(&p->creationDate, &p->creationTime);
      |               ^~~~~~~~~~~~~~~~
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:532:15: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:532:33: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
  532 |     dateTime_(&p->creationDate, &p->creationTime);
      |                                 ^~~~~~~~~~~~~~~~
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:532:33: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp: In member function 'uint8_t SdFile::sync(uint8_t)':
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:1155:17: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1155 |       dateTime_(&d->lastWriteDate, &d->lastWriteTime);
      |                 ^~~~~~~~~~~~~~~~~
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:1155:17: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:1155:36: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1155 |       dateTime_(&d->lastWriteDate, &d->lastWriteTime);
      |                                    ^~~~~~~~~~~~~~~~~
/Users/dhyanshyam/Documents/Arduino/libraries/SD/src/utility/SdFile.cpp:1155:36: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
Multiple libraries were found for "SD.h"
  Used: /Users/dhyanshyam/Documents/Arduino/libraries/SD
  Not used: /Users/dhyanshyam/Library/Arduino15/libraries/SD
fork/exec /Users/dhyanshyam/Library/Arduino15/packages/Seeeduino/hardware/nrf52/1.1.8/tools/adafruit-nrfutil/macos/adafruit-nrfutil: permission denied

Compilation error: fork/exec /Users/dhyanshyam/Library/Arduino15/packages/Seeeduino/hardware/nrf52/1.1.8/tools/adafruit-nrfutil/macos/adafruit-nrfutil: permission denied

Hi there,
If you look into the other thread on Round Display and Nrf52840 , You will find a ZIP file which contains a BIN file, drag or send to that to your hardware and see that I runs. (pre-compiled with the correct versions)
Start with that to verify your hardware.

You must use the TFT_eSPI.conf from the seeed WiKI to use any of the demo’s Be sure to load the FTF_eSPI first then copy the conf over then compile verify by the compiler output that it’s using the correct files.
HTH
GL :slight_smile: PJ
so far it runs on ,XIAO, Nrf52840 BLE, & Sense and ESP32C3, S3 , C6
:v:

1 Like