This PR adds support for Arduino Nicla Sense ME. Arduino sent me a free test unit a while back so figured I may as well give it a shot. This one ended up actually being pretty easy to work with because, unlike most Arduinos, it has a standard Mbed CMSIS-DAP interface chip on it, no weird bootloader hijinks needed. Basically just had to add the PinNames.h, the CMake file, and the targets.json definition.
[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[X] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)
Test results
[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[X] Tests / results supplied as part of this PR
I ran the full set of Greentea tests on the nicla and they all passed except for test-mbed-hal-trng. This one is failing because they didn't connect the MCU reset line to the CMSIS DAP interface, so it can't reset the CPU when it tries to. Not sure what the best way to fix this is at this point...
Summary of changes
This PR adds support for Arduino Nicla Sense ME. Arduino sent me a free test unit a while back so figured I may as well give it a shot. This one ended up actually being pretty easy to work with because, unlike most Arduinos, it has a standard Mbed CMSIS-DAP interface chip on it, no weird bootloader hijinks needed. Basically just had to add the PinNames.h, the CMake file, and the targets.json definition.
Impact of changes
Migration actions required
Documentation
https://github.com/mbed-ce/mbed-os/wiki/MCU-Info-Page:-Arduino-Nicla-Sense-ME
Pull request type
Test results
I ran the full set of Greentea tests on the nicla and they all passed except for test-mbed-hal-trng. This one is failing because they didn't connect the MCU reset line to the CMSIS DAP interface, so it can't reset the CPU when it tries to. Not sure what the best way to fix this is at this point...
Reviewers