2024-04-09 |
|
2023-03-30 |
Make use of the mbed tracing subsystem instead of basic printing
...
This enables use of the mbed tracing subsystem for the entire source
code of the project. All the uses of printfs are now appropriately
tagged and assigned a trace level, as in the following example:
[INFO][FS]: Unmounting the filesystem...
[INFO][FS]: OK
[INFO][USBM]: Switching to the usb mass storage mode...
[INFO][USBM]: Disconnecting the usb mass storage device...
[INFO][USBM]: Switched usb mass storage mode off.
[INFO][FS]: Mounting the filesystem...
[INFO][FS]: OK
This was also done in a way that the tracing is thread safe, using a
mutex to lock and unlock as needed.
Note that this cannot be turned on or off yet during build. It is
currently always enabled.
Xogium
committed
on 30 Mar 2023
|
2023-03-23 |
src: Don't pass FileSystem to doErase and doUSBMSD
...
They don't need the filesystem now, so get rid of this arg.
Jookia
committed
on 23 Mar 2023
|
main: Handle mounting and unmounting for erase and MSD
...
Having the functions handle the filesystem creates an dependency
on the filesystem layer when the functions don't even use it.
Instead, have main handle mounting and unmounting the filesystems.
Jookia
committed
on 23 Mar 2023
|
Filesystem: Refer to mbed::FileSystem not LittleFileSystem2
...
Functions don't need to know about what kind of filesystem we pass it,
so just tell them it's a mbed::FileSystem.
Jookia
committed
on 23 Mar 2023
|
2023-03-20 |
Added SPDX license informations to all files.
...
The only files where this isn't present are the LICENSE.md for obvious
reasons and the mbed_app.json, as comments are not allowed in json.
---
Changes v1 -> v2:
- fixed capitalisation of the copyright word in the script directory and in the cmake list
- modified the source code and header files so the SPDX info is
in a multi-line comment block
Xogium
authored
on 20 Mar 2023
Jookia
committed
on 20 Mar 2023
|
2023-03-19 |
Code format
Jookia
committed
on 19 Mar 2023
|
Initial commit
Jookia
committed
on 19 Mar 2023
|