Re: NEW: devel/mkspiffs 0.2.3

2020-04-22 Thread Tracey Emery
On Wed, Apr 22, 2020 at 03:31:17AM +0200, Jeremie Courreges-Anglas wrote:
> On Mon, Apr 06 2020, Tracey Emery  wrote:
> > Hello,
> >
> > This new port is a tool specifically patched to build and upack SPIFFS
> > images for ESP32 and ESP8266 embedded devices, using SPIFFS as the
> > submodule. It is a runtime dependency for the next two arduino-core
> > ports I'll be sending.
> >
> > I've been using this on amd64 for a few months.
> >
> > OK?
> 
> A few cleanups:
> - enforce CC/CXX instead of relying on COMPILER=ports-clang setting up
> gcc and g++ symlinks.  Since this ports uses C++11 set COMPILER =
> base-clang ports-gcc (both successfully tested on amd64)
> - drop -Os from CFLAGS/CXXFLAGS
> - don't strip the resulting executable, else DEBUG=-g is useless
> - refresh WANTLIB
> - just use GH_TAGNAME instead of V
> - I think the DISTFILES dance is complicated enough without complicated
>   constructs like ${SPFS_V:C/().*/\1/}.  Why not use the full
>   hash?
> - drop https://github.com/igrr/mkspiffs from DESCR (already taken
>   automatically from HOMEPAGE, see pkg_info mkspiffs)
> 
> If you like those changes, ok jca@

Those changes work for me. Thanks!

> 
> It's a shame there isn't more documentation than mkspiffs --help.
> 
> I would suggest upstream to publish source tarballs with vendored
> spiffs, after all they already publish a lot of assets for releases:
> https://github.com/igrr/mkspiffs/releases
> 
> 


> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


-- 

Tracey Emery



Re: NEW: devel/mkspiffs 0.2.3

2020-04-21 Thread Jeremie Courreges-Anglas
On Mon, Apr 06 2020, Tracey Emery  wrote:
> Hello,
>
> This new port is a tool specifically patched to build and upack SPIFFS
> images for ESP32 and ESP8266 embedded devices, using SPIFFS as the
> submodule. It is a runtime dependency for the next two arduino-core
> ports I'll be sending.
>
> I've been using this on amd64 for a few months.
>
> OK?

A few cleanups:
- enforce CC/CXX instead of relying on COMPILER=ports-clang setting up
gcc and g++ symlinks.  Since this ports uses C++11 set COMPILER =
base-clang ports-gcc (both successfully tested on amd64)
- drop -Os from CFLAGS/CXXFLAGS
- don't strip the resulting executable, else DEBUG=-g is useless
- refresh WANTLIB
- just use GH_TAGNAME instead of V
- I think the DISTFILES dance is complicated enough without complicated
  constructs like ${SPFS_V:C/().*/\1/}.  Why not use the full
  hash?
- drop https://github.com/igrr/mkspiffs from DESCR (already taken
  automatically from HOMEPAGE, see pkg_info mkspiffs)

If you like those changes, ok jca@

It's a shame there isn't more documentation than mkspiffs --help.

I would suggest upstream to publish source tarballs with vendored
spiffs, after all they already publish a lot of assets for releases:
https://github.com/igrr/mkspiffs/releases




mkspiffs.2.tgz
Description: Binary data

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


Re: NEW: devel/mkspiffs 0.2.3

2020-04-12 Thread Paco Esteban
On Tue, 07 Apr 2020, Tracey Emery wrote:

> On Mon, Apr 06, 2020 at 09:01:46AM -0600, Tracey Emery wrote:
> > Hello,
> > 
> > This new port is a tool specifically patched to build and upack SPIFFS
> > images for ESP32 and ESP8266 embedded devices, using SPIFFS as the
> > submodule. It is a runtime dependency for the next two arduino-core
> > ports I'll be sending.
> > 
> > I've been using this on amd64 for a few months.
> > 
> > OK?
> > 
> > -- 
> > 
> > Tracey Emery
> 
> New port has kmos suggested comment and change for COMPILER.
> Thanks.

Builds, installs and works for me on amd64.  Tried it with some small
projects on ESP8266 boards (do not have any ESP32 handy).

ok paco.

-- 
Paco Esteban.
0x5818130B8A6DBC03



Re: NEW: devel/mkspiffs 0.2.3

2020-04-07 Thread Tracey Emery
On Mon, Apr 06, 2020 at 09:01:46AM -0600, Tracey Emery wrote:
> Hello,
> 
> This new port is a tool specifically patched to build and upack SPIFFS
> images for ESP32 and ESP8266 embedded devices, using SPIFFS as the
> submodule. It is a runtime dependency for the next two arduino-core
> ports I'll be sending.
> 
> I've been using this on amd64 for a few months.
> 
> OK?
> 
> -- 
> 
> Tracey Emery

New port has kmos suggested comment and change for COMPILER.
Thanks.

-- 

Tracey Emery


mkspiffs-0.2.3.tgz
Description: Binary data


NEW: devel/mkspiffs 0.2.3

2020-04-06 Thread Tracey Emery
Hello,

This new port is a tool specifically patched to build and upack SPIFFS
images for ESP32 and ESP8266 embedded devices, using SPIFFS as the
submodule. It is a runtime dependency for the next two arduino-core
ports I'll be sending.

I've been using this on amd64 for a few months.

OK?

-- 

Tracey Emery


mkspiffs-0.2.3.tgz
Description: Binary data


NEW: devel/mkspiffs 0.2.3 [7/7]

2019-07-16 Thread Tracey Emery
devel/mkspiffs: Tool to build and unpack SPIFFS images.


mkspiffs-0.2.3.tar.gz
Description: Binary data