set build flags for flash size

This commit is contained in:
2018-09-19 21:07:46 +02:00
parent b6d82bcdf7
commit 49d255c728
3 changed files with 33 additions and 0 deletions

13
.vscode/tasks.json vendored Normal file
View 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": []
}
]
}

View File

@@ -4,6 +4,25 @@ This is the brain of the the almighty [Illumination Cat](https://www.thingiverse
## API
### WebSocket
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
pixels/color
pixels/color2

View File

@@ -29,6 +29,7 @@ board = ${common.board}
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
build_flags = -Wl,-Teagle.flash.4m.ld
;lib_extra_dirs = ~/src/illucat/.piolibdeps/sprocket-core/lib
lib_deps = ${common.lib_deps}
painlessMesh