Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing API or feature for Nano on NBGL (API_LEVEL_22) #847

Closed
wants to merge 74 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
95e88d5
Add `api_levels.json`
abonnaudet-ledger Oct 1, 2024
0c27c8e
Doc: Update README.md API_LEVEL section
abonnaudet-ledger Oct 1, 2024
91bcfcf
Add Return status to syscall for nvram
Sep 23, 2024
5969dfb
Merge pull request #789 from LedgerHQ/abo_api_levels_doc
abonnaudet-ledger Oct 7, 2024
f3f72ed
Add navigable content use case to replace settings use case
nroggeman-ledger Oct 1, 2024
2744623
Merge pull request #791 from LedgerHQ/FWEO-1223_Flash_Diagnostic
kmeudic-ledger Oct 7, 2024
d12f643
Now uses clang for all steps of the standard app build by default
apaillier-ledger Oct 7, 2024
036331f
Fix crashing address review after a blind signing review
nroggeman-ledger Oct 10, 2024
53b66eb
Merge pull request #790 from LedgerHQ/add-navigable-content-use-case
nroggeman-ledger Oct 7, 2024
6a5f785
Disables unused cli argument warnings from clang assembler
apaillier-ledger Oct 10, 2024
b9dd667
Move flags member of the application structure in order to remove hol…
tjoly-ledger Oct 9, 2024
b490f67
Merge pull request #795 from LedgerHQ/fix-address-review-after-blind-…
nroggeman-ledger Oct 10, 2024
cd37fce
Now uses same optimization level for compiling and assembling with clang
apaillier-ledger Oct 10, 2024
c9be585
Merge pull request #794 from LedgerHQ/tjo_align_struct_application
tjoly-ledger Oct 10, 2024
ab01ade
Create a QR Code type of modal window for Tag/Value alias
nroggeman-ledger Oct 14, 2024
93ff8c5
Merge pull request #793 from LedgerHQ/feat/apa/only_clang_std_app
apaillier-ledger Oct 14, 2024
de00225
No "swipe to review" in first page of review if using a Tip-Box
nroggeman-ledger Oct 15, 2024
d8041d5
Merge pull request #797 from LedgerHQ/add-qr-code-screen-for-tag-valu…
nroggeman-ledger Oct 14, 2024
a305b6b
cx_aes_siv: Add new function to reset AES hw copro
jarevalo-ledger Oct 7, 2024
50b1695
Merge pull request #800 from LedgerHQ/no-swipe-to-review-if-tip-box
nroggeman-ledger Oct 15, 2024
8676173
Add extension to INFOS_LIST to enable alias for some info types
nroggeman-ledger Oct 16, 2024
a82cdbb
Merge pull request #799 from LedgerHQ/issue-2763
jarevalo-ledger Oct 16, 2024
305a708
Display QR Code title different from URL in alias
nroggeman-ledger Oct 17, 2024
1c75c4e
Merge pull request #801 from LedgerHQ/add-extension-to-infos-list
nroggeman-ledger Oct 17, 2024
caaf780
Use current PR branch when compiling C SDK
yogh333 Oct 17, 2024
4064509
Merge pull request #803 from LedgerHQ/display-qrcode-title-different-…
nroggeman-ledger Oct 17, 2024
1d9b04b
Cleaned up arguments passed to the assembler
apaillier-ledger Oct 16, 2024
850a050
Merge pull request #805 from LedgerHQ/y333_241017/fix_rustsdk_ci
yogh333 Oct 17, 2024
7c13749
Fix error when setting `DISABLE_STANDARD_USB = 1` in standard app Mak…
aido Oct 18, 2024
015a8b2
Merge pull request #804 from LedgerHQ/clean/apa/assembler_arguments
apaillier-ledger Oct 17, 2024
355352c
Merge pull request #808 from aido/disable_standard_usb
apaillier-ledger Oct 21, 2024
8f2486f
Set API_LEVEL to 22
abonnaudet-ledger Oct 21, 2024
b52fd97
Minor fixes in infos-list with alias display (touchable area, icon, t…
nroggeman-ledger Oct 22, 2024
9682d35
Merge pull request #816 from LedgerHQ/minor-fix-in-info-list-with-ali…
nroggeman-ledger Oct 23, 2024
ec96367
nanox: fix inactivity shutdown issue.
Nov 7, 2024
598aafa
Merge pull request #820 from LedgerHQ/abo_update_api_level_22
abonnaudet-ledger Nov 8, 2024
3355db0
NBGL Nano: Check onActionCallback validity
abonnaudet-ledger Nov 15, 2024
49a5886
Merge pull request #825 from LedgerHQ/abo_update_api_22_check_null_ptr
abonnaudet-ledger Nov 15, 2024
5fcfe7f
Make the info list property in nbgl_tipBox_t non-const
apaillier-ledger Nov 26, 2024
525c53e
Merge pull request #829 from LedgerHQ/cherry_pick_22
apaillier-ledger Nov 26, 2024
b0725a8
Fix nano backspace key behavior
jarevalo-ledger Dec 9, 2024
b3b059d
Fix nano keypad shuffling
jarevalo-ledger Dec 9, 2024
0f3417c
Merge pull request #833 from LedgerHQ/cherry-pick-pinpas-nano
jarevalo-ledger Dec 10, 2024
c254169
New hardcoded sysroot fallback in case GCC wasn't compiled with one
apaillier-ledger Jan 13, 2025
0d6a579
Simplifies optimization / debugging levels
apaillier-ledger Jan 13, 2025
67b630e
Lowers the debugging level for compatibility with newer versions of LLVM
apaillier-ledger Jan 22, 2025
284a0da
Merge pull request #842 from LedgerHQ/cherry_pick_22
apaillier-ledger Jan 22, 2025
dff9c21
Add privacy report warning in NBGL Use Case
nroggeman-ledger Jan 9, 2025
7338101
Fix minor issues in Blind Signing review
nroggeman-ledger Jan 10, 2025
734c9dc
Add report provider name in warning structure and support streaming r…
nroggeman-ledger Jan 14, 2025
f7e34bd
Document review with warning Use Case API
nroggeman-ledger Jan 14, 2025
b8374c1
Add empty footer in warning screens
nroggeman-ledger Jan 23, 2025
fb6ff49
Fix case when multi-pages text contains '\n' at page break
nroggeman-ledger Jan 24, 2025
22030ae
Remove call to missing field in Use Case in level 22
nroggeman-ledger Jan 27, 2025
96cf6e2
Merge pull request #846 from LedgerHQ/add-privacy-report-warning-use-…
nroggeman-ledger Jan 27, 2025
e51e770
Update actions/upload-artifact to v4
cedelavergne-ledger Jan 23, 2025
ef691e8
Add missing API nbgl_useCaseGetNbxxx
cedelavergne-ledger Jan 17, 2025
a4ff2aa
Add missing API nbgl_useCaseGenericSettings & nbgl_useCaseGenericConf…
cedelavergne-ledger Jan 17, 2025
66dc145
Improve nbgl_useCaseStatus to support icon display
cedelavergne-ledger Jan 17, 2025
e389e53
Add missing API nbgl_useCaseConfirm - support modal screens
cedelavergne-ledger Jan 17, 2025
67809bc
Add missing API nbgl_useCaseReviewBlindSigning
cedelavergne-ledger Jan 17, 2025
ec36b19
Add support of reviewSubTitle in streaming review
cedelavergne-ledger Jan 17, 2025
9306175
Add missing API nbgl_useCaseReviewStreamingBlindSigningStart - factor…
cedelavergne-ledger Jan 17, 2025
73fb30c
Optimize displayStreamingReviewPage
cedelavergne-ledger Jan 17, 2025
1792fd1
Add support for 'action' in Home&Settings
cedelavergne-ledger Jan 17, 2025
f0df3a5
Add missing API nbgl_useCaseNavigableContent
cedelavergne-ledger Jan 17, 2025
f62bba4
Add missing API nbgl_useCaseGenericReview
cedelavergne-ledger Jan 17, 2025
e72700a
Fix nbgl_useCaseAddressReview
cedelavergne-ledger Jan 18, 2025
9ca4bfa
Fix nbgl_useCaseSpinner removing navigation
cedelavergne-ledger Jan 24, 2025
6e6ca54
Optimize and factorize code
cedelavergne-ledger Jan 17, 2025
62f63bd
Add new content types: CENTERED_INFO, INFO_BUTTON, BARS_LIST & CHOICE…
cedelavergne-ledger Jan 17, 2025
cac1d81
Add Vertical Navigation for CHOICES_LIST & BARS_LIST under compilatio…
cedelavergne-ledger Jan 20, 2025
f2d8bf0
Add missing API nbgl_useCaseKeypadDigits & nbgl_useCaseKeypadPIN
cedelavergne-ledger Jan 18, 2025
d3a6d93
Update documentation accordingly to new NBGL cases on Nano devices
cedelavergne-ledger Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build_rust_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: actions/checkout@v4
with:
path: c_sdk
ref: master
- name: Clone Rust SDK
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_clang_static_analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
make scan-build -j ENABLE_SDK_WERROR=1 DEBUG=${{ matrix.debug }}

- name: Upload scan result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: scan-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
genhtml coverage.info -o coverage


- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: code-coverage
path: unit-tests/lib_*/coverage
Expand Down
31 changes: 14 additions & 17 deletions Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __MAKEFILE_DEFINES__ := 1

include $(BOLOS_SDK)/Makefile.target

API_LEVEL := 0
API_LEVEL := 22

# APPNAME exposed to the app as a CFLAG because it might contain spaces
CFLAGS += -DAPPNAME=\"$(APPNAME)\"
Expand Down Expand Up @@ -50,23 +50,23 @@ endif

SYSROOT = $(shell $(GCCPATH)arm-none-eabi-gcc -print-sysroot)
ifeq ($(SYSROOT),)
CFLAGS += -I/usr/include
else
CFLAGS += --sysroot="$(SYSROOT)"
# path for Debian-based systems
SYSROOT = /usr/lib/arm-none-eabi
endif
CFLAGS += --sysroot="$(SYSROOT)"

# optimization and debug levels
# optimization and debugging levels
ifneq ($(DEBUG),0)
OPTI_LVL = -Og
OPTI_ALVL = $(OPTI_LVL)
DBG_LVL = -g3
OPTI_LVL = g
# any higher won't work with LLVM >= 14
# will be fixed in LLVM 20 : https://github.com/llvm/llvm-project/pull/116956
DBG_LVL = 1
else
OPTI_LVL = -Oz
OPTI_ALVL = -Os # assembler does not handle -Oz, use -Os instead
DBG_LVL = -g0
OPTI_LVL = z
DBG_LVL = 0
endif
CFLAGS += -O$(OPTI_LVL) -g$(DBG_LVL)

CFLAGS += $(OPTI_LVL) $(DBG_LVL)
CFLAGS += -fomit-frame-pointer -momit-leaf-frame-pointer

CFLAGS += -fno-common -mlittle-endian
Expand All @@ -91,9 +91,6 @@ CFLAGS += -fropi
CFLAGS += -fno-jump-tables # avoid jump tables for switch to avoid problems with invalid PIC access
CFLAGS += -nostdlib -nodefaultlibs

AFLAGS += $(OPTI_ALVL) $(DBG_LVL) -fno-common

LDFLAGS += $(OPTI_LVL) $(DBG_LVL)
LDFLAGS += -fomit-frame-pointer
LDFLAGS += -Wall
LDFLAGS += -fno-common -ffunction-sections -fdata-sections -fwhole-program
Expand All @@ -103,7 +100,7 @@ LDFLAGS += -Wl,--gc-sections -Wl,-Map,$(DBG_DIR)/app.map
ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_NANOS))
CFLAGS += --target=armv6m-none-eabi -mthumb
CFLAGS += -mcpu=cortex-m0plus -mthumb -mtune=cortex-m0plus
AFLAGS += -mcpu=cortex-m0plus -mtune=cortex-m0plus -mthumb
AFLAGS += -mcpu=cortex-m0plus -mthumb
LDFLAGS += -mcpu=cortex-m0plus -mthumb
LDFLAGS += -nostartfiles --specs=nano.specs
endif
Expand All @@ -117,7 +114,7 @@ LDFLAGS += -mtune=cortex-m0plus -mlittle-endian -mcpu=cortex-m0plus
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
LDFLAGS += -mno-movt
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
AFLAGS += -mcpu=cortex-m0plus -mtune=cortex-m0plus -mthumb
AFLAGS += -mcpu=cortex-m0plus -mthumb
endif

ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2))
Expand Down
14 changes: 7 additions & 7 deletions Makefile.rules_generic
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ $(OBJ_DIR)/app/%.o: $(APP_DIR)/%.c $(BUILD_DEPENDENCIES) prepare

$(OBJ_DIR)/app/%.o: $(APP_DIR)/%.s $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

$(OBJ_DIR)/app/%.o: $(APP_DIR)/%.S $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

# SDK files targets
$(OBJ_DIR)/sdk/%.o: $(BOLOS_SDK)/%.c $(BUILD_DEPENDENCIES) prepare
Expand All @@ -105,11 +105,11 @@ $(OBJ_DIR)/sdk/%.o: $(BOLOS_SDK)/%.c $(BUILD_DEPENDENCIES) prepare

$(OBJ_DIR)/sdk/%.o: $(BOLOS_SDK)/%.s $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

$(OBJ_DIR)/sdk/%.o: $(BOLOS_SDK)/%.S $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

# Generic targets
$(OBJ_DIR)/%.o: %.c $(BUILD_DEPENDENCIES) prepare
Expand All @@ -118,11 +118,11 @@ $(OBJ_DIR)/%.o: %.c $(BUILD_DEPENDENCIES) prepare

$(OBJ_DIR)/%.o: %.s $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

$(OBJ_DIR)/%.o: %.S $(BUILD_DEPENDENCIES) prepare
@echo "[AS] $@"
$(L)$(call as_cmdline,$(INCLUDES_PATH), $(DEFINES),$<,$@)
$(L)$(call as_cmdline,$(INCLUDES_PATH),$<,$@)

ifeq (,$(filter $(DEFINES),BOLOS_OS_UPGRADER_APP))
ifneq ($(SCRIPT_LD),)
Expand Down Expand Up @@ -197,7 +197,7 @@ endif
# dependency files are generated along the object file
cc_cmdline = $(CC) -c $(CFLAGS) -MMD -MT $(4) -MF $(subst $(OBJ_DIR), $(DEP_DIR), $(addsuffix .d, $(basename $(4)))) $(addprefix -D,$(2)) $(addprefix -I,$(1)) -o $(4) $(3)

as_cmdline = $(AS) -c $(AFLAGS) $(addprefix -D,$(2)) $(addprefix -I,$(1)) -o $(4) $(3)
as_cmdline = $(AS) -c $(AFLAGS) $(addprefix -I,$(1)) -o $(3) $(2)

### END GCC COMPILER RULES

Expand Down
7 changes: 5 additions & 2 deletions Makefile.standard_app
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,11 @@ APP_FLAGS_APP_LOAD_PARAMS = $(shell printf '0x%x' $$(( $(STANDARD_APP_FLAGS) + $
# COMPILER SETTINGS #
#####################################################################
CC := $(CLANGPATH)clang
AS := $(GCCPATH)arm-none-eabi-gcc
LD := $(GCCPATH)arm-none-eabi-gcc
AS := $(CLANGPATH)clang
LD := $(CLANGPATH)clang
ifeq ($(AS),$(CLANGPATH)clang)
AFLAGS += --target=arm-arm-none-eabi
endif
LDLIBS += -lm -lgcc -lc

#####################################################################
Expand Down
45 changes: 17 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,34 +55,23 @@ In short, to build an app for an OS, you should:

## About API_LEVEL branches

This list the API_LEVEL branches with their purposed (corresponding OS) and state if they should still be patched or not (OS not “active” anymore).
OS release candidates are only kept in the list when a corresponding OS release production might be released on the same API_LEVEL.

| Name | Related OS | Active
|---------|-------------------------------------------------------------------------------------------------------------------------------|-------------------
| LNS | <br/> nanos_2.1.0 | :heavy_check_mark:
| 1 | nanox_2.1.0 <br/> nanos+_1.1.0 | :x:
| 2 | only rc releases | :x:
| 3 | only rc releases | :x:
| 4 | only rc releases | :x:
| 5 | nanox_2.2.{0, 1, 2, 3} <br/> nanos+ 1.1.1 | :heavy_check_mark:
| 6 | only rc releases | :x:
| 7 / 7.1 | only rc releases | :x:
| 7.2 | only rc releases<br/> (not compatible due <br/> to font update) | :x:
| 8 | stax_1.0.0 | :x:
| 9 | only rc releases | :x:
| 10 | stax_1.1.0 | :x:
| 11 | stax_1.2.0 <br/> stax_1.2.1 | :x:
| 12 | nanox_2.3.0-rc2 <br/> nanos+_1.2.0-rc2 | :x:
| 13 | stax_1.3.0 | :x:
| 14 | only rc releases | :x:
| 15 | stax_1.4.0 | :heavy_check_mark:
| 16 | europa_0.1.0-re1 | :x:
| 17 | europa_0.1.0-re2 | :x:
| 18 | europa_0.1.0-re3 <br/> flex_0.2.0-rc1 <br /> flex_0.2.0-rc2 <br /> nanox_2.3.0-rc5 <br/> nanos+_1.2.0-rc5 <br/> nanos+_1.2.0 | :heavy_check_mark:
| 19 | flex_1.0.0-rc1 <br/> flex_1.0.0-rc2 <br/> flex_1.0.0 <br/> flex_1.0.1 <br/> | :x:
| 20 | stax_1.5.0-rc1 <br/> flex_1.1.0-rc1 | :x:
| 21 | stax_1.5.0-rc2 <br/> flex_1.1.0-rc2 <br/> stax_1.5.0 <br/> flex_1.1.0 <br/> flex_1.1.1 <br/> | :heavy_check_mark:
This list the main API_LEVEL branches with their purposed (corresponding OS) and state if they should still be patched or not (OS not “active” anymore).

The full mapping of API_LEVEL branches, including OS release candidates, is available [here](api_levels.json).

| Name | Related OS | Active |
| ---- | -------------------------------------------------- | ------------------ |
| LNS | <br/> nanos_2.1.0 | :heavy_check_mark: |
| 1 | nanox_2.1.0 <br/> nanos+_1.1.0 | :x: |
| 5 | nanox_2.2.{0, 1, 2, 3} <br/> nanos+ 1.1.1 | :heavy_check_mark: |
| 8 | stax_1.0.0 | :x: |
| 10 | stax_1.1.0 | :x: |
| 11 | stax_1.2.0 <br/> stax_1.2.1 | :x: |
| 13 | stax_1.3.0 | :x: |
| 15 | stax_1.4.0 | :x: |
| 18 | nanos+_1.2.0 | :heavy_check_mark: |
| 19 | flex_1.0.0 <br/> flex_1.0.1 <br/> | :x: |
| 21 | stax_1.5.0 <br/> flex_1.1.0 <br/> flex_1.1.1 <br/> | :heavy_check_mark: |

### Cherry-picking process:

Expand Down
98 changes: 98 additions & 0 deletions api_levels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"LNS": [
"nanos_2.1.0"
],
"1": [
"nanox_2.1.0",
"nanos+_1.1.0"
],
"2": [
"only rc releases"
],
"3": [
"only rc releases"
],
"4": [
"only rc releases"
],
"5": [
"nanox_2.2.0",
"nanox_2.2.1",
"nanox_2.2.2",
"nanox_2.2.3",
"nanos+_1.1.1"
],
"6": [
"only rc releases"
],
"7": [
"only rc releases"
],
"7.1": [
"only rc releases"
],
"7.2": [
"only rc releases"
],
"8": [
"stax_1.0.0"
],
"9": [
"only rc releases"
],
"10": [
"stax_1.1.0"
],
"11": [
"stax_1.2.0",
"stax_1.2.1"
],
"12": [
"nanox_2.3.0-rc2",
"nanos+_1.2.0-rc2"
],
"13": [
"stax_1.3.0"
],
"14": [
"only rc releases"
],
"15": [
"stax_1.4.0"
],
"16": [
"europa_0.1.0-re1"
],
"17": [
"europa_0.1.0-re2"
],
"18": [
"europa_0.1.0-re3",
"flex_0.2.0-rc1",
"flex_0.2.0-rc2",
"nanox_2.3.0-rc5",
"nanos+_1.2.0-rc5",
"nanos+_1.2.0"
],
"19": [
"flex_1.0.0-rc1",
"flex_1.0.0-rc2",
"flex_1.0.0",
"flex_1.0.1"
],
"20": [
"stax_1.5.0-rc1",
"flex_1.1.0-rc1"
],
"21": [
"stax_1.5.0-rc2",
"flex_1.1.0-rc2",
"stax_1.5.0",
"flex_1.1.0",
"flex_1.1.1",
"nanos+_1.3.0-rc1",
"nanox_2.4.0-rc1",
"stax_1.6.0-rc1",
"flex_1.2.0-rc1"
]
}
13 changes: 0 additions & 13 deletions doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,6 @@ TAB_SIZE = 4

ALIASES =

# This tag can be used to specify a number of word-keyword mappings (TCL only).
# A mapping has the form "name=value". For example adding "class=itcl::class"
# will allow you to use the command class in the itcl::class meaning.

TCL_SUBST =

# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
# only. Doxygen will then generate output that is more tailored for C. For
# instance, some of the names that are used will be different. The list of all
Expand Down Expand Up @@ -1182,13 +1176,6 @@ CLANG_DATABASE_PATH =

ALPHABETICAL_INDEX = YES

# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
# which the alphabetical index list will be split.
# Minimum value: 1, maximum value: 20, default value: 5.
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.

COLS_IN_ALPHA_INDEX = 5

# In case all classes in a project start with a common prefix, all classes will
# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
# can be used to specify a prefix (or a list of prefixes) that should be ignored
Expand Down
6 changes: 3 additions & 3 deletions doc/mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section mainpage_intro Introduction

This documentation describes the different interfaces of Embedded SDK,
for \b Nano X, \b Nano S+ and \b Stax applications development.
for \b Nano X, \b Nano S+ \b Stax and \b Flex applications development.

@section ble_presentation BlueTooth Low-Energy Interface

Expand All @@ -16,7 +16,7 @@ The @subpage cxng_mainpage page contains all information necessary to understand
@section nbgl_presentation Screen drawing API

The @subpage nbgl_mainpage page contains all information necessary to understand the Graphical Library for
\b Stax, \b NanoX and \b NanoS+ applications development.
\b Stax, \b Flex, \b NanoX and \b NanoS+ applications development.

@section nfc_presentation NFC Interface

Expand Down Expand Up @@ -50,7 +50,7 @@ The @subpage ux_mainpage page contains all information necessary to user the Use
@subsection ux_nbgl_presentation User eXperience on Applications using \b NBGL

The @subpage ux_nbgl_mainpage page contains all information necessary to user the User eXperience for
\b Stax, \b NanoX and \b NanoS+ applications development using \b NBGL (most recent ones).
\b Stax, \b Flex, \b NanoX and \b NanoS+ applications development using \b NBGL (most recent ones).


*/
1 change: 1 addition & 0 deletions include/cx_stubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,4 @@
#define _NR_cx_cmac_start 0x8d
#define _NR_cx_cmac_update 0x8e
#define _NR_cx_cmac_finish 0x8f
#define _NR_cx_aes_siv_reset 0x90
6 changes: 3 additions & 3 deletions include/os_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ typedef void (*appmain_t)(void);

// application slot description
typedef struct application_s {
// special flags for this application
uint64_t flags;

// nvram start address for this application (to check overlap when loading, and mpu lock)
unsigned char *nvram_begin;
// nvram stop address (exclusive) for this application (to check overlap when loading, and mpu
Expand All @@ -38,9 +41,6 @@ typedef struct application_s {
// into Thumb code
appmain_t main;

// special flags for this application
uint64_t flags;

// Memory organization: [ code (RX) |alignpage| data (RW) |alignpage| install params (R) ]

// length of the code section of the application (RX)
Expand Down
Loading
Loading