add geany project files

This commit is contained in:
Marcus 2024-05-11 01:20:49 +02:00
parent 762a0a5232
commit cbee2c89be
4 changed files with 70 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,5 +1,4 @@
KiCad/CanGrow/CanGrow-backups KiCad/CanGrow/CanGrow-backups
KiCad/CanGrow/CanGrow.kicad_sch-bak KiCad/CanGrow/CanGrow.kicad_sch-bak
KiCad/CanGrow/fp-info-cache KiCad/CanGrow/fp-info-cache
Arduino/CanGrow/CanGrow.geany
KiCad/CanGrow/gerber/*.zip KiCad/CanGrow/gerber/*.zip

View file

@ -0,0 +1,57 @@
[editor]
line_wrapping=false
line_break_column=72
auto_continue_multiline=true
[file_prefs]
final_new_line=true
ensure_convert_new_lines=false
strip_trailing_spaces=false
replace_tabs=false
[indentation]
indent_width=2
indent_type=0
indent_hard_tab_width=8
detect_indent=false
detect_indent_width=false
indent_mode=2
[project]
name=CanGrow
base_path=./
description=
file_patterns=.ino,;.h;
[long line marker]
long_line_behaviour=1
long_line_column=72
[files]
current_page=1
FILE_NAME_0=0;Arduino;0;EUTF-8;0;1;0;.%2FCanGrow.ino;0;2
FILE_NAME_1=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_HTML.h;0;2
FILE_NAME_2=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_Init.h;0;2
FILE_NAME_3=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_Logo.h;0;2
FILE_NAME_4=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_PinAssignments.h;0;2
FILE_NAME_5=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_Sensors.h;0;2
FILE_NAME_6=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_SysFunctions.h;0;2
FILE_NAME_7=0;C++;0;EUTF-8;0;1;0;.%2FCanGrow_WebFunctions.h;0;2
[build-menu]
C++FT_00_LB=_Compile
C++FT_00_CM=~/.local/bin/arduino-cli --no-color compile -b esp8266:esp8266:d1_mini_clone "%d/CanGrow.ino"
C++FT_00_WD=
filetypes=C++;Arduino;
ArduinoFT_00_LB=_Build
ArduinoFT_00_CM=~/.local/bin/arduino-cli --no-color compile -b esp8266:esp8266:d1_mini_clone "%d/CanGrow.ino"
ArduinoFT_00_WD=
ArduinoFT_01_LB=Build & Upload
ArduinoFT_01_CM=~/.local/bin/arduino-cli --no-color compile -v -b esp8266:esp8266:d1_mini_clone -u -p /dev/ttyUSB0 "%d/CanGrow.ino"
ArduinoFT_01_WD=
C++FT_01_LB=_Build & Upload
C++FT_01_CM=~/.local/bin/arduino-cli --no-color compile -v -b esp8266:esp8266:d1_mini_clone -u -p /dev/ttyUSB0 "%d/CanGrow.ino"
C++FT_01_WD=
[VTE]
last_dir=~

View file

@ -174,6 +174,9 @@ const char HTMLneedRestart[] PROGMEM = R"EOF(
const char HTMLhelp[] PROGMEM = R"EOF( const char HTMLhelp[] PROGMEM = R"EOF(
<h2>&#x2753; Help</h2> <h2>&#x2753; Help</h2>
Here you will get some helpful help. Here you will get some helpful help.
<h3>API</h3>
Sensor data: <code>GET /api/sensors</code>
Debug all data: <code>GET /api/debug</code>
)EOF"; )EOF";

10
Arduino/CanGrow/README.md Normal file
View file

@ -0,0 +1,10 @@
# CanGrow - Arduino Code
Here the Code for CanGrow is contained.
A ESP8266 with Arduino Firmware is used (should most times be the standard already).
I wrote this project using [Geany IDE. ](https://www.geany.org/). The Geany Projectfile is also included.
Compiling is done with [arduino-cli](https://github.com/arduino/arduino-cli). It is supposed to be in
`~/.local/bin/arduino-cli`.
**F8 compiles** the project, **F9 uploads** firmware to /dev/ttyUSB0. You can change these settings for .ino and .h files
in Project -> Settings -> Create/Make.