File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 11#  Makefile for building mcuboot as a Zephyr project.
22
3- #  These are the main configuration choices, mainly having to do with
4- #  what signature algorithm is desired.  Choose one of the blocks
5- #  below, and uncomment the settings after it.
3+ #  Configuration choices.
4+ 
5+ # ####################
6+ #  Signature algorithm
7+ # ####################
8+ #  Choose one of RSA or ECDSA P-256 blocks, and uncomment the config
9+ #  lines there, and comment out any other blocks.
610
7- # ####
811#  RSA
9- # ####
1012CONF_FILE  = boot/zephyr/prj.conf
1113CFLAGS  += -DBOOTUTIL_SIGN_RSA
1214
13- # ############
1415#  ECDSA P-256
15- # ############
1616# CONF_FILE = boot/zephyr/prj-p256.conf
1717# CFLAGS += -DBOOTUTIL_SIGN_EC256
1818
19+ #  Enable this option to have the bootloader verify the signature of
20+ #  the primary image upon every boot.  Without it, signature
21+ #  verification only happens on upgrade.
22+ CFLAGS  += -DBOOTUTIL_VALIDATE_SLOT0
23+ 
1924# #############################
2025#  End of configuration blocks.
2126# #############################
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments