emdashes begone (#10847)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# LTO) are reserved for the WarmNodeStore record-ring (see WarmNodeStore.h). Our
|
||||
# linker scripts (nrf52840_s140_v6.ld and nrf52840_s140_v7.ld) cap the image at
|
||||
# 0xEA000, but boards on the framework-default script (FLASH ending at 0xED000) could
|
||||
# silently place code in those pages — the first warm-store save would then brick the
|
||||
# silently place code in those pages - the first warm-store save would then brick the
|
||||
# device. This turns that into a build failure.
|
||||
#
|
||||
# Image flash end = __etext + sizeof(.data) (loaded at LMA __etext); symbols from
|
||||
|
||||
@@ -31,7 +31,7 @@ else:
|
||||
The rule format depends on the host:
|
||||
Windows (CMake's RunCMake wraps every command):
|
||||
COMMAND = cmd.exe /C "cd /D DIR && arm-none-eabi-gcc.exe ... -o linker.cmd && cmake.exe -E cmake_transform_depfile ..."
|
||||
POSIX (Linux/macOS — no wrapper):
|
||||
POSIX (Linux/macOS - no wrapper):
|
||||
COMMAND = cd DIR && arm-none-eabi-gcc ... -o linker.cmd && cmake -E cmake_transform_depfile ...
|
||||
|
||||
Returns (gcc_cmd_string, cwd_path) or raises RuntimeError.
|
||||
@@ -51,7 +51,7 @@ else:
|
||||
|
||||
command_val = stripped[len("COMMAND = ") :]
|
||||
|
||||
# On Windows the value is wrapped in `cmd.exe /C "..."` — strip
|
||||
# On Windows the value is wrapped in `cmd.exe /C "..."` - strip
|
||||
# the wrapper. On POSIX hosts the inner sequence is the value
|
||||
# itself (no quoting layer).
|
||||
m = re.search(r'/C\s+"(.*)"\s*$', command_val)
|
||||
@@ -88,7 +88,7 @@ else:
|
||||
linker_cmd = os.path.join(zephyr_dir, "linker.cmd")
|
||||
|
||||
if os.path.exists(linker_cmd):
|
||||
return # Already present — nothing to do
|
||||
return # Already present - nothing to do
|
||||
|
||||
ninja_build = os.path.join(build_dir, "build.ninja")
|
||||
if not os.path.exists(ninja_build):
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
# GROWTH, the ES6 module shape) live in the platform-wasm builder; what belongs
|
||||
# to *this firmware* is:
|
||||
#
|
||||
# * EXPORT_NAME — the ES-module factory name consumers import.
|
||||
# * EXPORTED_RUNTIME_METHODS — ccall/cwrap/callMain + FS/IDBFS/NODEFS/PATH and
|
||||
# * EXPORT_NAME - the ES-module factory name consumers import.
|
||||
# * EXPORTED_RUNTIME_METHODS - ccall/cwrap/callMain + FS/IDBFS/NODEFS/PATH and
|
||||
# the string helpers the JS host + bridge drive.
|
||||
# * EXPORTED_FUNCTIONS — the C entry points (the wasm_* API is also kept via
|
||||
# * EXPORTED_FUNCTIONS - the C entry points (the wasm_* API is also kept via
|
||||
# EMSCRIPTEN_KEEPALIVE in source; _malloc/_free are
|
||||
# needed so the host can marshal protobuf buffers).
|
||||
# * ASYNCIFY_IMPORTS — the WebUSB seam: these imported C functions suspend
|
||||
# * ASYNCIFY_IMPORTS - the WebUSB seam: these imported C functions suspend
|
||||
# the stack (Asyncify) while a WebUSB transfer awaits.
|
||||
#
|
||||
# Only attached to the wasm env (see extra_scripts in [env:native-wasm]); a guard keeps
|
||||
|
||||
Reference in New Issue
Block a user