cojson v.2 offers an easy start option by using C++ code automatically generated from a JSON sample the user needs to parse or to write.
To use this option just open codegen page, load or copy-&-paste your JSON and copy-&-paste or save the generated C++ code.
And then build your application with cojson sources .
(Continued)
Filed in cojson
|
Tagged Arduino, ARM, ATmega, avr, C++, cojson, embedded systems, json, JSON for embedded systems, json parser, json serializer, low end MCU, MCU
|
Saturday, October 6, 2018
PSoC — Programmable System on Chip - is an ARM Cortex based family of MCUs
(wiki) by Cypress Semiconductor.
Cypress offers developers a dedicated IDE - PSoC Creator. Unfortunately, PSoC Creator, (as of version 4.2) does not support
C++, despite the underlying GGC Toolchain (arm-none-eabi-gcc-5.4) has C++ support at descent level.
PSoC Creator has an option for migrating to Eclipse CDT IDE, however, migrated projects has no C++ support either
This post explains how to enable C++ for PSoC projects, imported in Eclipse CDT IDE.
(Continued)
Wednesday, September 5, 2018
This post describes how to build OpenSplice DDS for LinkIt Smart 7688 and other OpenWRT targets
Overview
USB++ (usbplusplus) is a C++14 template library that gives the user a simple and error-prone way for defining USB descriptors, suitable for embedded projects.
(Continued)
Wednesday, December 27, 2017
VLC-multiroom is a shell script that on a Linux-based media computer configures systemd to run multiple VLC Media Player instances for audio playback via all available ALSA sound cards and for web based remote control with a purpose to make the media computer the core of a multiroom audio system.
Thursday, December 14, 2017
MiniDLNA is a lightweight media server available for Linux platforms. It also may work on a wider range of Unix systems, but that capability does not come out of the box.
This post provides some instructions on building MiniDLNA on OpenIndiana, Hipster release.
(Continued)
Getting Started
With μcuREST you can implement REST services and/or a web application for communication with your embedded application. First you’ll need to decide which resources (variables or functions of your application) you wish to expose via HTTP and assign URI to those resources. Then define a μcuRESTresource map, binding URI names to the resources. Use this map to instantiate a micurest::application and start a network stack for that application.
(Continued)
Introduction
Preprocessor macros are widely used in C++ for configuring reusable modules, targeting different platforms or working around compiler’s differences. Such approach is inherited from C and used even in modern pure C++ libraries, such as boost.
The aim of this work is to research on suitability of C++ templates and language features for establishing and maintaining compile time configuration of run-time values without use of the preprocessor. Although there are many disputes on advantages and disadvantages of templates vs macros, author’s belief is templates are better in many cases just because they are the first class citizens of C++ language.
(Continued)
Introduction
μcuREST (micurest) is a C++11 library for implementing REST services on constrained platforms, such as bare metal applications on low-end MCUs. The library is platform-agnostic, zero-allocation, and has almost no external dependencies. It allows mapping hierarchically organized URIs to C/C++ variables, constants and methods, and exposing the URIs via HTTP protocol.
(Continued)
Filed in micurest
|
Tagged Arduino, ARM, ATmega, ATmega2560, avr, C++, C++0X, C++1X, Controllino, Cortex-M0, Cortex-M4, embedded, embedded systems, ESP8266, HTTP, json, json parser, json serializer, JSON-RPC, low end MCU, MCU, Particle, Photon, REST
|
USBUART is a cross-platform libusb-based library for reading/wring data via USB-UART adapters with Android support.
It implements a relay from endpoints of a USB-UART converter to a pair of I/O resources, either appointed by given file descriptors, or created inside the library with pipe(2). User application may then use standard I/O operations for reading and writing data.
(Continued)