:adhesive_bandage: (LogKit): Double message/output buffers' size
Pinned
Activity
ladislas push leka/LekaOS
commit sha: 9d41bef90714df484ad7686120dbacd8ebaa892f
push time in 6 days agoladislas in leka/LekaOS delete branch sibylle/feature/bootloader-update-blinking-color
ladislas pull request leka/LekaOS
:children_crossing: (bootloader): Change red blinking color to nice blue
Red was perceived by the user as "there is something wrong with your robot"
We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"
ladislas push leka/LekaOS
commit sha: 12ac75868dbe002342eac13c59be297d5210821a
push time in 6 days agoladislas pull request leka/LekaOS
:children_crossing: (bootloader): Change red blinking color to nice blue
Red was perceived by the user as "there is something wrong with your robot"
We want to actually convey the total opposite: "your robot is fine, it is charging and will wake up when it has enough battery"
ladislas in leka/LekaOS create branch sibylle/feature/bootloader-update-blinking-color
ladislas push leka/LekaOS
commit sha: 83ab7bba6486fb0301b7fc74f3eb5fd2d3038346
push time in 6 days agoladislas in leka/LekaOS delete branch ladislas/feature/log-sleep-statistics
ladislas pull request leka/LekaOS
ladislas/feature/log sleep statistics
- :adhesive_bandage: (LogKit): Double message/output buffers' size
- :adhesive_bandage: (LogKit): Fix timestamp formatting
- :hammer: (stats): Add ENABLE_SYSTEM_STATS option
- :white_check_mark: (config): Define XXX_STATS for unit tests
- :loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage
ladislas push leka/LekaOS
commit sha: 89947e93d918d9624e7ddbfa84052de216887a0f
push time in 6 days agoladislas push leka/LekaOS
commit sha: 553f1f97a0f7ee530449993e5ab37bc6ab8972cc
push time in 6 days agoladislas in leka/LekaOS create branch ladislas/feature/log-sleep-statistics
ladislas pull request leka/LekaOS
ladislas/feature/log sleep statistics
- :adhesive_bandage: (LogKit): Double message/output buffers' size
- :adhesive_bandage: (LogKit): Fix timestamp formatting
- :hammer: (stats): Add ENABLE_SYSTEM_STATS option
- :white_check_mark: (config): Define XXX_STATS for unit tests
- :loud_sound: (os): Log system stats: sleep/deepsleep, heap/stack usage
ladislas issue leka/LekaOS
BLE Connection - when charging, connecting doesn't turn isBleConnected to true
ladislas issue comment leka/LekaOS
HTTPS - List CA certificates in config file
(cc @MMyster)
Instead of listing the CA certificates in an array in code, move the list in a config file.
Advantages of doing so:
- the list can be expanded/modified without updating the firmware
- new certificates can be downloaded and then added to the list without updating the firmware
Requirements:
- for the moment, config files only store binary values
- config files should have a return type:
uint8_t
,uint16_t
,float
,container of values
in the case of container of values
:
- if the number of values is known and won't change in the future -->
std::array<T, fixed_size>
can be used - if the number of values is not known:
- etl::std::vector can be explored
- a "big" std::array can be used to store the values and also return the number of values to be used in std::span
@YannLocatelli I've updated the first comment.
ladislas merge to multiplemonomials/mbed-os
Mbed CE upload methods
This PR adds the mbed-cmake upload method system to Mbed OS, with a few changes:
- Added automatically used, default upload method configs for each target, allowing the use of cmake uploading without writing any config files in most cases
- Refactored code to clean some things up and extract common code into only one place
- Made the Mbed OS greentea tests use upload methods
ladislas issue comment leka/LekaOS
BLE - Connection animation
On BLE connection, we want to have a little LED animation to notify the user of the connection.
One idea:
- belt "breathing" like this but a bit faster https://youtube.com/clip/Ugkx6l8deaoP5XtO3p8iqWUAo7tM60l6MUGO
- after 3 breathes, turn from black to green fast
closed by 08cc133b450e0db10c540493ddbd76ed49f34955
ladislas issue leka/LekaOS
BLE - Connection animation
On BLE connection, we want to have a little LED animation to notify the user of the connection.
One idea:
- belt "breathing" like this but a bit faster https://youtube.com/clip/Ugkx6l8deaoP5XtO3p8iqWUAo7tM60l6MUGO
- after 3 breathes, turn from black to green fast
ladislas in leka/LekaOS delete branch ladisals/feature/log-interesting-informations
ladislas pull request leka/LekaOS
ladisals/feature/log interesting informations
- :sparkles: (RobotKit): Add isBleConnected() method
- :loud_sound: (os): Log battery level, charging status & ble status
It looks like this:
000:00:10:043 [INFO] [main.cpp:350] watchdog_kick > ts: 10043, dt: 5000, kck: 3, ble: 0, lvl: 96, chr: 1
000:00:15:043 [INFO] [main.cpp:350] watchdog_kick > ts: 15043, dt: 5000, kck: 4, ble: 0, lvl: 96, chr: 1
000:00:20:043 [INFO] [main.cpp:350] watchdog_kick > ts: 20043, dt: 5000, kck: 5, ble: 0, lvl: 96, chr: 1
This PR will help for #776
ladislas push leka/LekaOS
commit sha: 7dc784d1094a8e8582886d30bb9375dbcbe7103a
push time in 1 week agoladislas push leka/LekaOS
commit sha: a8fc2286ff5207b77e406523e4d5cc7148031277
push time in 1 week agoladislas in leka/LekaOS delete branch ladislas/bugfix/640-fix-command-kit-ble-bug
✨ (bootloader): Add ConfigKit - Write version, Read battery hysteresis offset
Need #732Spike: app/bootloader
Tests obligatoires
bootloader_battery_hysteresis_offset
est bien celle lue dans la fonctionbatteryHysteresisOffset
bootloader_version
a pour seul byte la valeur0x01
avec Hex Fiend par exempleTests facultatifs
bootloader_version
, un nouveau est créé dans le dossierconfig
bootloader_battery_hysteresis_offset
, un nouveau est créé dans le dossierconfig