2017 © Pedro Peláez
 

library embed-files

image

dmelo/embed-files

  • Tuesday, May 8, 2018
  • by dmelo
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Embed-Files

Prepare files to be written on Arduino and MBed OS devices flash., (*1)

Install:

composer require dmelo/embed-files
````

## Usage:

Usage: ./vendor/bin/embed-files PLATFORM SOURCE_DIR OUTPUT_H, (*2)

PLATFORM - Possible values are "arduino" and "mbedos"
SOURCE_DIR - Directory that contains all files to be encoded
OUTPUT_H - Output C header file name where the encoded failes will be stored

```, (*3)

Where SOURCE_DIR is the directory containing all the files to be encoded. So far, it is not recursive. And OUTPUT_H is the output C header file that will contain the files, in binary format., (*4)

If SOURCE_DIR contains a file name jquery.min.js, then that file will be availeble on the variable named JQUERY_MIN_JS., (*5)

Accessing strings on Arduino and ESP8266

Due to the fact that Arduino/ESP8266 flash can only be fetched in chunks of 32 bits. You need be carefull accessing that data. Refer to http://arduino-esp8266.readthedocs.io/en/latest/PROGMEM.html to get the details., (*6)

The Versions

08/05 2018

dev-master

9999999-dev

  Sources   Download

The Requires

  • php ^7.0

 

by Diogo Oliveira de Melo

08/05 2018

0.1.3

0.1.3.0

  Sources   Download

The Requires

  • php ^7.0

 

by Diogo Oliveira de Melo

29/03 2018

0.1.2

0.1.2.0

  Sources   Download

The Requires

  • php ^7.0

 

by Diogo Oliveira de Melo

11/02 2018

0.1.1

0.1.1.0

  Sources   Download

The Requires

  • php ^7.0

 

by Diogo Oliveira de Melo

11/02 2018

0.1.0

0.1.0.0

  Sources   Download

by Diogo Oliveira de Melo