Bot releases are visible (Hide)
Published by facchinm over 3 years ago
RP2040: improve the overall user experience
RP2040: fix some relevant bugs (complete list here https://github.com/ARMmbed/mbed-os/pull/14488/commits)
USBSerial: speedup operations and tackle corner cases
PDM: rationalize gain() and buffer size
Ethernet: fix library discovery on case insensitive platforms
Wire: fix I2C scan
Update openocd to its latest release (fixes a bug with nRF52)
Published by facchinm over 3 years ago
Arduino Nano RP2040 Connect
Raspberry Pi Pico
RP2040 support to be mainlined as https://github.com/ARMmbed/mbed-os/pull/14488
SDCard: Fix reliability on Portenta H7 when used with WiFi
PDM: improve library for Portenta (Vision Shield): now it handles stereo, mono and a lot of sample rates
Portenta Camera (Vision Shield): implement motion detection, faster crop, better examples
Portenta Video: implement HDMI cable detect (hotplug)
Ethernet: port Arduino APIs to Portenta PHY
WiFi: improve compatibility with WiFiNINA examples
Wire: fix slave operations
ThreadDebug: add support for Nano 33 BLE
Use a timer with microsecond resolution for micros()
Allow deepest sleep if USB is unused
USB: support runtime speed detection for Portenta
[BREAKING] Speedup compilation by making singletons opaque [1]
Add all the available pins for Portenta H7 (Breakout Carrier)
SerialUSB: fix race condition on rx_buffer
SerialUSB: support line coding APIs
Update underlying mbed-os to 6.9.0
Improve packaging scripts by splitting the core into families [1]
Update openocd and dfu-util to their latest releases
Following a broad community request, we targeted two pain point of existing core:
They are both very noticeable on Windows platforms, where file access is much slower and the antivirus can potentially check every file being compiled.
To fix the first, we removed debugging information from libmbed.a (to make the final library much smaller) and we split the core into different packages. This only happens at release time, if you are developing nothing changes.
Debugging information are being added back when compiling the user sketch, so IDE 2.0 users will be able to debug proficiently.
If you are interested in debugging the mbed internals, just run
./mbed-os -a TARGET_BOARD:TARGET_BOARD
after removing 0001-PACKAGING-remove-gdb-exta-information-to-slim-librar.patch
from patches
folder and this will recreated a debuggable (and bigger) libmbed.a
To fix the slow compilation, we invested some time in profiling what was going on when g++ was called. It turns out that most of the time was spent parsing and resolving Callback.h
from mbed-os. Since most of the drivers are including it, Arduino.h
was "tainted". The solution we applied involves not including directly the headers, but only "stubs", and provide the object definition in a cpp file. This way, only that file will be compiled slowly and not the whole core.
This creates, however, a bunch of incompatibilities with older code, notably:
As always, feel free to report any bug you may find!
Published by facchinm over 3 years ago
Bugfixes and improvements since 1.3.1
PluggableUSB: fix drivers issues on Windows when changing USB device type
Fix and improve Portenta_Camera driver
WiFi: support download() on both HTTP and HTTPS schemes
Published by facchinm almost 4 years ago
Bugfixes and improvements since 1.3.0
Generic
Portenta
Serial
object to UART1Published by facchinm about 4 years ago
Bugfixes and improvements since 1.2.2
Various fixes on WiFi library
Allow a second USBSerial port
#include <ThreadDebug.h>
USBSerial SerialUSB1(false, "DebugPort");
UsbDebugCommInterface debugComm(&SerialUSB1);
ThreadDebug threadDebug(&debugComm, DEBUG_BREAK_IN_SETUP);
Fix and improve Portenta Camera library
Bootloader:
RPC:
Fix interrupts not being fired on Portenta_H7_M4