mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 09:38:29 -04:00
HAL_ChibiOS: optimize for speed on more boards
This commit is contained in:
parent
34a7812416
commit
dd835f5fce
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
include ../fmuv3/hwdef.dat
|
include ../fmuv3/hwdef.dat
|
||||||
|
|
||||||
|
env OPTIMIZE -O3
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1011
|
USB_PRODUCT 0x1011
|
||||||
|
@ -23,6 +23,8 @@ STM32_ST_USE_TIMER 5
|
|||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
|
env OPTIMIZE -O3
|
||||||
|
|
||||||
# serial port for stdout, disabled so console is on USB
|
# serial port for stdout, disabled so console is on USB
|
||||||
#STDOUT_SERIAL SD7
|
#STDOUT_SERIAL SD7
|
||||||
#STDOUT_BAUDRATE 57600
|
#STDOUT_BAUDRATE 57600
|
||||||
|
@ -62,6 +62,8 @@ STM32_ST_USE_TIMER 5
|
|||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
|
env OPTIMIZE -O3
|
||||||
|
|
||||||
# now define which UART is used for printf(). We rarely use printf()
|
# now define which UART is used for printf(). We rarely use printf()
|
||||||
# in ChibiOS, so this is really only for debugging very early startup
|
# in ChibiOS, so this is really only for debugging very early startup
|
||||||
# in drivers.
|
# in drivers.
|
||||||
|
@ -3,4 +3,6 @@
|
|||||||
|
|
||||||
include ../fmuv3/hwdef.dat
|
include ../fmuv3/hwdef.dat
|
||||||
|
|
||||||
|
env OPTIMIZE -O3
|
||||||
|
|
||||||
define BOARD_TYPE_DEFAULT 20
|
define BOARD_TYPE_DEFAULT 20
|
||||||
|
Loading…
Reference in New Issue
Block a user