sforkowany z mirror/meshtastic-firmware
Adding batch script for generating uf2 files for NRF boards (#945)
* Updated generated protos * Added uf2-converter batch for windows machines1.2-legacy
rodzic
79eb5546a1
commit
9d019c1a99
|
@ -0,0 +1,2 @@
|
||||||
|
@echo off
|
||||||
|
if [%1]==[] (echo "Please specify a platformio NRF target (i.e. rak4631) as the first argument.") else (python3 .\bin\uf2conv.py .\.pio\build\%1\firmware.hex -c -o .\.pio\build\%1\firmware.uf2 -f 0xADA52840)
|
|
@ -4,9 +4,9 @@
|
||||||
#ifndef PB_ADMIN_PB_H_INCLUDED
|
#ifndef PB_ADMIN_PB_H_INCLUDED
|
||||||
#define PB_ADMIN_PB_H_INCLUDED
|
#define PB_ADMIN_PB_H_INCLUDED
|
||||||
#include <pb.h>
|
#include <pb.h>
|
||||||
|
#include "channel.pb.h"
|
||||||
#include "mesh.pb.h"
|
#include "mesh.pb.h"
|
||||||
#include "radioconfig.pb.h"
|
#include "radioconfig.pb.h"
|
||||||
#include "channel.pb.h"
|
|
||||||
|
|
||||||
#if PB_PROTO_HEADER_VERSION != 40
|
#if PB_PROTO_HEADER_VERSION != 40
|
||||||
#error Regenerate this file with the current version of nanopb generator.
|
#error Regenerate this file with the current version of nanopb generator.
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#ifndef PB_DEVICEONLY_PB_H_INCLUDED
|
#ifndef PB_DEVICEONLY_PB_H_INCLUDED
|
||||||
#define PB_DEVICEONLY_PB_H_INCLUDED
|
#define PB_DEVICEONLY_PB_H_INCLUDED
|
||||||
#include <pb.h>
|
#include <pb.h>
|
||||||
#include "mesh.pb.h"
|
|
||||||
#include "channel.pb.h"
|
#include "channel.pb.h"
|
||||||
|
#include "mesh.pb.h"
|
||||||
#include "radioconfig.pb.h"
|
#include "radioconfig.pb.h"
|
||||||
|
|
||||||
#if PB_PROTO_HEADER_VERSION != 40
|
#if PB_PROTO_HEADER_VERSION != 40
|
||||||
|
|
Ładowanie…
Reference in New Issue