Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/littlevgl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ https://docs.zephyrproject.org/latest/getting_started/index.html</br>
However, nucleo_f767zi is almost the same as nucleo_f746zg, except FLASH and SRAM size.
So we changed the DTS setting of nucleo_f746zg boards for a workaround.</br>

`Modify zephyr/dts/arm/st/f7/stm32f746xg.dtsi, change DT_SIZE_K(320) to DT_SIZE_K(512)`</br>
`Modify zephyr/dts/arm/st/f7/stm32f746Xg.dtsi, change DT_SIZE_K(320) to DT_SIZE_K(512)`</br>
`mkdir build && cd build`</br>
`source ../../../../zephyr-env.sh`</br>
`cmake -GNinja -DBOARD=nucleo_f746zg ..`</br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static host_interface interface = { .send = uart_send, .destroy = uart_destroy }

#endif

static char global_heap_buf[1024 * 1024] = { 0 };
static char global_heap_buf[390 * 1024] = { 0 };

static void showUsage()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void host_destroy()
host_interface interface = { .init = host_init, .send =
host_send, .destroy = host_destroy };
timer_ctx_t timer_ctx;
static char global_heap_buf[ 498*1024] = { 0 };
static char global_heap_buf[434 * 1024] = { 0 };
extern void display_init(void);
int iwasm_main()
{
Expand Down
2 changes: 1 addition & 1 deletion samples/littlevgl/wasm-apps/Makefile_wasm_app
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ SRCS += ../../../core/iwasm/lib/app-libs/base/timer.c
all:
@$(CC) $(CFLAGS) $(SRCS) \
-s WASM=1 -s SIDE_MODULE=1 -s ASSERTIONS=1 -s STACK_OVERFLOW_CHECK=2 \
-s TOTAL_MEMORY=131072 -s TOTAL_STACK=8096 \
-s TOTAL_MEMORY=65536 -s TOTAL_STACK=8096 \
-s "EXPORTED_FUNCTIONS=['_on_init', '_on_request', '_on_sensor_event', '_on_timer_callback']" \
-o ui_app.wasm