Skip to content

Commit

Permalink
Modify SDK to build App with shared low-level NBGL functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nroggeman-ledger committed Aug 26, 2024
1 parent 10866ba commit c68e9d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/cx_stubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
#define _NR_cx_cmac_start 0x8d
#define _NR_cx_cmac_update 0x8e
#define _NR_cx_cmac_finish 0x8f
#define _NR_nbgl_redrawObject 0x90
#define _NR_nbgl_objDraw 0x90
#define _NR_nbgl_refresh 0x91
#define _NR_nbgl_refreshSpecial 0x92
#define _NR_nbgl_refreshSpecialWithPostRefresh 0x93
Expand Down
2 changes: 1 addition & 1 deletion lib_cxng/cx.export
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ cx_cipher_reset
cx_cmac_start
cx_cmac_update
cx_cmac_finish
nbgl_redrawObject
nbgl_objDraw
nbgl_refresh
nbgl_refreshSpecial
nbgl_refreshSpecialWithPostRefresh
Expand Down
2 changes: 1 addition & 1 deletion lib_cxng/src/cx_exported_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ unsigned long __attribute((section("._cx_exported_functions"))) cx_exported_func
[_NR_cx_cmac_start] = (unsigned long) cx_cmac_start,
[_NR_cx_cmac_update] = (unsigned long) cx_cmac_update,
[_NR_cx_cmac_finish] = (unsigned long) cx_cmac_finish,
[_NR_nbgl_redrawObject] = (unsigned long) nbgl_redrawObject,
[_NR_nbgl_objDraw] = (unsigned long) nbgl_objDraw,
[_NR_nbgl_refresh] = (unsigned long) nbgl_refresh,
[_NR_nbgl_refreshSpecial] = (unsigned long) nbgl_refreshSpecial,
[_NR_nbgl_refreshSpecialWithPostRefresh] = (unsigned long) nbgl_refreshSpecialWithPostRefresh,
Expand Down
2 changes: 1 addition & 1 deletion src/cx_stubs.S
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ CX_TRAMPOLINE _NR_cx_cipher_reset cx_cipher_reset
CX_TRAMPOLINE _NR_cx_cmac_start cx_cmac_start
CX_TRAMPOLINE _NR_cx_cmac_update cx_cmac_update
CX_TRAMPOLINE _NR_cx_cmac_finish cx_cmac_finish
CX_TRAMPOLINE _NR_nbgl_redrawObject nbgl_redrawObject
CX_TRAMPOLINE _NR_nbgl_objDraw nbgl_objDraw
CX_TRAMPOLINE _NR_nbgl_refresh nbgl_refresh
CX_TRAMPOLINE _NR_nbgl_refreshSpecial nbgl_refreshSpecial
CX_TRAMPOLINE _NR_nbgl_refreshSpecialWithPostRefresh nbgl_refreshSpecialWithPostRefresh
Expand Down

0 comments on commit c68e9d4

Please sign in to comment.