Skip to content

Commit

Permalink
Activate BT on Flex OK
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Sep 26, 2024
1 parent a87eade commit 7e67c01
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions ledger_secure_sdk_sys/sdk_flex.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
#define ST33K1M5
#define HAVE_DISPLAY_FAST_MODE
#define HAVE_SPRINTF
#define NBGL_QRCODE
#define HAVE_SE_EINK_DISPLAY
#define SCREEN_SIZE_WALLET
#define HAVE_NBGL
#define NBGL_USE_CASE
#define HAVE_SE_TOUCH
#define HAVE_PIEZO_SOUND
#define NBGL_PAGE
#define HAVE_LOCAL_APDU_BUFFER
#define IO_HID_EP_LENGTH 64
#define USB_SEGMENT_SIZE 64
Expand All @@ -18,7 +8,26 @@
#define HAVE_USB_APDU
#define __IO volatile
#define IO_USB_MAX_ENDPOINTS 6
#define IO_SEPROXYHAL_BUFFER_SIZE_B 128
#define IO_SEPROXYHAL_BUFFER_SIZE_B 300
#define main _start

#define NBGL_QRCODE

// from Makefile.defines
#define HAVE_BAGL_FONT_INTER_REGULAR_28PX
#define HAVE_BAGL_FONT_INTER_SEMIBOLD_28PX
#define HAVE_BAGL_FONT_INTER_MEDIUM_36PX
#define HAVE_INAPP_BLE_PAIRING
#define HAVE_NBGL
#define HAVE_PIEZO_SOUND
#define HAVE_SE_TOUCH
#define HAVE_SE_EINK_DISPLAY
#define NBGL_PAGE
#define NBGL_USE_CASE
#define SCREEN_SIZE_WALLET
#define HAVE_FAST_HOLD_TO_APPROVE

#define HAVE_BLE
#define HAVE_BLE_APDU
#define HAVE_BLE_APDU
#define BLE_COMMAND_TIMEOUT_MS 2000
#define BLE_SEGMENT_SIZE 32

0 comments on commit 7e67c01

Please sign in to comment.