Code Monkey home page Code Monkey logo

mbed-os-examples-docs_only's Introduction

Mbed OS docs-only examples

This repository contains example applications snippets that only exist in the Mbed OS docs.

Contributions

Contributions to the example folder need to meet these requirements:

  • Every individual example snippet needs to contain a main.cpp that compiles. You must place this file into a folder with all other required files.
  • The path to the folder has to be in the second-level folder structure Repo_ROOT/<Level1>/<Level2>/main.cpp. We recommend you follow our conventions: Repo_ROOT/Category_Topic/Module_Example.
  • A README.md file in the snippet folder is optional. Contribute the main instructions and explanatory documents to the mbed-os-5-docs repository.
  • The Level2 folder name, for example <Module_Example>, needs to be unique compared to any other Level2 folder in this repository. It can contain no more than 34 characters.

The CI on this repository checks on the above criteria and also makes sure the snippets can build.

mbed-os-examples-docs_only's People

Contributors

0xc0170 avatar aashishc1988 avatar adbridge avatar fkjagodzinski avatar guywi avatar harmut01 avatar hugueskamba avatar ithinuel avatar j3hill avatar juhaylinen avatar kegilbert avatar ldong-arm avatar linlingao avatar maciejbocianski avatar mprse avatar theamirocohen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbed-os-examples-docs_only's Issues

mbed-os-snippet-UDPSocket prints wrong time

The example shows the usage of an UDP socket, and this works. But finally, the received time (seconds sind 1970) prints the correct date only by sudden.
https://github.com/ARMmbed/mbed-os-snippet-UDPSocket/blob/18ae5c765b96ca5bcfd9c584c7cc776ff3ef0867/main.cpp#L48
There is a typecast from a 4 byte to an 8 byte pointer, this works only when the upper 4 bytes are zero.
This is a fix for this (PRs doesnt seem to be used):

            time_t now = in_data.secs;
            printf("Time = %s", ctime(&now));

Rename the baremetal-blinky example

With the introduction of Baremetal Mbed OS build profiles we should probably rename the baremetal-blinky project as that has a different meaning now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.