Loading ezynq_feature_config.py +4 −1 Original line number Original line Diff line number Diff line Loading @@ -116,6 +116,9 @@ class EzynqFeatures: try: try: value= int(value,0) value= int(value,0) except: except: if value == 'Y': value=1 else: raise Exception(self.ERRORS['ERR_NOT_AN_INTEGER']+': '+line['VALUE'] +' is not a valid INTEGER value for parameter '+ conf_name) raise Exception(self.ERRORS['ERR_NOT_AN_INTEGER']+': '+line['VALUE'] +' is not a valid INTEGER value for parameter '+ conf_name) elif (feature['TYPE']=='F'): elif (feature['TYPE']=='F'): try: try: Loading test.mk +3 −0 Original line number Original line Diff line number Diff line Loading @@ -89,6 +89,9 @@ CONFIG_EZYNQ_MIO_UART_1=48 # 8+4*N #CONFIG_EZYNQ_MIO_TPUI= 2 # TODO #CONFIG_EZYNQ_MIO_TPUI= 2 # TODO #the following will be applied after devices above #the following will be applied after devices above #CONFIG_EZYNQ_UART_DEBUG_CHANNEL=y # testing "1" transformed to "y" CONFIG_EZYNQ_UART1_BAUD_RATE=115200 # Default is 115200, so fo 155200 this is not needed #each of the interfaces above can have "__<pinname>" to mix same pins from different groups #each of the interfaces above can have "__<pinname>" to mix same pins from different groups #"__<pinname>=-1" - remove specified pin from the interface (do not use it) #"__<pinname>=-1" - remove specified pin from the interface (do not use it) #just for testing #just for testing Loading Loading
ezynq_feature_config.py +4 −1 Original line number Original line Diff line number Diff line Loading @@ -116,6 +116,9 @@ class EzynqFeatures: try: try: value= int(value,0) value= int(value,0) except: except: if value == 'Y': value=1 else: raise Exception(self.ERRORS['ERR_NOT_AN_INTEGER']+': '+line['VALUE'] +' is not a valid INTEGER value for parameter '+ conf_name) raise Exception(self.ERRORS['ERR_NOT_AN_INTEGER']+': '+line['VALUE'] +' is not a valid INTEGER value for parameter '+ conf_name) elif (feature['TYPE']=='F'): elif (feature['TYPE']=='F'): try: try: Loading
test.mk +3 −0 Original line number Original line Diff line number Diff line Loading @@ -89,6 +89,9 @@ CONFIG_EZYNQ_MIO_UART_1=48 # 8+4*N #CONFIG_EZYNQ_MIO_TPUI= 2 # TODO #CONFIG_EZYNQ_MIO_TPUI= 2 # TODO #the following will be applied after devices above #the following will be applied after devices above #CONFIG_EZYNQ_UART_DEBUG_CHANNEL=y # testing "1" transformed to "y" CONFIG_EZYNQ_UART1_BAUD_RATE=115200 # Default is 115200, so fo 155200 this is not needed #each of the interfaces above can have "__<pinname>" to mix same pins from different groups #each of the interfaces above can have "__<pinname>" to mix same pins from different groups #"__<pinname>=-1" - remove specified pin from the interface (do not use it) #"__<pinname>=-1" - remove specified pin from the interface (do not use it) #just for testing #just for testing Loading