###### Build platform
window10, MSYS2, VScode , IDF4.x, jerryscript

###### Build steps
I download the jerryscript opensource project from github, and build up a environment in MSYS2, 

and build jerryscript success

E.g.:
```sh
python deps/jerryscript/tools/build.py --toolchain=./deps/jerryscript/cmake/toolchain-esp32.cmake --cmake-param "-GMSYS Makefiles" --jerry-cmdline=OFF --jerry-port-default=OFF --lto=OFF --strip=OFF
```
Then i come back to my IDF4.x project,  and build fail. The Cmakelist in main component as show below.
 
```sh
idf_component_register(SRCS "Main.cpp"
                    # SRC_DIRS ${JERRYSCRIPT_SOURCE}/targets/esp-idf
                    INCLUDE_DIRS "."
                    PRIV_INCLUDE_DIRS "${JERRYSCRIPT_SOURCE}/jerry-core/include"
                    "${JERRYSCRIPT_SOURCE}/jerry-ext/include"
                    "${JERRYSCRIPT_SOURCE}/jerry-port/default/include"
                    REQUIRES jerry
                    )

add_prebuilt_library(libjerry-core ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-core.a REQUIRES newlib PRIV_REQUIRES ${COMPONENT_NAME})
add_prebuilt_library(libjerry-ext  ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-ext.a PRIV_REQUIRES ${COMPONENT_NAME})
#add_prebuilt_library(libjerry-libm  ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-libm.a PRIV_REQUIRES ${COMPONENT_NAME})
                    
target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-core)
target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-ext)
#target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-libm)
```

###### Build log
The IDF powershell shows:
DRAM segment data not fit
region dram_0_0_seg overflowed by 414856 bytes



Question: dram_0_0_seg overflowed by 414856 bytes
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Question: dram_0_0_seg overflowed by 414856 bytes
Issue date:

--- start body ---
###### Build platform
window10, MSYS2, VScode , IDF4.x, jerryscript

###### Build steps
I download the jerryscript opensource project from github, and build up a environment in MSYS2, 

and build jerryscript success

E.g.:
```sh
python deps/jerryscript/tools/build.py --toolchain=./deps/jerryscript/cmake/toolchain-esp32.cmake --cmake-param "-GMSYS Makefiles" --jerry-cmdline=OFF --jerry-port-default=OFF --lto=OFF --strip=OFF
```
Then i come back to my IDF4.x project,  and build fail. The Cmakelist in main component as show below.
 
```sh
idf_component_register(SRCS "Main.cpp"
                    # SRC_DIRS ${JERRYSCRIPT_SOURCE}/targets/esp-idf
                    INCLUDE_DIRS "."
                    PRIV_INCLUDE_DIRS "${JERRYSCRIPT_SOURCE}/jerry-core/include"
                    "${JERRYSCRIPT_SOURCE}/jerry-ext/include"
                    "${JERRYSCRIPT_SOURCE}/jerry-port/default/include"
                    REQUIRES jerry
                    )

add_prebuilt_library(libjerry-core ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-core.a REQUIRES newlib PRIV_REQUIRES ${COMPONENT_NAME})
add_prebuilt_library(libjerry-ext  ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-ext.a PRIV_REQUIRES ${COMPONENT_NAME})
#add_prebuilt_library(libjerry-libm  ${JERRYSCRIPT_SOURCE}/build/lib/libjerry-libm.a PRIV_REQUIRES ${COMPONENT_NAME})
                    
target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-core)
target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-ext)
#target_link_libraries(${COMPONENT_LIB} INTERFACE libjerry-libm)
```

###### Build log
The IDF powershell shows:
DRAM segment data not fit
region dram_0_0_seg overflowed by 414856 bytes



--- end body ---
