You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For compilation for JavaCards, you need to obtain JavaCard SDKs, which are included as submodule. If your libs-sdks folder is empty, run:
53
+
For compilation for JavaCards, you need to obtain JavaCard SDKs, which are included as submodule. If you did not use `--recurse-submodules` in the previous command and your libs-sdks folder is empty, run:
54
54
55
55
```
56
56
git submodule update --init --recursive
57
57
```
58
58
59
-
Before using JCMathLib in your projects, you should test that it works properly on your smartcard. For that, you may want to run UnitTests. If you plan to work only with a simulator, you can skip to the last step
60
-
of [the following section](#running-unit-tests).
59
+
Before using JCMathLib in your projects, you should test that it works properly on your smartcard. For that, you may want to run UnitTests. If you plan to work only with a simulator, you can skip to the last step of [the following section](#running-unit-tests).
61
60
62
61
### Running unit tests
63
62
@@ -68,7 +67,7 @@ public class UnitTests extends Applet {
68
67
publicfinalstaticshortCARD_TYPE=OperationSupport.SIMULATOR; // TODO set your card here
69
68
```
70
69
71
-
2. OPTIONAL (dependingoncardselectedinstep1). Change the JavaCard API version in `applet/build.gradle` file if you wish to run the code on cards with a JavaCard API version different from 3.0.5.
70
+
2. OPTIONAL (dependingoncardselectedinstep1). Change the JavaCard API version in `applet/build.gradle` file if you wish to run the code on cards with a JavaCard API version different from 3.0.5.
72
71
73
72
```
74
73
// JC310b43 supports building also for lower versions (cap.targetsdk).
@@ -84,15 +83,15 @@ targetsdk JC305 <----
84
83
If you would like to build for lower versions, comment out line with `targetsdk JC305` and set `final def JC_SELECTED = JC310b43` to other value like `final def JC_SELECTED = JC222`.
85
84
86
85
The list of settings is summarized here:
87
-
| Card | `OperationSupport.` value | `JC_SELECTED` value | `targetsdk` value | Notes |
0 commit comments