63
63
64
64
65
65
ALLOWED_FEATURES = [
66
- "BOOTLOADER" ,"UVISOR" , "BLE" , "CLIENT" , "IPV4" , "LWIP" , "COMMON_PAL" , "STORAGE" ,
67
- "NANOSTACK" ,"CRYPTOCELL310" ,
68
- # Nanostack configurations
69
- "LOWPAN_BORDER_ROUTER" , "LOWPAN_HOST" , "LOWPAN_ROUTER" , "NANOSTACK_FULL" ,
70
- "THREAD_BORDER_ROUTER" , "THREAD_END_DEVICE" , "THREAD_ROUTER" ,
71
- "ETHERNET_HOST" ,
66
+ "BOOTLOADER" , "BLE" , "LWIP" , "STORAGE" , "NANOSTACK" , "CRYPTOCELL310" ,
72
67
]
73
68
74
69
# Base class for all configuration exceptions
@@ -749,7 +744,7 @@ def _generate_bootloader_build(self, rom_start, rom_size):
749
744
if start > rom_start + rom_size :
750
745
raise ConfigException ("Not enough memory on device to fit all "
751
746
"application regions" )
752
-
747
+
753
748
@staticmethod
754
749
def _find_sector (address , sectors ):
755
750
target_size = - 1
@@ -762,13 +757,13 @@ def _find_sector(address, sectors):
762
757
if (target_size < 0 ):
763
758
raise ConfigException ("No valid sector found" )
764
759
return target_start , target_size
765
-
760
+
766
761
@staticmethod
767
762
def _align_floor (address , sectors ):
768
763
target_start , target_size = Config ._find_sector (address , sectors )
769
764
sector_num = (address - target_start ) // target_size
770
765
return target_start + (sector_num * target_size )
771
-
766
+
772
767
@staticmethod
773
768
def _align_ceiling (address , sectors ):
774
769
target_start , target_size = Config ._find_sector (address , sectors )
0 commit comments