mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 16:08:28 -04:00
34 lines
685 B
Python
34 lines
685 B
Python
#!/usr/bin/env python
|
|
'''
|
|
these tables are generated from the STM32 datasheets for the
|
|
STM32F100xB
|
|
'''
|
|
|
|
# additional build information for ChibiOS
|
|
build = {
|
|
"CHIBIOS_STARTUP_MK" : "os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk",
|
|
"CHIBIOS_PLATFORM_MK" : "os/hal/ports/STM32/STM32F1xx/platform.mk",
|
|
"CHPRINTF_USE_FLOAT" : 'no',
|
|
"USE_FPU" : 'no'
|
|
}
|
|
|
|
pincount = {
|
|
'A': 16,
|
|
'B': 16,
|
|
'C': 16,
|
|
'D': 16,
|
|
'E': 16
|
|
}
|
|
|
|
# MCU parameters
|
|
mcu = {
|
|
# location of MCU serial number
|
|
'UDID_START' : 0x1FFFF7E8,
|
|
|
|
# base address of main memory
|
|
'RAM_BASE_ADDRESS' : 0x20000000,
|
|
|
|
# size of main memory
|
|
'RAM_SIZE_KB' : 8,
|
|
|
|
} |