Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/membrowse-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ jobs:
riscv32-esp-elf)
wget -q https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1-RC1/riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz
sudo tar xf riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz -C /opt
pip3 install --user esptool
echo "TOOLCHAIN_PATH=/opt/riscv32-esp-elf/bin" >> $GITHUB_ENV
;;
riscv64-linux-musl-k230)
Expand All @@ -157,6 +156,9 @@ jobs:
run: |
source $HOME/.env/env.sh
pip install -r tools/requirements.txt
if [ "${{ matrix.toolchain }}" = "riscv32-esp-elf" ]; then
python -m pip install esptool
fi
export RTT_EXEC_PATH="$TOOLCHAIN_PATH"
export RTT_ROOT="$PWD"
export RTT_CC="${MATRIX_RTT_CC:-gcc}"
Expand Down
2 changes: 1 addition & 1 deletion bsp/ESP/ESP32_C3/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, remove_components = ['libc'])

objs.extend(SConscript(os.path.join(libraries_path_prefix, 'drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'drivers', 'SConscript'), variant_dir='build/libraries/drivers', duplicate=0))
# make a building
DoBuilding(TARGET, objs)

Expand Down
4 changes: 2 additions & 2 deletions bsp/Infineon/libraries/templates/PSOC62/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ IFX_library = 'IFX_PSOC6_HAL'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, IFX_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, IFX_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', IFX_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/libraries/templates/XMC7200D/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-cy8ckit-062-BLE/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-cy8ckit-062S2-43012/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-cy8ckit-062s4/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-cy8cproto-062S3-4343W/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/psoc6-evaluationkit-062S2/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/xmc7100d-f144k4160aa/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
2 changes: 1 addition & 1 deletion bsp/Infineon/xmc7200-kit_xmc7200_evk/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFX_library = 'Packages'
rtconfig.BSP_LIBRARY_TYPE = IFX_library

# include drivers
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join('../libraries', 'HAL_Drivers', 'SConscript'), variant_dir='build/libraries/HAL_Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32e103ze-evalboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32E10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32e103ze-tinyboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32E10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f030r8-miniboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F0xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f051r8-evalboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F0xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f072vb-miniboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F0xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f091vc-miniboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F0xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f103vb-miniboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f103xe-minibroard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f107vc-evalboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f407ig-minibroard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F4xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32f407zg-evalboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32F4xx_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
4 changes: 2 additions & 2 deletions bsp/apm32/apm32s103vb-miniboard/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ apm32_library = 'APM32S10x_Library'
rtconfig.BSP_LIBRARY_TYPE = apm32_library

# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, apm32_library, 'SConscript'), variant_dir=os.path.join('build', 'libraries', apm32_library), duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'Drivers', 'SConscript'), variant_dir='build/libraries/Drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32a403a-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript'), variant_dir='build/libraries/usbd_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32a423-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript'), variant_dir='build/libraries/usbotg_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32f402-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript'), variant_dir='build/libraries/usbotg_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32f403a-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript'), variant_dir='build/libraries/usbd_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32f405-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbotg_library', 'SConscript'), variant_dir='build/libraries/usbotg_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32f407-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript'), variant_dir='build/libraries/usbd_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
6 changes: 3 additions & 3 deletions bsp/at32/at32f413-start/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Export('SDK_LIB')
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

# include cmsis
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'CMSIS', 'SConscript'), variant_dir='build/libraries/CMSIS', duplicate=0))

# include usb libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'usbd_library', 'SConscript'), variant_dir='build/libraries/usbd_library', duplicate=0))

# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript'), variant_dir='build/libraries/rt_drivers', duplicate=0))

# make a building
DoBuilding(TARGET, objs)
Loading
Loading