Skip to content

Commit ec0b3ab

Browse files
committed
remove folders for flash protection region projects
1 parent d516bc9 commit ec0b3ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+24
-72
lines changed

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/bin_tool.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
import argparse
1313
import subprocess
1414

15-
# Add a system path for import as the asndecode script is shared.
16-
sys.path.append("..\\..\\..")
17-
1815
def file_exists(filename):
1916
if os.path.isfile(filename):
2017
return True

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/postBuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ REM ====================================
5757
Set reset=
5858
Set cyan=
5959
Set red=
60-
Set private_key_path="..\..\..\..\boot.X\mdfu\keystore\private_key.pem"
60+
Set private_key_path="..\..\..\boot.X\mdfu\keystore\private_key.pem"
6161

6262
REM Jump to start of the script logic
6363
goto scriptStart

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/postBuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export isDebug="$5"
5555
export reset=""
5656
export cyan=""
5757
export red=""
58-
export private_key_path="../../../../boot.X/mdfu/keystore/private_key.pem"
58+
export private_key_path="../../../boot.X/mdfu/keystore/private_key.pem"
5959

6060
# ====================================
6161
# Functions

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/preBuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ openssl version || goto MissingOpenSSL
5353
REM If all required tools are present, create the required key/keystore files
5454

5555
REM Creates the keystore and demo key pair if not already present
56-
python ..\..\..\..\boot.X\mdfu\create_demo_key_files.py || goto Error
56+
python ..\..\..\boot.X\mdfu\create_demo_key_files.py || goto Error

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/preBuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ openssl version || MissingOpenSSL
5252
# If all required tools are present, create the required key/keystore files
5353

5454
# Creates the keystore and demo key pair if not already present
55-
python3 ../../../../boot.X/mdfu/create_demo_key_files.py || Error
55+
python3 ../../../boot.X/mdfu/create_demo_key_files.py || Error

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/signing_tool.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
import argparse
1010
import asndecode
1111

12-
# Add a system path for import as the asndecode script is shared.
13-
sys.path.append("..\\..\\..")
14-
1512
def console_print(quiet, msg):
1613
if quiet is False:
1714
print(msg)

dspic33a_secure_boot/flash_protection_examples/bootEraseFlashProtection.X/mdfu/update_header_value.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import subprocess
1414
import struct
1515

16-
# Add a system path for import as the asndecode script is shared.
17-
sys.path.append("..\\..\\..")
1816

1917
def file_exists(filename):
2018
if os.path.isfile(filename):

dspic33a_secure_boot/flash_protection_examples/bootExecuteFlashProtection.X/mdfu/bin_tool.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
import argparse
1313
import subprocess
1414

15-
# Add a system path for import as the asndecode script is shared.
16-
sys.path.append("..")
17-
1815
def file_exists(filename):
1916
if os.path.isfile(filename):
2017
return True

dspic33a_secure_boot/flash_protection_examples/bootExecuteFlashProtection.X/mdfu/postBuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ REM ====================================
5757
Set reset=
5858
Set cyan=
5959
Set red=
60-
Set private_key_path="..\..\..\..\boot.X\mdfu\keystore\private_key.pem"
60+
Set private_key_path="..\..\..\boot.X\mdfu\keystore\private_key.pem"
6161

6262
REM Jump to start of the script logic
6363
goto scriptStart

dspic33a_secure_boot/flash_protection_examples/bootExecuteFlashProtection.X/mdfu/postBuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export isDebug="$5"
5555
export reset=""
5656
export cyan=""
5757
export red=""
58-
export private_key_path="../../../../boot.X/mdfu/keystore/private_key.pem"
58+
export private_key_path="../../../boot.X/mdfu/keystore/private_key.pem"
5959

6060
# ====================================
6161
# Functions

0 commit comments

Comments
 (0)