Skip to content

Library porting for Arduino Nicla Sense ME #319

Open
@sapienshawk

Description

@sapienshawk
  • Arduino board: *Arduino Nicla Sense ME

  • Arduino IDE version (found in Arduino -> About Arduino menu): ARDUINO IDE 1.8.10 - Windows 10

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too): Any standard examples of libary

Hereafter the complete error message I get when try to compile Neopixel Library with Nicla Sense ME
Arduino: 1.8.19 (Windows 10), Board: "Nicla Sense ME"

C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp: In member function 'void Adafruit_NeoPixel::show()':

C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2134:24: error: 'g_ADigitalPinMap' was not declared in this scope

pwm->PSEL.OUT[0] = g_ADigitalPinMap[pin];

^~~~~~~~~~~~~~~~

C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2187:24: error: 'digitalPinToBitMask' was not declared in this scope

uint32_t pinMask = digitalPinToBitMask(pin);

^~~~~~~~~~~~~~~~~~~

C:\Users\sapie\OneDrive\Documenti\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp:2187:24: note: suggested alternative: 'digitalPinToPinName'

uint32_t pinMask = digitalPinToBitMask(pin);

^~~~~~~~~~~~~~~~~~~

digitalPinToPinName

exit status 1

Error compiling for board Nicla Sense ME.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

============================================

mikeysklar on Mon Mar 28, 2022 5:41 pm

The Nicla Sense is a nRF52832 (M4 core) board. It looks quite similar to the myNewt that Adafruit has been selling.

You can open an issue requesting support through the NeoPixel github library repo. It might be a matter of adding a board identifier and possibly some pin assignments. The NRF52 / NRF52840 board identifier is already in place in the library.

===============================
So many thanks for any help..
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions