AP_HAL: use hwdef.h for config options in chibios

This commit is contained in:
Andrew Tridgell 2018-01-12 10:13:18 +11:00
parent dcab40459d
commit c80149123f

View File

@ -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