HAL_ChibiOS: removed duplicate defines

This commit is contained in:
Andrew Tridgell 2018-01-13 21:03:33 +11:00
parent ff87d27143
commit 60a773d045
2 changed files with 0 additions and 4 deletions

View File

@ -291,8 +291,6 @@ def write_mcu_config(f):
f.write('// MCU type (ChibiOS define)\n')
f.write('#define %s_MCUCONF\n' % get_config('MCU'))
f.write('#define %s\n\n' % get_config('MCU', 1))
f.write('// Board voltage. Required for performance limits calculation\n')
f.write('#define STM32_VDD %s\n\n' % get_config('STM32_VDD'))
f.write('// crystal frequency\n')
f.write('#define STM32_HSECLK %sU\n\n' % get_config('OSCILLATOR_HZ'))
f.write('// UART used for stdout (printf)\n')

View File

@ -116,8 +116,6 @@ def write_dma_header(f, peripheral_list, mcu_type):
f.write("// auto-generated DMA mapping from dma_resolver.py\n")
f.write('\n#pragma once\n\n')
if unassigned:
f.write("\n// Note: The following peripherals can't be resolved for DMA: %s\n\n" % unassigned)