rafw87/Arduino CLI compilation result parser
Parses compilation result from Arduino CLI and extracts program and ram memory usage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| compile-log | Log from `arduino-cli compile` | yes | — |
| progmem-bytes-treshold | Treshold for program memory bytes. Its exceeding will be indicated by progmem-bytes-excedded='1' | no | — |
| progmem-percentage-treshold | Treshold for program memory percentage. Its exceeding will be indicated by progmem-percentage-excedded='1' | no | — |
| ram-bytes-treshold | Treshold for RAM bytes. Its exceeding will be indicated by ram-bytes-excedded='1' | no | — |
| ram-percentage-treshold | Treshold for RAM percentage. Its exceeding will be indicated by ram-percentage-excedded='1' | no | — |
| ram-remained-treshold | Treshold for remained RAM. Its exceeding (going below) will be indicated by ram-remained-excedded='1' | no | — |
Outputs
| name | description |
|---|---|
| progmem-bytes | Number of program memory bytes as reported by arduino-cli. |
| progmem-bytes-exceeded | Value '1' indicates that progmem-bytes-treshold has been exceeded. |
| progmem-percentage | Percentage of program memory used as reported by arduino-cli. |
| progmem-percentage-exceeded | Value '1' indicates that progmem-percentage-treshold has been exceeded. |
| progmem-total | Total program memory used as reported by arduino-cli. |
| ram-bytes | Number of dynamic memory bytes as reported by arduino-cli. |
| ram-bytes-exceeded | Value '1' indicates that ram-bytes-treshold has been exceeded. |
| ram-percentage | Percentage of dynamic memory used as reported by arduino-cli. |
| ram-percentage-exceeded | Value '1' indicates that ram-percentage-treshold has been exceeded. |
| ram-remained | Bytes of remained dynamic memory as reported by arduino-cli. |
| ram-remained-exceeded | Value '1' indicates that ram-remained-treshold has been exceeded. |
| ram-total | Total dynamic memory used as reported by arduino-cli. |