Arduino board run on Mbed-os6.8.1 (only test purpose not official). Need Mbed Studio(1.3.1) not online compiler. If you compile on the online compiler, you can get a hex file but it does NOT work!!!

Dependencies:   APDS_9960 LPS22HB LSM9DS1 HTS221

1) DAPLink(LPC11U35)の準備
使用したボード →https://akizukidenshi.com/catalog/g/gK-12144/
プログラムは、nRF52840-MDK用に公開されているDAPLinkのコンパイル済のバイナリコードを使わせていただきました。
https://github.com/makerdiary/nrf52840-mdk/tree/master/firmware/daplink
LPC11U35への書込みは、SW1(ISP)を押したままSW2(RESET)を操作するとPCに「CRP DISABLD」という名称でマウントされるので、書込まれているfirmware.binを削除してから、上記のbinファイルをコピーすれば書き込みが行われます。
書込み完了後にSW1を押さずに起動すれば、「DAPLINK」として認識されます。
DETAILS.TXTでDAPLinkの内容を確認できます。

2) 接続

Arduino Nano 33 BLE SenseLPC11U35 Interface CPUコメント
J3:Pin2 (ボード裏のパッド)CN1:Pin3 P0_7SWDIO
J3:Pin3 (ボード裏のパッド)CN1:Pin4 P0_8SWCLK
JP2:Pin14  GNDCN2:Pin1 GNDGND

https://os.mbed.com/media/uploads/kenjiArai/snano_daplink.jpg https://os.mbed.com/media/uploads/kenjiArai/snano33ble_bottom.jpg
3)USBSerial
シリアル出力は、NANO 33 BLE SENSEボードのUSB端子経由で出力されます。

4)Mbed Studio 1.3.1を使って開発のこと!(オンラインコンパイラでは動作しません!)
https://os.mbed.com/media/uploads/kenjiArai/s1_2020-02-13.png https://os.mbed.com/media/uploads/kenjiArai/s2_2020-02-13.png

5)ボードピン配置 https://os.mbed.com/media/uploads/kenjiArai/nano33ble_pin.png

Revision:
1:cce280da16d4
Parent:
0:f1a10797d9f6
--- a/readme_1st.txt	Fri Feb 07 01:21:16 2020 +0000
+++ b/readme_1st.txt	Sun Feb 28 07:31:58 2021 +0000
@@ -1,28 +1,31 @@
 --------------------------------------------------------------------------------
-Nano 33 BLE Sense --- Arudiono nRF52840 module (Nano 33 BLE Sense)
+Nano 33 BLE Sense --- Arduino nRF52840 module (Nano 33 BLE Sense)
     By Kenji Arai / JH1PJL
         http://www7b.biglobe.ne.jp/~kenjia/
         https://os.mbed.com/users/kenjiArai/
 
-        Feburary   7th, 2020
+        February  28th, 2021
 --------------------------------------------------------------------------------
+Board Information
+        https://store.arduino.cc/usa/nano-33-ble-sense
+        https://www.st.com/ja/ecosystems/arduino-nano-ble-33-sense.html#overview
 
 ------- Mbed Online Compiler ---------------------------------------------------
 
 Target:         nRF52840-DK
-mbed-os:        mbed-os5.15.0
+mbed-os:        mbed-os6.8.0
 Select program:
             Open select_example.h
             Change EXAMPLE_NUMBER (line31)
 Compile:
 <!!!! CAUTION !!!>
             You can compile without error.
-            Created hex file does NOT run on Nano 33 BLE Sense board.
+            Created hex file does NOT run on Nano 33 BLE Sense board!!!!!.
 
 ------- Mbed Studio ------------------------------------------------------------
 
 Target:         ARDUINO_NANO33BLE
-Mbed Studio:    0.8.1
+Mbed Studio:    1.3.1
 Select program:
                 Same as online program
 Compile:
@@ -33,4 +36,3 @@
             Orignal board has Arduino bootloarder and 
             Mbed hex file overwrites it.
             As a resule, you cannot use Arduino bootloarder anymore.
-