mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL: use hwdef.h for config options in chibios
This commit is contained in:
parent
dcab40459d
commit
c80149123f
@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <hwdef.h>
|
||||||
|
|
||||||
#define HAL_BOARD_NAME "ChibiOS"
|
#define HAL_BOARD_NAME "ChibiOS"
|
||||||
#define HAL_CPU_CLASS HAL_CPU_CLASS_150
|
#define HAL_CPU_CLASS HAL_CPU_CLASS_150
|
||||||
|
|
||||||
@ -61,9 +63,6 @@
|
|||||||
#define STORAGE_FLASH_PAGE 22
|
#define STORAGE_FLASH_PAGE 22
|
||||||
#define HAL_STORAGE_SIZE 16384
|
#define HAL_STORAGE_SIZE 16384
|
||||||
|
|
||||||
// enable access to IO microcontroller
|
|
||||||
#define HAL_WITH_IO_MCU 1
|
|
||||||
|
|
||||||
// enable RAMTROM parameter storage
|
// enable RAMTROM parameter storage
|
||||||
#define HAL_WITH_RAMTRON 1
|
#define HAL_WITH_RAMTRON 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user