boardloader, bootloader: moving embed/common/* to embed/trezorhal/*
This commit is contained in:
parent
8d3540c858
commit
7bbfba1ac0
|
@ -70,8 +70,6 @@ SOURCE_STMHAL = [
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCE_BOARDLOADER = [
|
SOURCE_BOARDLOADER = [
|
||||||
'embed/common/vectortable.s',
|
|
||||||
'embed/common/util.s',
|
|
||||||
'embed/boardloader/startup.s',
|
'embed/boardloader/startup.s',
|
||||||
'embed/boardloader/main.c',
|
'embed/boardloader/main.c',
|
||||||
]
|
]
|
||||||
|
@ -85,6 +83,8 @@ SOURCE_TREZORHAL = [
|
||||||
'embed/trezorhal/stm32_it.c',
|
'embed/trezorhal/stm32_it.c',
|
||||||
'embed/trezorhal/stm32_system.c',
|
'embed/trezorhal/stm32_system.c',
|
||||||
'embed/trezorhal/rng.c',
|
'embed/trezorhal/rng.c',
|
||||||
|
'embed/trezorhal/util.s',
|
||||||
|
'embed/trezorhal/vectortable.s',
|
||||||
]
|
]
|
||||||
|
|
||||||
env = Environment(ENV=os.environ, CFLAGS=ARGUMENTS.get('CFLAGS', ''))
|
env = Environment(ENV=os.environ, CFLAGS=ARGUMENTS.get('CFLAGS', ''))
|
||||||
|
|
|
@ -76,7 +76,6 @@ SOURCE_STMHAL = [
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCE_BOOTLOADER = [
|
SOURCE_BOOTLOADER = [
|
||||||
'embed/common/util.s',
|
|
||||||
'embed/bootloader/startup.S',
|
'embed/bootloader/startup.S',
|
||||||
'embed/bootloader/header.S',
|
'embed/bootloader/header.S',
|
||||||
'embed/bootloader/main.c',
|
'embed/bootloader/main.c',
|
||||||
|
@ -101,6 +100,7 @@ SOURCE_TREZORHAL = [
|
||||||
'embed/trezorhal/usbd_core.c',
|
'embed/trezorhal/usbd_core.c',
|
||||||
'embed/trezorhal/usbd_ctlreq.c',
|
'embed/trezorhal/usbd_ctlreq.c',
|
||||||
'embed/trezorhal/usbd_ioreq.c',
|
'embed/trezorhal/usbd_ioreq.c',
|
||||||
|
'embed/trezorhal/util.s',
|
||||||
]
|
]
|
||||||
|
|
||||||
env = Environment(ENV=os.environ, CFLAGS=ARGUMENTS.get('CFLAGS', ''))
|
env = Environment(ENV=os.environ, CFLAGS=ARGUMENTS.get('CFLAGS', ''))
|
||||||
|
|
Loading…
Reference in New Issue