diff --git a/speculos/cxlib/stax-api-level-cx-21.elf b/speculos/cxlib/stax-api-level-cx-21.elf new file mode 100644 index 00000000..c5b562f8 Binary files /dev/null and b/speculos/cxlib/stax-api-level-cx-21.elf differ diff --git a/speculos/fonts/stax-fonts-21.bin b/speculos/fonts/stax-fonts-21.bin new file mode 120000 index 00000000..1ff63ee0 --- /dev/null +++ b/speculos/fonts/stax-fonts-21.bin @@ -0,0 +1 @@ +stax-fonts-20.bin \ No newline at end of file diff --git a/src/launcher.c b/src/launcher.c index 4ba4a05e..b036b5aa 100644 --- a/src/launcher.c +++ b/src/launcher.c @@ -818,7 +818,7 @@ int main(int argc, char *argv[]) sdk_version != SDK_API_LEVEL_10 && sdk_version != SDK_API_LEVEL_11 && sdk_version != SDK_API_LEVEL_12 && sdk_version != SDK_API_LEVEL_13 && sdk_version != SDK_API_LEVEL_14 && sdk_version != SDK_API_LEVEL_15 && - sdk_version != SDK_API_LEVEL_20) { + sdk_version != SDK_API_LEVEL_20 && sdk_version != SDK_API_LEVEL_21) { errx(1, "invalid SDK version for the Ledger Stax"); } break; diff --git a/src/sdk.h b/src/sdk.h index cd3f70b2..21474684 100644 --- a/src/sdk.h +++ b/src/sdk.h @@ -35,6 +35,7 @@ typedef enum { SDK_API_LEVEL_18, SDK_API_LEVEL_19, SDK_API_LEVEL_20, + SDK_API_LEVEL_21, SDK_COUNT } sdk_version_t;