Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for the
linemb
platform, targeting embedded Linux devices such as the Raspberry Pi Zero. The changes include updates to several configuration and source files to ensure compatibility and functionality for this new platform.The original disscussion: Running on ARM Linux boards (Raspberry Pi Zero)
The most important changes are summarized below:
Main Entrance for new platform:
build/devices/linemb/xsProj-glib/main.c
: The main entrance for the new platform. Also added signal handling, timeout management, and stack trace functionality to improve error handling and debugging capabilities on the newlinemb
platform, refer to discussion here: Exception message from JS not showing in log #1474.Build System:
tools/mcconfig/make.linemb.mk
to define the build process for thelinemb
platform, including toolchain configurations and compilation flags.Platform-Specific Headers:
xs/platforms/linemb/xsPlatform_linemb.h
to define platform-specific macros and include necessary headers for thelinemb
platform.Platform Support:
linemb
platform configuration in variousmanifest.json
files to include necessary modules and settings for thelinemb
platform. [1] [2] [3] [4] [5] [6] [7] [8] [9]Documentation:
documentation/devices/linemb.md
to guide users on setting up and using the Moddable SDK with embedded Linux devices. This includes preparation steps, toolchain installation, and sample project build instructions.