Commit Graph

24 Commits

Author SHA1 Message Date
Pol Henarejos
f7451f56ed Add support for led dimming and max. brightness.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-09-30 09:21:39 +02:00
Pol Henarejos
af099cd416 Add support to RP2350.
RP2350 does not support RTC, so we use AON timer instead.
2024-08-28 16:42:46 +02:00
Pol Henarejos
9a7be98e6e Settings proper phy options
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-21 22:08:36 +02:00
Pol Henarejos
d1fb4d0c65 Merge branch 'master' into development
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-21 21:14:43 +02:00
Pol Henarejos
79f76a176d Fix time.h header.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-19 23:36:41 +02:00
Pol Henarejos
f20fdc9bda Add missing header.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-19 22:42:19 +02:00
Pol Henarejos
b4671c2ecb Merge branch 'esp32' into development 2024-06-19 22:03:47 +02:00
Pol Henarejos
54cdbfc22c Add PHY OPTS.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-19 22:01:15 +02:00
fastchain
87ffd21543 Update cmd_extras.c
This security fix ensures that the extra settings, cannot be silently disabled, if button control enabled. So the button control setting cannot be silently (without button push) disabled, even if the user's PC is fully compromised.
2024-06-13 16:09:54 +09:00
Pol Henarejos
7cb0bbf982 Merge branch 'development' into esp32
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-06-03 13:06:39 +02:00
Pol Henarejos
218660e694 Only allow change PHY without PIN. PIN is required for other extra options.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-22 23:47:08 +02:00
Pol Henarejos
b034303193 Use new methods search_file() and file_put_data().
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-17 16:36:34 +02:00
Pol Henarejos
fdc41e5856 Add support for PHY command to store and change VIDPID and LED no. dynamically on reboot.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-17 11:50:44 +02:00
Pol Henarejos
aeeb540a2f Add support for PHY command to store and change VIDPID and LED no. dynamically on reboot.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-16 23:22:49 +02:00
Pol Henarejos
d6456b4dde First attempt to add support to ESP32.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-08 19:41:39 +02:00
Pol Henarejos
2b92d89ab7 Fix size_t casting.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-01-02 19:56:38 +01:00
Pol Henarejos
d82affa880 Added support for building emulation in Windows.
It has not been tested but it should not break any linux build.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-01-01 01:55:49 +01:00
Pol Henarejos
cd6e280f4f Switching to new style.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-02-15 00:10:35 +01:00
Pol Henarejos
daaa5bf402 Harmonize coding style.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-02-14 23:13:46 +01:00
Pol Henarejos
742c3f3e3c RTC command is not available in emulation.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-01-12 20:04:23 +01:00
Pol Henarejos
00279da8d5 Adding Secure Lock to lock the device with a random 256 bit key.
This is an extra layer of security to avoid brute force attacks if PIN is too weak.
At every hard reset (on device plug), the device must be unlocked prior any other command. Once unlocked, the device can be used as usual.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-10-31 15:09:54 +01:00
Pol Henarejos
aebb68724a Removing trailing spaces.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-19 01:44:27 +02:00
Pol Henarejos
6956587106 Add newline at the end of file.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-13 23:31:09 +02:00
Pol Henarejos
e6f082d512 Splitting cmd_xxx() functions in separate files.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-13 14:59:27 +02:00