From 27b0a59ab1cb5eab29c6fc07476f5465dbd1f786 Mon Sep 17 00:00:00 2001 From: zer0 Date: Sat, 9 Jan 2010 17:39:35 +0100 Subject: [PATCH] better compilation on host --- projects/microb2010/mainboard/.config | 33 +++++++++++++++++-- .../microb2010/mainboard/commands_mainboard.c | 2 +- projects/microb2010/mainboard/main.c | 2 +- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/projects/microb2010/mainboard/.config b/projects/microb2010/mainboard/.config index 18a0d9a..21ce9e5 100644 --- a/projects/microb2010/mainboard/.config +++ b/projects/microb2010/mainboard/.config @@ -1,5 +1,5 @@ # -# Automatically generated by make menuconfig: don't edit +# Automatically generated make config: don't edit # # @@ -74,6 +74,10 @@ CONFIG_FORMAT_BINARY=y # # Base modules # + +# +# Enable math library in generation options to see all modules +# CONFIG_MODULE_CIRBUF=y # CONFIG_MODULE_CIRBUF_LARGE is not set CONFIG_MODULE_FIXED_POINT=y @@ -93,6 +97,10 @@ CONFIG_MODULE_TIME=y # # Communication modules # + +# +# uart needs circular buffer, mf2 client may need scheduler +# CONFIG_MODULE_UART=y # CONFIG_MODULE_UART_9BITS is not set CONFIG_MODULE_UART_CREATE_CONFIG=y @@ -161,9 +169,10 @@ CONFIG_MODULE_ENCODERS_SPI=y CONFIG_MODULE_ENCODERS_SPI_CREATE_CONFIG=y # -# Robot specific modules +# Robot specific modules (fixed point lib may be needed) # CONFIG_MODULE_ROBOT_SYSTEM=y +# CONFIG_MODULE_ROBOT_SYSTEM_USE_F64 is not set # CONFIG_MODULE_ROBOT_SYSTEM_MOT_AND_EXT is not set CONFIG_MODULE_POSITION_MANAGER=y CONFIG_MODULE_COMPENSATE_CENTRIFUGAL_FORCE=y @@ -176,6 +185,10 @@ CONFIG_MODULE_OBSTACLE_AVOIDANCE_CREATE_CONFIG=y # Control system modules # CONFIG_MODULE_CONTROL_SYSTEM_MANAGER=y + +# +# Filters +# CONFIG_MODULE_PID=y # CONFIG_MODULE_PID_CREATE_CONFIG is not set # CONFIG_MODULE_RAMP is not set @@ -186,12 +199,20 @@ CONFIG_MODULE_QUADRAMP=y # # Radio devices # + +# +# Some radio devices require SPI to be activated +# # CONFIG_MODULE_CC2420 is not set # CONFIG_MODULE_CC2420_CREATE_CONFIG is not set # # Crypto modules # + +# +# Crypto modules depend on utils module +# # CONFIG_MODULE_AES is not set # CONFIG_MODULE_AES_CTR is not set # CONFIG_MODULE_MD5 is not set @@ -201,12 +222,20 @@ CONFIG_MODULE_QUADRAMP=y # # Encodings modules # + +# +# Encoding modules depend on utils module +# # CONFIG_MODULE_BASE64 is not set # CONFIG_MODULE_HAMMING is not set # # Debug modules # + +# +# Debug modules depend on utils module +# CONFIG_MODULE_DIAGNOSTIC=y CONFIG_MODULE_DIAGNOSTIC_CREATE_CONFIG=y CONFIG_MODULE_ERROR=y diff --git a/projects/microb2010/mainboard/commands_mainboard.c b/projects/microb2010/mainboard/commands_mainboard.c index b379dc1..7c222b3 100644 --- a/projects/microb2010/mainboard/commands_mainboard.c +++ b/projects/microb2010/mainboard/commands_mainboard.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include diff --git a/projects/microb2010/mainboard/main.c b/projects/microb2010/mainboard/main.c index 1b4d4b0..d69d058 100755 --- a/projects/microb2010/mainboard/main.c +++ b/projects/microb2010/mainboard/main.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include -- 2.39.5