Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
libwebsockets
Commits
bdaa86ff
Commit
bdaa86ff
authored
9 years ago
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
README.build.md add mbed3 build info
Signed-off-by:
Andy Green
<
andy.green@linaro.org
>
parent
758d97fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.build.md
+43
-0
43 additions, 0 deletions
README.build.md
with
43 additions
and
0 deletions
README.build.md
+
43
−
0
View file @
bdaa86ff
...
@@ -216,6 +216,49 @@ Then to set an option and build (for example turn off SSL support):
...
@@ -216,6 +216,49 @@ Then to set an option and build (for example turn off SSL support):
or
or
cmake -DLWS_WITH_SSL:BOOL=OFF ..
cmake -DLWS_WITH_SSL:BOOL=OFF ..
Building on mbed3
-----------------
MBED3 is a non-posix embedded OS targeted on Cortex M class chips.
https://www.mbed.com/
It's quite unlike any other Posixy platform since the OS is linked statically
in with lws to form one binary.
At the minute server-only is supported and due to bugs in mbed3 network support,
the port is of alpha quality. However it can serve the test html, favicon.ico
and logo png and may be able to make ws connections. The binary for that
including the OS, test app, lws and all the assets is only 117KB.
0) Today mbed3 only properly works on FRDM K64F $35 Freescale Dev Board with
1MB Flash, 256KB SRAM and Ethernet.
http://www.freescale.com/products/arm-processors/kinetis-cortex-m/k-series/k6x-ethernet-mcus/freescale-freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F
1) Get a working mbed3 environment with arm-none-eabi-cs toolchain
(available in Fedora, Ubuntu and other distros)
2) Confirm you can build things using yotta by following the getting started guide here
https://docs.mbed.com/docs/getting-started-mbed-os/en/latest/
3)
git clone https://github.com/warmcat/lws-test-server
and cd into it
4) mkdir -p yotta_modules ; cd yotta_modules
5) git clone https://github.com/warmcat/libwebsockets ; mv libwebsockets websockets ; cd ..
6) yotta target frdm-k64f-gcc
7) yotta install
8) yotta build
Unix GUI
Unix GUI
--------
--------
If you have a curses-enabled build you simply type:
If you have a curses-enabled build you simply type:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment