mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 01:42:22 +01:00
set build flags for flash size
This commit is contained in:
13
.vscode/tasks.json
vendored
Normal file
13
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "install",
|
||||||
|
"path": ".piolibdeps/sprocket-core/tools/",
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
19
README.md
19
README.md
@@ -4,6 +4,25 @@ This is the brain of the the almighty [Illumination Cat](https://www.thingiverse
|
|||||||
## API
|
## API
|
||||||
### WebSocket
|
### WebSocket
|
||||||
Endpoint: /pixel
|
Endpoint: /pixel
|
||||||
|
|
||||||
|
Fields:
|
||||||
|
|Field|Type|Description|
|
||||||
|
| ------------- |-------------| -----|
|
||||||
|
| topic | String | $1600 |
|
||||||
|
| col 2 is | centered | $12 |
|
||||||
|
| zebra stripes | are neat | $1 |
|
||||||
|
|
||||||
|
Example:
|
||||||
|
``` json
|
||||||
|
{
|
||||||
|
"topic": "pixels/color",
|
||||||
|
"payload": "13505813"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
#### Message Formate
|
||||||
|
- topic
|
||||||
|
- payload
|
||||||
|
|
||||||
#### Topics
|
#### Topics
|
||||||
pixels/color
|
pixels/color
|
||||||
pixels/color2
|
pixels/color2
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ board = ${common.board}
|
|||||||
upload_speed = ${common.upload_speed}
|
upload_speed = ${common.upload_speed}
|
||||||
monitor_baud = ${common.monitor_baud}
|
monitor_baud = ${common.monitor_baud}
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
|
build_flags = -Wl,-Teagle.flash.4m.ld
|
||||||
;lib_extra_dirs = ~/src/illucat/.piolibdeps/sprocket-core/lib
|
;lib_extra_dirs = ~/src/illucat/.piolibdeps/sprocket-core/lib
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
painlessMesh
|
painlessMesh
|
||||||
|
|||||||
Reference in New Issue
Block a user