rtt-f030/bsp/stm32f40x/Libraries/SConscript

306 lines
17 KiB
Python
Raw Normal View History

import rtconfig
from building import *
# get current directory
cwd = GetCurrentDir()
dsp_src = Split('''
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_abs_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_abs_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_abs_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_abs_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_add_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_add_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_add_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_add_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_mult_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_mult_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_mult_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_mult_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_negate_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_negate_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_negate_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_negate_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_offset_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_offset_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_offset_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_offset_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_scale_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_scale_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_scale_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_scale_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_shift_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_shift_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_shift_q7.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_sub_f32.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_sub_q15.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_sub_q31.c
CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_sub_q7.c
CMSIS/DSP_Lib/Source/CommonTables/arm_common_tables.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_real_q15.c
CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_init_f32.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_init_q15.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_init_q31.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_f32.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q15.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q31.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_sin_cos_f32.c
CMSIS/DSP_Lib/Source/ControllerFunctions/arm_sin_cos_q31.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_cos_f32.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_cos_q15.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_cos_q31.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_f32.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_q15.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_q31.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sqrt_q15.c
CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sqrt_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df1_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df2T_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_partial_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_conv_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_correlate_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_fast_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_fast_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_interpolate_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_init_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_sparse_q7.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_init_f32.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_init_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_init_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_norm_q31.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_q15.c
CMSIS/DSP_Lib/Source/FilteringFunctions/arm_lms_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_add_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_add_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_add_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_inverse_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_mult_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_mult_fast_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_mult_fast_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_mult_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_mult_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_scale_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_scale_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_scale_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_sub_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_sub_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_sub_q31.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_trans_f32.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_trans_q15.c
CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_trans_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_max_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_max_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_max_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_max_q7.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_mean_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_mean_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_mean_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_mean_q7.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_min_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_min_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_min_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_min_q7.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_power_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_power_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_power_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_power_q7.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_rms_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_rms_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_rms_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_std_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_std_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_std_q31.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_var_f32.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_var_q15.c
CMSIS/DSP_Lib/Source/StatisticsFunctions/arm_var_q31.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_copy_f32.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_copy_q15.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_copy_q31.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_copy_q7.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_fill_f32.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_fill_q15.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_fill_q31.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_fill_q7.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_float_to_q15.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_float_to_q31.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_float_to_q7.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q15_to_float.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q15_to_q31.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q15_to_q7.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q31_to_float.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q31_to_q15.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q31_to_q7.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q7_to_float.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q7_to_q15.c
CMSIS/DSP_Lib/Source/SupportFunctions/arm_q7_to_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_init_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_init_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_init_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_init_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_init_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_init_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_dct4_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_init_f32.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_init_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_init_q31.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_q15.c
CMSIS/DSP_Lib/Source/TransformFunctions/arm_rfft_q31.c
''')
src = Split("""
CMSIS/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c
STM32F4xx_StdPeriph_Driver/src/misc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c
""")
# starupt scripts for STM32F4xx
startup_scripts = 'startup_stm32f4xx.s'
# add for startup script
if rtconfig.CROSS_TOOL == 'gcc':
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/gcc_ride7/' + startup_scripts]
elif rtconfig.CROSS_TOOL == 'keil':
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/arm/' + startup_scripts]
elif rtconfig.CROSS_TOOL == 'iar':
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/iar/' + startup_scripts]
path = [cwd + '/STM32F4xx_StdPeriph_Driver/inc',
cwd + '/CMSIS/Include',
cwd + '/CMSIS/ST/STM32F4xx/Include']
src = src + dsp_src
CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'ARM_MATH_CM4', 'ARM_MATH_MATRIX_CHECK', 'ARM_MATH_ROUNDING', 'ARM_MATH_BIG_ENDIAN', '__FPU_PRESENT=1']
group = DefineGroup('STM32_StdPeriph', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')