Skip to content

Commit 17e62e4

Browse files
committed
remove sensortest + rename sketches -> tinysensor
1 parent fade44c commit 17e62e4

13 files changed

+5
-108
lines changed

hub/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ prefix := /usr/local
44

55
# The recommended compiler flags for the Raspberry Pi
66
CXXFLAGS = -Wall -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -fno-strict-aliasing -g
7-
CPPFLAGS = -I$(prefix)/include -I../sketches -DMAX_SENSORS=64
7+
CPPFLAGS = -I$(prefix)/include -I../tinysensor -DMAX_SENSORS=64
88
CC = g++
99
LDFLAGS = -L$(prefix)/lib
1010
DEPFLAGS = -MM -MP -MF

rf24bridge/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BOARD := d1_mini
22
TERMINAL_SPEED := 115200
3-
CPPFLAGS := -DLISTEN_PORT=5555 -I../sketches
3+
CPPFLAGS := -DLISTEN_PORT=5555 -I../tinysensor
44
LOCAL_LIBRARY_PATH := ~/src/nRF24
55

66
FLASH_SIZE := 4M1M

sketches/sensortest.ino

-103
This file was deleted.
File renamed without changes.

sketches/Makefile tinysensor/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BOARD := tinysensor
2-
SKETCH ?= tinysensor.ino
2+
SKETCH := tinysensor.ino
33
TERMINAL_SPEED := 9600
44
CPPFLAGS = -DNODE_ID=$(NODE_ID)
55
ifeq ($(DEBUG),1)

sketches/README.md tinysensor/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ $ cp boards.local.txt ~/.arduino15/packages/ATTinyCore/hardware/avr/1.2.4/
55
$ cp optiboot_tinysensor.hex ~/.arduino15/packages/ATTinyCore/hardware/avr/1.2.4/bootloaders/optiboot/
66
```
77

8-
Build either the "sensortest" (default) or the "tinysensor" sketch:
8+
Build the "tinysensor" sketch:
99

1010
```
1111
$ make -I ~/src/uC-Makefile upload term
12-
$ make -I ~/src/uC-Makefile NODE_ID=5 SKETCH=tinysensor.ino upload
12+
$ make -I ~/src/uC-Makefile NODE_ID=5 upload
1313
```
1414

1515
To generate the bootloader file, apply "optiboot.patch" to the optiboot
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

sketches/wdt.h tinysensor/wdt.h

File renamed without changes.

0 commit comments

Comments
 (0)