-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firmware changes: - Guard configuration structure access to avoid rare event resulting in data loss - Mark global variables volatile, where accessed between tasks - Timeout and reset DMA channels on failure - Introduce smart card start up delay to favor internal processes - Increased firmware version to v0.55 - Configuration access refactorization for easier data manipulation Development: - Import project to Atmel Studio 7 - Allow to build using Makefile - Add stub for CMake usage - Remove obsolete code - Add initial support for stack guard protection Connected: #98 Tested on: - macOS 10.15.2 - Linux Fedora 32 - Windows 10 20H2 with: - libnitrokey 3.6 (Python test suites; skipped on Windows) - Nitrokey App v1.4 (manual test) For tests firmware was built using GCC 4.3.3 (AVR_Toolchain_3.0_124), -O0. Firmware upgrade and downgrade tested on the previous latest firmware. Test suite was modified to account TOTP#15 slot being disabled.
- Loading branch information
Showing
26 changed files
with
3,205 additions
and
1,537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.bin | ||
build* | ||
cmake-build-debug | ||
*.elf | ||
*.hex | ||
*.hex* | ||
.idea | ||
.idea/ | ||
*.list | ||
*.log | ||
*.o | ||
*.sha256sum | ||
*.sig | ||
*.swp | ||
*.tar.gz | ||
tmp | ||
*.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
| ||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Atmel Studio Solution File, Format Version 11.00 | ||
VisualStudioVersion = 14.0.23107.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "STICK20_GIT", "STICK20_GIT.cproj", "{B19EB321-4623-42D6-8259-B5D025DAFC16}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|AVR = Debug|AVR | ||
Release|AVR = Release|AVR | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{B19EB321-4623-42D6-8259-B5D025DAFC16}.Debug|AVR.ActiveCfg = Debug|AVR | ||
{B19EB321-4623-42D6-8259-B5D025DAFC16}.Debug|AVR.Build.0 = Debug|AVR | ||
{B19EB321-4623-42D6-8259-B5D025DAFC16}.Release|AVR.ActiveCfg = Release|AVR | ||
{B19EB321-4623-42D6-8259-B5D025DAFC16}.Release|AVR.Build.0 = Release|AVR | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="AtmelPackComponentManagement"> | ||
<ProjectComponents /> | ||
</Store> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.