summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-03-09 15:51:29 +0700
committerhathach <[email protected]>2020-03-09 15:51:29 +0700
commit85a3315a998ce7c625796177a665e6f4cd373e73 (patch)
treea7e50a3577f046362b672675c09ca45aa26cac2c /hw
parente764421164926f1d50db5daecf30893954b18289 (diff)
Adding lwip_webserver to ci
- buil_al.py skip specific MCU if .skip.MCU_ exists - reduce stm32f070 heap & stack size to compile webserver
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/samg55xplained/samg55xplained.c3
-rw-r--r--hw/bsp/spresense/board.mk4
-rw-r--r--hw/bsp/stm32f070rbnucleo/stm32F070rbtx_flash.ld4
3 files changed, 7 insertions, 4 deletions
diff --git a/hw/bsp/samg55xplained/samg55xplained.c b/hw/bsp/samg55xplained/samg55xplained.c
index a5e145734..66a3d137f 100644
--- a/hw/bsp/samg55xplained/samg55xplained.c
+++ b/hw/bsp/samg55xplained/samg55xplained.c
@@ -24,13 +24,14 @@
*/
#include "sam.h"
+#include "bsp/board.h"
+
#include "peripheral_clk_config.h"
#include "hal/include/hal_init.h"
#include "hal/include/hpl_usart_sync.h"
#include "hpl/pmc/hpl_pmc.h"
#include "hal/include/hal_gpio.h"
-#include "bsp/board.h"
//--------------------------------------------------------------------+
// MACRO TYPEDEF CONSTANT ENUM DECLARATION
diff --git a/hw/bsp/spresense/board.mk b/hw/bsp/spresense/board.mk
index 2e88cf994..c6b5ce12a 100644
--- a/hw/bsp/spresense/board.mk
+++ b/hw/bsp/spresense/board.mk
@@ -1,5 +1,4 @@
CFLAGS += \
- -DCONFIG_WCHAR_BUILTIN \
-DCONFIG_HAVE_DOUBLE \
-Dmain=spresense_main \
-pipe \
@@ -14,6 +13,9 @@ CFLAGS += \
-fomit-frame-pointer \
-DCFG_TUSB_MCU=OPT_MCU_CXD56 \
+# lwip/src/core/raw.c:334:43: error: declaration of 'recv' shadows a global declaration
+CFLAGS += -Wno-error=shadow
+
SPRESENSE_SDK = $(TOP)/hw/mcu/sony/cxd56/spresense-exported-sdk
INC += \
diff --git a/hw/bsp/stm32f070rbnucleo/stm32F070rbtx_flash.ld b/hw/bsp/stm32f070rbnucleo/stm32F070rbtx_flash.ld
index 7ae8e5960..59e18f375 100644
--- a/hw/bsp/stm32f070rbnucleo/stm32F070rbtx_flash.ld
+++ b/hw/bsp/stm32f070rbnucleo/stm32F070rbtx_flash.ld
@@ -55,8 +55,8 @@ ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20004000; /* end of "RAM" Ram type memory */
-_Min_Heap_Size = 0x400; /* required amount of heap */
-_Min_Stack_Size = 0x600; /* required amount of stack */
+_Min_Heap_Size = 0x200; /* required amount of heap */
+_Min_Stack_Size = 0x400; /* required amount of stack */
/* Memories definition */
MEMORY