Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d0f00d599 | |||
| b7069350c2 | |||
| 355ab24cdc |
+5
-1
@@ -209,7 +209,11 @@ endif()
|
||||
if("${PLATFORM}" STREQUAL "DARWIN")
|
||||
jerry_add_link_flags(-lSystem)
|
||||
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Sqc <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
|
||||
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
||||
else()
|
||||
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> <TARGET>")
|
||||
endif()
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
|
||||
elseif((NOT CYGWIN AND NOT MINGW AND NOT MSYS) AND (USING_GCC OR USING_CLANG))
|
||||
jerry_add_link_flags(-Wl,-z,noexecstack)
|
||||
|
||||
@@ -47,7 +47,7 @@ ARCHIVES += $(JERRYDIR)/build/lib/libjerry-ext.a
|
||||
ARCHIVES += $(JERRYDIR)/build/lib/libjerry-port.a
|
||||
|
||||
USEMODULE += shell
|
||||
USEMODULE += shell_commands
|
||||
USEMODULE += shell_cmds_default
|
||||
USEMODULE += posix_sleep
|
||||
|
||||
.PHONY: libjerry
|
||||
|
||||
@@ -27,7 +27,7 @@ install-apt-get-deps:
|
||||
|
||||
# Fetch RIOT OS repository.
|
||||
install-clone-riot:
|
||||
git clone https://github.com/RIOT-OS/RIOT.git ../RIOT -b 2021.10
|
||||
git clone https://github.com/RIOT-OS/RIOT.git ../RIOT -b 2025.04
|
||||
|
||||
# Perform all the necessary (JerryScript-independent) installation steps.
|
||||
install-noapt: install-clone-riot
|
||||
|
||||
@@ -91,7 +91,7 @@ main (void)
|
||||
} now = { .d = jerry_port_current_time () };
|
||||
srand (now.u);
|
||||
printf ("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
|
||||
printf ("This board features a(n) %s MCU.\n", RIOT_MCU);
|
||||
printf ("This board features a(n) %s MCU.\n", RIOT_CPU);
|
||||
|
||||
/* start the shell */
|
||||
char line_buf[SHELL_DEFAULT_BUFSIZE];
|
||||
|
||||
Reference in New Issue
Block a user