Commit b2b3c812 authored by Andrey Filippov's avatar Andrey Filippov

Treating "y" as "1" if integer is expected in include/autoconf.mk

parent 8e46b655
......@@ -116,6 +116,9 @@ class EzynqFeatures:
try:
value= int(value,0)
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)
elif (feature['TYPE']=='F'):
try:
......
......@@ -89,6 +89,9 @@ CONFIG_EZYNQ_MIO_UART_1=48 # 8+4*N
#CONFIG_EZYNQ_MIO_TPUI= 2 # TODO
#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
#"__<pinname>=-1" - remove specified pin from the interface (do not use it)
#just for testing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment