Commit Graph

  • d530ea6979 Add BE/LE functions. Pol Henarejos 2024-12-23 20:38:46 +01:00
  • f509833a3c Pack file struct for. Pol Henarejos 2024-12-23 20:39:31 +01:00
  • 4f5f2a8854 Add functions to pack/unpack uint32_t and uint64_t. Pol Henarejos 2024-12-23 20:26:52 +01:00
  • ffaf20da5d Add memory statistics. Pol Henarejos 2024-12-23 19:35:56 +01:00
  • e627b3fc86 Fix with string termination. Pol Henarejos 2024-12-17 17:06:08 +01:00
  • 585a6d77e3 Use USB product field in the descriptor. Pol Henarejos 2024-12-17 16:27:11 +01:00
  • 7805131d92 Introduce USB product name as a dynamic field. Pol Henarejos 2024-12-17 16:25:47 +01:00
  • 86999d8cdd Do not debug after write the buffer. Pol Henarejos 2024-12-16 18:42:42 +01:00
  • 6859cedcbf Use PHY value for LED GPIO number. Pol Henarejos 2024-12-16 13:10:35 +01:00
  • 1431f91281 In pure U2F mode, no keepalive is sent by authenticator. Instead, client sends commands to know the status. Pol Henarejos 2024-12-11 22:36:24 +01:00
  • f58bcaecf1 In pure U2F mode, no keepalive is sent by authenticator. Instead, client sends commands to know the status. Pol Henarejos 2024-12-11 22:36:09 +01:00
  • cb4e2ba0eb Fixes for ESP32-S3: - It only supports 4 IN endpoints, so 1 EP must be removed (INT of CCID). - It only supports 8 strings max. Pol Henarejos 2024-12-11 12:14:31 +01:00
  • e9875b358c Fix cancel command. Pol Henarejos 2024-12-03 08:35:20 +01:00
  • fcae98eecc Add support for tinyusb 0.17 in ESP32. Pol Henarejos 2024-12-01 01:23:56 +01:00
  • a61f7683b6 Add option to disable power cycle on reset via Commissioner. Pol Henarejos 2024-12-01 01:07:25 +01:00
  • a271785814 Fix build for RP2350. Pol Henarejos 2024-11-25 23:45:54 +01:00
  • 49758c6ac7 Fix ESP32 build. Pol Henarejos 2024-11-25 22:59:01 +01:00
  • 9f79693025 Fix for Pico SDK 2.1.0 Pol Henarejos 2024-11-25 22:44:00 +01:00
  • 812f075ee4 Add UP button timeout to PHY. Pol Henarejos 2024-11-25 12:57:17 +01:00
  • 6a18e3aa83 Add CCID SET_DATA_RATE_AND_CLOCK command. Pol Henarejos 2024-11-25 12:54:57 +01:00
  • 8c25e9be87 Upgrade to v3.6.2 v7.0 Pol Henarejos 2024-11-09 15:13:43 +01:00
  • 5a52afe826 Upgrade Pico Keys SDK to v7.0 Pol Henarejos 2024-11-09 14:56:50 +01:00
  • 5bce3e4c83 Remove Secure boot build flags, since are added to rescue. Pol Henarejos 2024-11-09 00:23:22 +01:00
  • c877e51240 Add compile flags for optimization build in ESP32. Pol Henarejos 2024-11-09 00:20:16 +01:00
  • 9018ebb55d Fix secure otp build for non rp2350. Pol Henarejos 2024-11-08 19:45:50 +01:00
  • 621d5553e1 Fix PHY missing headers. Pol Henarejos 2024-11-08 19:25:11 +01:00
  • 37e3058015 Add command to enable secure boot and secure lock via rescue. Pol Henarejos 2024-11-08 19:24:33 +01:00
  • daddb7fa57 No options on secure boot and lock in PHY. Pol Henarejos 2024-11-08 19:24:16 +01:00
  • 4da9b89d90 Add function to enable secure boot and secure lock. Pol Henarejos 2024-11-08 19:24:05 +01:00
  • 200413c317 Add macro to make checks. Pol Henarejos 2024-11-08 19:23:45 +01:00
  • 758d7b88cd Add product and mcu to info in rescue mode. Pol Henarejos 2024-11-07 20:00:30 +01:00
  • cf36c2988c Add DEV key to OTP. Pol Henarejos 2024-11-07 00:15:58 +01:00
  • f38e0619b8 Remove printf Pol Henarejos 2024-11-06 23:42:55 +01:00
  • 5f27c0d75d Fix esp32 build with wcid. Pol Henarejos 2024-11-06 17:11:39 +01:00
  • 3dbf969e12 WCID interface is always enabled. Pol Henarejos 2024-11-06 17:02:38 +01:00
  • e85d77c084 Fix version header. Pol Henarejos 2024-11-05 18:36:59 +01:00
  • 6625678c30 Rename CCID_ codes to PICOKEY_ Pol Henarejos 2024-11-05 18:21:24 +01:00
  • 242e357a74 Add rescue app to communicate via webUSB. Pol Henarejos 2024-11-05 18:03:19 +01:00
  • 5399149b9d Increase number of hosted apps to 8. Pol Henarejos 2024-11-05 18:03:00 +01:00
  • 0edb1f370f Fix HID report descriptors. Pol Henarejos 2024-11-05 15:23:34 +01:00
  • 27a685b931 Fix usb initialization for emulation. Pol Henarejos 2024-11-05 09:42:27 +01:00
  • e4a3124876 Fix PHY for led neopixel. Pol Henarejos 2024-11-05 00:28:46 +01:00
  • 0638409ff8 Refactor PHY to support more flexible and scalable architecture. Pol Henarejos 2024-11-05 00:25:41 +01:00
  • 802df9e705 Add flags to enable secure boot and secure boot lock via firmware on boot. Pol Henarejos 2024-11-04 18:31:34 +01:00
  • 6f7d92a591 Add parse phy byte string. Pol Henarejos 2024-11-04 18:25:05 +01:00
  • 62c3d0c360 Add OTP read raw. Pol Henarejos 2024-10-28 00:15:13 +01:00
  • 6216cd24be Make public read/write RP2350 OTP functions. Pol Henarejos 2024-10-13 20:22:16 +02:00
  • 32eed01508 Use non-guarded OTP reads to avoid bus faults. Pol Henarejos 2024-10-13 20:21:43 +02:00
  • 84c3efd782 Let detect macos target. Pol Henarejos 2024-10-01 13:29:09 +02:00
  • cec3b4c7f6 Do not pack file_t to avoid misalignments. Pol Henarejos 2024-10-01 13:28:52 +02:00
  • e2b3eacd89 Fix indent getting version Pol Henarejos 2024-09-30 09:07:52 +02:00
  • a816b6f747 Added PHY options to control the brigthness of the LED and its dimming. Pol Henarejos 2024-09-27 20:55:49 +02:00
  • 058473dce9 Add LED compatibility for other boards. Pol Henarejos 2024-09-27 19:57:58 +02:00
  • 037e760879 For compatibility with single led boards, mounted/not mounted led modes have to blink. Pol Henarejos 2024-09-27 19:38:40 +02:00
  • 50e54ed984 Fix float casting, otherwise it is always 0. Pol Henarejos 2024-09-27 19:37:57 +02:00
  • e32870bedb Merge pull request #5 from benallard/led Pol Henarejos 2024-09-27 19:17:06 +02:00
  • c0012fe2a2 Use the correct shifting value Benoît Allard 2024-09-26 19:21:21 +02:00
  • 01d1856fcc Add brightness to the LED mode. Benoît Allard 2024-09-25 23:20:48 +02:00
  • 7a0b67f3cb led: Rename 'blink' to 'mode' Benoît Allard 2024-09-25 21:46:33 +02:00
  • fe396bc5b8 Fix ESP & emulation build. Pol Henarejos 2024-09-25 19:40:22 +02:00
  • 15d81be6de Specify led driver for each board. Pol Henarejos 2024-09-25 19:28:58 +02:00
  • 268ab824ce Add cmake scripts. Pol Henarejos 2024-09-25 19:28:27 +02:00
  • 86674fd6ca Fix build for WS2812 boards. Pol Henarejos 2024-09-25 12:00:50 +02:00
  • 30df1d9202 Fix build for boards with WS2812. Pol Henarejos 2024-09-25 11:33:14 +02:00
  • 839e8244d9 Fix header in Linux. Fixes #63 Pol Henarejos 2024-09-19 18:25:41 +02:00
  • 739e9f1b98 Added ESP32 OTP support. Pol Henarejos 2024-09-16 00:50:50 +02:00
  • cafb6a4774 Not used Pol Henarejos 2024-09-16 00:49:31 +02:00
  • 1bf323c367 Fix build. Pol Henarejos 2024-09-13 08:47:32 +02:00
  • 3d52921ef5 Add sha256_alt to use sha256 hardware in RP2350. Pol Henarejos 2024-09-13 00:26:44 +02:00
  • f8a05f4832 Fix maxPower and dwProtocols (recover T=0). Pol Henarejos 2024-09-12 19:42:49 +02:00
  • 2011cfd35e In Windows, report ID shall start from 1. Pol Henarejos 2024-09-12 19:17:59 +02:00
  • 108cfec47c Enable OTP to store a permanent secret key. Pol Henarejos 2024-09-11 23:16:23 +02:00
  • d3d2f021e7 Use debug header Pol Henarejos 2024-09-11 23:15:29 +02:00
  • e70552a298 Move debug to dedicated header Pol Henarejos 2024-09-11 23:15:09 +02:00
  • 952e7791b0 Add json file to enable Secure Boot in RP2350. Pol Henarejos 2024-09-11 23:13:03 +02:00
  • 76ba851df1 Use internal TRNG of Pico. Pol Henarejos 2024-09-06 15:16:34 +02:00
  • 3cbbb6a16c Add signature and copy_to_ram if supports it Pol Henarejos 2024-09-05 07:43:56 +02:00
  • 697e2fd263 Add macro to parse version file and set pico_binary_version accordingly. Pol Henarejos 2024-09-04 01:30:23 +02:00
  • 4711ae768a Move some functions to emulation header. Pol Henarejos 2024-09-03 18:07:50 +02:00
  • ea6303de81 Add new led module to use colors whenever is possible. Pol Henarejos 2024-09-03 18:07:37 +02:00
  • 460111d29e Upgrade to MbedTLS 3.6.1 Pol Henarejos 2024-09-03 10:29:02 +02:00
  • 70622a9a3b Fix emulation build. Pol Henarejos 2024-09-03 10:28:50 +02:00
  • bc34efed5c Fix LED blink when ON/OFF. Pol Henarejos 2024-09-02 18:20:52 +02:00
  • 20099b61e8 Fix ESP32 GPIO led no. Pol Henarejos 2024-09-02 17:28:18 +02:00
  • 9f65a2cfa0 Fix BOOT press with RP2350. Pol Henarejos 2024-09-02 09:48:04 +02:00
  • 294c1fdf41 Fix USB descriptor in case only HID is enabled. Pol Henarejos 2024-09-02 09:46:51 +02:00
  • 83c2eaa0b2 Remove printf. Pol Henarejos 2024-09-02 09:46:32 +02:00
  • 1c16bad83a Remove unusued var. Pol Henarejos 2024-09-02 09:46:12 +02:00
  • 3235cd8595 Use mutex/semaphores for emulation, like in Pico and ESP. Pol Henarejos 2024-08-30 12:42:22 +02:00
  • f8c4106367 Clear otp report before processing. Pol Henarejos 2024-08-30 00:33:48 +02:00
  • e8b060abb3 Call reset multicore before launching the thread. Pol Henarejos 2024-08-30 00:33:31 +02:00
  • 4cf8d77609 Fix partition 0 boot. Pol Henarejos 2024-08-29 16:29:11 +02:00
  • 2497b633ae Fix flash initialization for RP2350. Pol Henarejos 2024-08-28 18:47:31 +02:00
  • 0560e49b5c Add PICO_PLATFORM macro. Pol Henarejos 2024-08-28 18:47:07 +02:00
  • af06fb367e Add partitions to RP2350. Pol Henarejos 2024-08-28 18:46:12 +02:00
  • 6f64a6b5ac Move ESP32 partitions file. Pol Henarejos 2024-08-28 18:44:00 +02:00
  • 2d6545f191 Add support to RP2350. Pol Henarejos 2024-08-28 16:42:46 +02:00
  • c2eda3ca53 Fix USB/CCID writes when APDU is longer than 64 bytes. Pol Henarejos 2024-08-26 22:41:46 +02:00
  • 23dcc91add Fix vendord usb tx buffer size. Pol Henarejos 2024-08-26 22:40:44 +02:00
  • e871c52f18 Fix long writes. Pol Henarejos 2024-08-26 02:18:53 +02:00