|
|
|
@ -67,6 +67,11 @@ def options(opt):
@@ -67,6 +67,11 @@ def options(opt):
|
|
|
|
|
default=False, |
|
|
|
|
help='Configure as debug variant.') |
|
|
|
|
|
|
|
|
|
g.add_option('--enable-asserts', |
|
|
|
|
action='store_true', |
|
|
|
|
default=False, |
|
|
|
|
help='enable OS level asserts.') |
|
|
|
|
|
|
|
|
|
g.add_option('--bootloader', |
|
|
|
|
action='store_true', |
|
|
|
|
default=False, |
|
|
|
@ -176,6 +181,7 @@ def configure(cfg):
@@ -176,6 +181,7 @@ def configure(cfg):
|
|
|
|
|
|
|
|
|
|
cfg.env.BOARD = cfg.options.board |
|
|
|
|
cfg.env.DEBUG = cfg.options.debug |
|
|
|
|
cfg.env.ENABLE_ASSERTS = cfg.options.enable_asserts |
|
|
|
|
cfg.env.BOOTLOADER = cfg.options.bootloader |
|
|
|
|
|
|
|
|
|
# Allow to differentiate our build from the make build |
|
|
|
|