Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NRF_LF_SRC_SYNTH as 32k clock source #509

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

facchinm
Copy link
Member

Nina 01B ship without the 32k onboard and are otherwise indistinguishable from 00B modules.

Don't merge this patch before running extensive tests on low power and BLE performance.

We can use the bootloader glitch (NRF_CLOCK_INT_LF_STARTED interrupt enabled and firing as soon as the USB starts, fixed in variant.cpp) to discriminate the boards if really needed.

Fixes #498

Nina 01B ship without the 32k onboard and are otherwise indistinguishable from 00B modules.

Don't merge this patch before running extensive tests on low power and BLE performance.

We can use the bootloader glitch (NRF_CLOCK_INT_LF_STARTED interrupt enabled and firing as soon as the USB starts, fixed in variant.cpp) to discriminate the boards if really needed.
@github-actions
Copy link

Memory usage change @ 32b77fb

Board flash % RAM for global variables %
arduino:mbed:envie_m4 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:envie_m7 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nano33ble 🔺 0 - +64 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:mbed:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nicla_sense 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nicla_vision 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board libraries/Scheduler/examples/MultipleBlinks
flash
% libraries/Scheduler/examples/MultipleBlinks
RAM for global variables
% libraries/doom/examples/Doom
flash
% libraries/doom/examples/Doom
RAM for global variables
% libraries/KernelDebug/examples/KernelDebug
flash
% libraries/KernelDebug/examples/KernelDebug
RAM for global variables
% libraries/Portenta_SDCARD/examples/TestSDCARD
flash
% libraries/Portenta_SDCARD/examples/TestSDCARD
RAM for global variables
% libraries/Portenta_SDRAM/examples/SDRAM_operations
flash
% libraries/Portenta_SDRAM/examples/SDRAM_operations
RAM for global variables
% libraries/Portenta_Video/examples/ArduinoLogo
flash
% libraries/Portenta_Video/examples/ArduinoLogo
RAM for global variables
% libraries/RPC/examples/BootM4_from_SDRAM
flash
% libraries/RPC/examples/BootM4_from_SDRAM
RAM for global variables
% libraries/RPC/examples/PortentaX8_EchoServer
flash
% libraries/RPC/examples/PortentaX8_EchoServer
RAM for global variables
% libraries/RPC/examples/RPC_m4
flash
% libraries/RPC/examples/RPC_m4
RAM for global variables
% libraries/RPC/examples/SerialPassthrough_RPC
flash
% libraries/RPC/examples/SerialPassthrough_RPC
RAM for global variables
% libraries/PDM/examples/PDMSerialPlotter
flash
% libraries/PDM/examples/PDMSerialPlotter
RAM for global variables
% libraries/Camera/examples/CameraCaptureRawBytes
flash
% libraries/Camera/examples/CameraCaptureRawBytes
RAM for global variables
% libraries/Camera/examples/CameraMotionDetect
flash
% libraries/Camera/examples/CameraMotionDetect
RAM for global variables
% libraries/Portenta_lvgl/examples/Portenta_lvgl
flash
% libraries/Portenta_lvgl/examples/Portenta_lvgl
RAM for global variables
% libraries/STM32H747_System/examples/QSPIFReadPartitions
flash
% libraries/STM32H747_System/examples/QSPIFReadPartitions
RAM for global variables
% libraries/STM32H747_System/examples/QSPIFormat
flash
% libraries/STM32H747_System/examples/QSPIFormat
RAM for global variables
% libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo
flash
% libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo
RAM for global variables
% libraries/STM32H747_System/examples/STM32H747_manageBootloader
flash
% libraries/STM32H747_System/examples/STM32H747_manageBootloader
RAM for global variables
% libraries/STM32H747_System/examples/WiFiFirmwareUpdater
flash
% libraries/STM32H747_System/examples/WiFiFirmwareUpdater
RAM for global variables
% libraries/ThreadDebug/examples/ThreadDebug
flash
% libraries/ThreadDebug/examples/ThreadDebug
RAM for global variables
% libraries/USBHID/examples/Keyboard
flash
% libraries/USBHID/examples/Keyboard
RAM for global variables
% libraries/USBHID/examples/Mouse
flash
% libraries/USBHID/examples/Mouse
RAM for global variables
% libraries/USBHOST/examples/KeyboardController
flash
% libraries/USBHOST/examples/KeyboardController
RAM for global variables
% libraries/USBHOST/examples/Shell
flash
% libraries/USBHOST/examples/Shell
RAM for global variables
% libraries/USBMSD/examples/AccessFlashAsUSBDisk
flash
% libraries/USBMSD/examples/AccessFlashAsUSBDisk
RAM for global variables
% libraries/WiFi/examples/WiFiWebClient
flash
% libraries/WiFi/examples/WiFiWebClient
RAM for global variables
% libraries/GSM/examples/GNSSClient
flash
% libraries/GSM/examples/GNSSClient
RAM for global variables
% libraries/GSM/examples/GSMClient
flash
% libraries/GSM/examples/GSMClient
RAM for global variables
% libraries/GSM/examples/MicroNMEA_integration
flash
% libraries/GSM/examples/MicroNMEA_integration
RAM for global variables
% libraries/USBMSD/examples/Nano33BLE_FlashMassStorage
flash
% libraries/USBMSD/examples/Nano33BLE_FlashMassStorage
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer
RAM for global variables
% libraries/Nicla_System/examples/Blink_Nicla
flash
% libraries/Nicla_System/examples/Blink_Nicla
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/App
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/App
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone
RAM for global variables
%
arduino:mbed:envie_m4 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed:envie_m7 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 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%,libraries/Scheduler/examples/MultipleBlinks<br>RAM for global variables,%,libraries/doom/examples/Doom<br>flash,%,libraries/doom/examples/Doom<br>RAM for global variables,%,libraries/KernelDebug/examples/KernelDebug<br>flash,%,libraries/KernelDebug/examples/KernelDebug<br>RAM for global variables,%,libraries/Portenta_SDCARD/examples/TestSDCARD<br>flash,%,libraries/Portenta_SDCARD/examples/TestSDCARD<br>RAM for global variables,%,libraries/Portenta_SDRAM/examples/SDRAM_operations<br>flash,%,libraries/Portenta_SDRAM/examples/SDRAM_operations<br>RAM for global variables,%,libraries/Portenta_Video/examples/ArduinoLogo<br>flash,%,libraries/Portenta_Video/examples/ArduinoLogo<br>RAM for global variables,%,libraries/RPC/examples/BootM4_from_SDRAM<br>flash,%,libraries/RPC/examples/BootM4_from_SDRAM<br>RAM for global variables,%,libraries/RPC/examples/PortentaX8_EchoServer<br>flash,%,libraries/RPC/examples/PortentaX8_EchoServer<br>RAM for global variables,%,libraries/RPC/examples/RPC_m4<br>flash,%,libraries/RPC/examples/RPC_m4<br>RAM for global variables,%,libraries/RPC/examples/SerialPassthrough_RPC<br>flash,%,libraries/RPC/examples/SerialPassthrough_RPC<br>RAM for global variables,%,libraries/PDM/examples/PDMSerialPlotter<br>flash,%,libraries/PDM/examples/PDMSerialPlotter<br>RAM for global variables,%,libraries/Camera/examples/CameraCaptureRawBytes<br>flash,%,libraries/Camera/examples/CameraCaptureRawBytes<br>RAM for global variables,%,libraries/Camera/examples/CameraMotionDetect<br>flash,%,libraries/Camera/examples/CameraMotionDetect<br>RAM for global variables,%,libraries/Portenta_lvgl/examples/Portenta_lvgl<br>flash,%,libraries/Portenta_lvgl/examples/Portenta_lvgl<br>RAM for global variables,%,libraries/STM32H747_System/examples/QSPIFReadPartitions<br>flash,%,libraries/STM32H747_System/examples/QSPIFReadPartitions<br>RAM for global variables,%,libraries/STM32H747_System/examples/QSPIFormat<br>flash,%,libraries/STM32H747_System/examples/QSPIFormat<br>RAM for global variables,%,libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo<br>flash,%,libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo<br>RAM for global variables,%,libraries/STM32H747_System/examples/STM32H747_manageBootloader<br>flash,%,libraries/STM32H747_System/examples/STM32H747_manageBootloader<br>RAM for global variables,%,libraries/STM32H747_System/examples/WiFiFirmwareUpdater<br>flash,%,libraries/STM32H747_System/examples/WiFiFirmwareUpdater<br>RAM for global variables,%,libraries/ThreadDebug/examples/ThreadDebug<br>flash,%,libraries/ThreadDebug/examples/ThreadDebug<br>RAM for global variables,%,libraries/USBHID/examples/Keyboard<br>flash,%,libraries/USBHID/examples/Keyboard<br>RAM for global variables,%,libraries/USBHID/examples/Mouse<br>flash,%,libraries/USBHID/examples/Mouse<br>RAM for global variables,%,libraries/USBHOST/examples/KeyboardController<br>flash,%,libraries/USBHOST/examples/KeyboardController<br>RAM for global variables,%,libraries/USBHOST/examples/Shell<br>flash,%,libraries/USBHOST/examples/Shell<br>RAM for global variables,%,libraries/USBMSD/examples/AccessFlashAsUSBDisk<br>flash,%,libraries/USBMSD/examples/AccessFlashAsUSBDisk<br>RAM for global variables,%,libraries/WiFi/examples/WiFiWebClient<br>flash,%,libraries/WiFi/examples/WiFiWebClient<br>RAM for global variables,%,libraries/GSM/examples/GNSSClient<br>flash,%,libraries/GSM/examples/GNSSClient<br>RAM for global variables,%,libraries/GSM/examples/GSMClient<br>flash,%,libraries/GSM/examples/GSMClient<br>RAM for global variables,%,libraries/GSM/examples/MicroNMEA_integration<br>flash,%,libraries/GSM/examples/MicroNMEA_integration<br>RAM for global variables,%,libraries/USBMSD/examples/Nano33BLE_FlashMassStorage<br>flash,%,libraries/USBMSD/examples/Nano33BLE_FlashMassStorage<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer<br>RAM for global variables,%,libraries/Nicla_System/examples/Blink_Nicla<br>flash,%,libraries/Nicla_System/examples/Blink_Nicla<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/App<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/App<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone<br>RAM for global variables,%
arduino:mbed:envie_m4,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed:nano33ble,0,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,64,0.01,0,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,64,0.01,0,0.0,64,0.01,0,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0
arduino:mbed:nanorp2040connect,0,0.0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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

@github-actions
Copy link

Memory usage change @ fa5a1e1

Board flash % RAM for global variables %
arduino:mbed:envie_m4 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:envie_m7 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nano33ble 🔺 0 - +64 0.0 - +0.01 0 - 0 0.0 - 0.0
arduino:mbed:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nicla_sense 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed:nicla_vision 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board libraries/Scheduler/examples/MultipleBlinks
flash
% libraries/Scheduler/examples/MultipleBlinks
RAM for global variables
% libraries/doom/examples/Doom
flash
% libraries/doom/examples/Doom
RAM for global variables
% libraries/KernelDebug/examples/KernelDebug
flash
% libraries/KernelDebug/examples/KernelDebug
RAM for global variables
% libraries/Portenta_SDCARD/examples/TestSDCARD
flash
% libraries/Portenta_SDCARD/examples/TestSDCARD
RAM for global variables
% libraries/Portenta_SDRAM/examples/SDRAM_operations
flash
% libraries/Portenta_SDRAM/examples/SDRAM_operations
RAM for global variables
% libraries/Portenta_Video/examples/ArduinoLogo
flash
% libraries/Portenta_Video/examples/ArduinoLogo
RAM for global variables
% libraries/RPC/examples/BootM4_from_SDRAM
flash
% libraries/RPC/examples/BootM4_from_SDRAM
RAM for global variables
% libraries/RPC/examples/PortentaX8_EchoServer
flash
% libraries/RPC/examples/PortentaX8_EchoServer
RAM for global variables
% libraries/RPC/examples/RPC_m4
flash
% libraries/RPC/examples/RPC_m4
RAM for global variables
% libraries/RPC/examples/SerialPassthrough_RPC
flash
% libraries/RPC/examples/SerialPassthrough_RPC
RAM for global variables
% libraries/PDM/examples/PDMSerialPlotter
flash
% libraries/PDM/examples/PDMSerialPlotter
RAM for global variables
% libraries/Camera/examples/CameraCaptureRawBytes
flash
% libraries/Camera/examples/CameraCaptureRawBytes
RAM for global variables
% libraries/Camera/examples/CameraMotionDetect
flash
% libraries/Camera/examples/CameraMotionDetect
RAM for global variables
% libraries/Portenta_lvgl/examples/Portenta_lvgl
flash
% libraries/Portenta_lvgl/examples/Portenta_lvgl
RAM for global variables
% libraries/STM32H747_System/examples/QSPIFReadPartitions
flash
% libraries/STM32H747_System/examples/QSPIFReadPartitions
RAM for global variables
% libraries/STM32H747_System/examples/QSPIFormat
flash
% libraries/STM32H747_System/examples/QSPIFormat
RAM for global variables
% libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo
flash
% libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo
RAM for global variables
% libraries/STM32H747_System/examples/STM32H747_manageBootloader
flash
% libraries/STM32H747_System/examples/STM32H747_manageBootloader
RAM for global variables
% libraries/STM32H747_System/examples/WiFiFirmwareUpdater
flash
% libraries/STM32H747_System/examples/WiFiFirmwareUpdater
RAM for global variables
% libraries/ThreadDebug/examples/ThreadDebug
flash
% libraries/ThreadDebug/examples/ThreadDebug
RAM for global variables
% libraries/USBHID/examples/Keyboard
flash
% libraries/USBHID/examples/Keyboard
RAM for global variables
% libraries/USBHID/examples/Mouse
flash
% libraries/USBHID/examples/Mouse
RAM for global variables
% libraries/USBHOST/examples/KeyboardController
flash
% libraries/USBHOST/examples/KeyboardController
RAM for global variables
% libraries/USBHOST/examples/Shell
flash
% libraries/USBHOST/examples/Shell
RAM for global variables
% libraries/USBMSD/examples/AccessFlashAsUSBDisk
flash
% libraries/USBMSD/examples/AccessFlashAsUSBDisk
RAM for global variables
% libraries/WiFi/examples/WiFiWebClient
flash
% libraries/WiFi/examples/WiFiWebClient
RAM for global variables
% libraries/GSM/examples/GNSSClient
flash
% libraries/GSM/examples/GNSSClient
RAM for global variables
% libraries/GSM/examples/GSMClient
flash
% libraries/GSM/examples/GSMClient
RAM for global variables
% libraries/GSM/examples/MicroNMEA_integration
flash
% libraries/GSM/examples/MicroNMEA_integration
RAM for global variables
% libraries/USBMSD/examples/Nano33BLE_FlashMassStorage
flash
% libraries/USBMSD/examples/Nano33BLE_FlashMassStorage
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating
RAM for global variables
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer
flash
% /home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer
RAM for global variables
% libraries/Nicla_System/examples/Blink_Nicla
flash
% libraries/Nicla_System/examples/Blink_Nicla
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/App
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/App
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList
RAM for global variables
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone
flash
% /home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone
RAM for global variables
%
arduino:mbed:envie_m4 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed:envie_m7 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed:nano33ble 0 0.0 0 0.0 64 0.01 0 0.0 0 0.0 0 0.0 64 0.01 0 0.0 64 0.01 0 0.0 0 0.0 0 0.0
arduino:mbed:nanorp2040connect 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed:nicla_sense 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed:nicla_vision 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,libraries/Scheduler/examples/MultipleBlinks<br>flash,%,libraries/Scheduler/examples/MultipleBlinks<br>RAM for global variables,%,libraries/doom/examples/Doom<br>flash,%,libraries/doom/examples/Doom<br>RAM for global variables,%,libraries/KernelDebug/examples/KernelDebug<br>flash,%,libraries/KernelDebug/examples/KernelDebug<br>RAM for global variables,%,libraries/Portenta_SDCARD/examples/TestSDCARD<br>flash,%,libraries/Portenta_SDCARD/examples/TestSDCARD<br>RAM for global variables,%,libraries/Portenta_SDRAM/examples/SDRAM_operations<br>flash,%,libraries/Portenta_SDRAM/examples/SDRAM_operations<br>RAM for global variables,%,libraries/Portenta_Video/examples/ArduinoLogo<br>flash,%,libraries/Portenta_Video/examples/ArduinoLogo<br>RAM for global variables,%,libraries/RPC/examples/BootM4_from_SDRAM<br>flash,%,libraries/RPC/examples/BootM4_from_SDRAM<br>RAM for global variables,%,libraries/RPC/examples/PortentaX8_EchoServer<br>flash,%,libraries/RPC/examples/PortentaX8_EchoServer<br>RAM for global variables,%,libraries/RPC/examples/RPC_m4<br>flash,%,libraries/RPC/examples/RPC_m4<br>RAM for global variables,%,libraries/RPC/examples/SerialPassthrough_RPC<br>flash,%,libraries/RPC/examples/SerialPassthrough_RPC<br>RAM for global variables,%,libraries/PDM/examples/PDMSerialPlotter<br>flash,%,libraries/PDM/examples/PDMSerialPlotter<br>RAM for global variables,%,libraries/Camera/examples/CameraCaptureRawBytes<br>flash,%,libraries/Camera/examples/CameraCaptureRawBytes<br>RAM for global variables,%,libraries/Camera/examples/CameraMotionDetect<br>flash,%,libraries/Camera/examples/CameraMotionDetect<br>RAM for global variables,%,libraries/Portenta_lvgl/examples/Portenta_lvgl<br>flash,%,libraries/Portenta_lvgl/examples/Portenta_lvgl<br>RAM for global variables,%,libraries/STM32H747_System/examples/QSPIFReadPartitions<br>flash,%,libraries/STM32H747_System/examples/QSPIFReadPartitions<br>RAM for global variables,%,libraries/STM32H747_System/examples/QSPIFormat<br>flash,%,libraries/STM32H747_System/examples/QSPIFormat<br>RAM for global variables,%,libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo<br>flash,%,libraries/STM32H747_System/examples/STM32H747_getBootloaderInfo<br>RAM for global variables,%,libraries/STM32H747_System/examples/STM32H747_manageBootloader<br>flash,%,libraries/STM32H747_System/examples/STM32H747_manageBootloader<br>RAM for global variables,%,libraries/STM32H747_System/examples/WiFiFirmwareUpdater<br>flash,%,libraries/STM32H747_System/examples/WiFiFirmwareUpdater<br>RAM for global variables,%,libraries/ThreadDebug/examples/ThreadDebug<br>flash,%,libraries/ThreadDebug/examples/ThreadDebug<br>RAM for global variables,%,libraries/USBHID/examples/Keyboard<br>flash,%,libraries/USBHID/examples/Keyboard<br>RAM for global variables,%,libraries/USBHID/examples/Mouse<br>flash,%,libraries/USBHID/examples/Mouse<br>RAM for global variables,%,libraries/USBHOST/examples/KeyboardController<br>flash,%,libraries/USBHOST/examples/KeyboardController<br>RAM for global variables,%,libraries/USBHOST/examples/Shell<br>flash,%,libraries/USBHOST/examples/Shell<br>RAM for global variables,%,libraries/USBMSD/examples/AccessFlashAsUSBDisk<br>flash,%,libraries/USBMSD/examples/AccessFlashAsUSBDisk<br>RAM for global variables,%,libraries/WiFi/examples/WiFiWebClient<br>flash,%,libraries/WiFi/examples/WiFiWebClient<br>RAM for global variables,%,libraries/GSM/examples/GNSSClient<br>flash,%,libraries/GSM/examples/GNSSClient<br>RAM for global variables,%,libraries/GSM/examples/GSMClient<br>flash,%,libraries/GSM/examples/GSMClient<br>RAM for global variables,%,libraries/GSM/examples/MicroNMEA_integration<br>flash,%,libraries/GSM/examples/MicroNMEA_integration<br>RAM for global variables,%,libraries/USBMSD/examples/Nano33BLE_FlashMassStorage<br>flash,%,libraries/USBMSD/examples/Nano33BLE_FlashMassStorage<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/AP_SimpleWebServer<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectNoEncryption<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWEP<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ConnectWithWPA2Enterprise<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworks<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/ScanNetworksAdvanced<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/SimpleWebServerWiFi<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/CheckFirmwareVersion<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/FirmwareUpdater<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/Tools/SerialNINAPassthrough<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiChatServer<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiPing<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiSSLClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiStorage<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpNtpClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiUdpSendReceiveString<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClient<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebClientRepeating<br>RAM for global variables,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer<br>flash,%,/home/runner/Arduino/libraries/WiFiNINA/examples/WiFiWebServer<br>RAM for global variables,%,libraries/Nicla_System/examples/Blink_Nicla<br>flash,%,libraries/Nicla_System/examples/Blink_Nicla<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/App<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/App<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/BHYFirmwareUpdate<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Fail_Safe_flasher<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ReadSensorConfiguration<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/ShowSensorList<br>RAM for global variables,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone<br>flash,%,/home/runner/Arduino/libraries/Arduino_BHY2/examples/Standalone<br>RAM for global variables,%
arduino:mbed:envie_m4,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed:nicla_vision,0,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

@gbernal
Copy link

gbernal commented Mar 10, 2024

Dear @facchinm thank you for providing some solution to this issue. I have the same issue as #498 I have followed the steps suggestions there by recompliling the board by running ~/Arduino/hardware/arduino-git/mbed$ ./mbed-os-to-arduino -r ~/Arduino/hardware/arduino-git/mbed-os-extrapatches-6.17.0 ARDUINO_NANO33BLE:ARDUINO_NANO33BLE

I'm running that command becuase when I run ./mbed-os-to-arduino -a -g ARDUINO_NANO33BLE:ARDUINO_NANO33BLE I get the errors

error: patch failed: connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp:284 error: connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp: patch does not apply
So I was inspired by #817 to try the method above.

Moving on, this is my current mbed_app.json

  "macros": [
    "NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8",
    "NRFX_WDT_ENABLED=1"
  ],
  "target_overrides": {
    "*": {
      "target.printf_lib": "std",
      "platform.stdio-buffered-serial": false,
      "platform.stdio-baud-rate": 115200,
      "platform.default-serial-baud-rate": 115200,
      "platform.callback-nontrivial": true,
      "rtos.main-thread-stack-size": 32768,
      "cordio.max-connections": 5,
      "platform.all-stats-enabled": true,
      "target.mbed_app_start": "0x10000",
      "target.lf_clock_src":"NRF_LF_SRC_SYNTH"
    }
  }
}

I'm now able to load the code as you can see in the output

/home/gbernal/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2/bossac -d --port=ttyACM0 -U -i -e -w /tmp/arduino_build_334365/AnalogReadSerial.ino.bin -R 
Set binary mode
version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Connected at 921600 baud
identifyChip()=nRF52840-QIAA
write(addr=0,size=0x34)
writeWord(addr=0x30,value=0x400)
writeWord(addr=0x20,value=0)
version()=Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Device       : nRF52840-QIAA
Version      : Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Address      : 0x0
Pages        : 256
Page Size    : 4096 bytes
Total Size   : 1024KB
Planes       : 1
Lock Regions : 0
Locked       : none
Security     : false
Erase flash
chipErase(addr=0)

Done in 0.001 seconds
Write 87408 bytes to flash (22 pages)
[                              ] 0% (0/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0, size=0x1000)
[=                             ] 4% (1/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1000, size=0x1000)
[==                            ] 9% (2/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2000, size=0x1000)
[====                          ] 13% (3/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3000, size=0x1000)
[=====                         ] 18% (4/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x4000, size=0x1000)
[======                        ] 22% (5/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x5000, size=0x1000)
[========                      ] 27% (6/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x6000, size=0x1000)
[=========                     ] 31% (7/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x7000, size=0x1000)
[==========                    ] 36% (8/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x8000, size=0x1000)
[============                  ] 40% (9/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x9000, size=0x1000)
[=============                 ] 45% (10/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xa000, size=0x1000)
[===============               ] 50% (11/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xb000, size=0x1000)
[================              ] 54% (12/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xc000, size=0x1000)
[=================             ] 59% (13/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xd000, size=0x1000)
[===================           ] 63% (14/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xe000, size=0x1000)
[====================          ] 68% (15/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0xf000, size=0x1000)
[=====================         ] 72% (16/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x10000, size=0x1000)
[=======================       ] 77% (17/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x11000, size=0x1000)
[========================      ] 81% (18/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x12000, size=0x1000)
[=========================     ] 86% (19/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x13000, size=0x1000)
[===========================   ] 90% (20/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x14000, size=0x1000)
[============================  ] 95% (21/22 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x15000, size=0x1000)
[==============================] 100% (22/22 pages)
Done in 3.428 seconds
reset()

However when I open the serial console. There is nothing happening, so I'm not sure how to proceed. Any help will be appreciated. I'm doing this in my Ubuntu machine

@manchoz
Copy link
Contributor

manchoz commented Mar 12, 2024

@gbernal regarding the mbed-os-to-arduino error, you don't need the -a switch because patches have already been applied on the mbed-os-extrapatches-6.17.0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatability with NINA-B306-01B
3 participants