Thomas Bleijendaal
123963f760
UTF8 decoding should ignore invalid characters ( #3026 )
...
Some boards, like ESP32 based boards, give some unintelligible data when connecting to them via Serial. This is sometimes data that is send with the wrong baud rate (hard baked into the boot loader), or something else. It's hard to prevent this from happening. When a build is uploaded to the ESP board for unit testing, the decoding of the incoming stream should not fail the test due to some garbled content. Since the read data is validated on line 95, any garbage is automatically ignored and only outputted to the console.
2019-09-16 21:02:07 +03:00
Ivan Kravets
96567dea4d
PyLint fix
2019-09-08 23:44:18 +03:00
Ivan Kravets
c720933d34
Refactor PIO Check
2019-09-08 23:33:25 +03:00
Ivan Kravets
f61d03ec8f
PIO Check ( #2982 )
2019-09-08 18:04:41 +03:00
Ivan Kravets
2c242944c7
Fixed default PIO Unified Debugger configuration for J-Link probe
2019-09-02 16:48:33 +03:00
Ivan Kravets
55a44aecc3
Remove debug code
2019-08-27 20:26:44 +03:00
Ivan Kravets
81fc1c9010
Fixed an issue with PIO Unified Debugger on Windows when debug server is piped
2019-08-27 20:23:03 +03:00
Ivan Kravets
cba2f4d7b6
Remove ProjectConfig cache when "platformio.ini" was modified outside
2019-08-25 18:37:14 +03:00
Ivan Kravets
0e56a155f8
Fixed an issue when printing settings and file path contains non-ASCII chars // Resolve #2934
2019-08-22 14:21:54 +03:00
Ivan Kravets
c6de3ebea0
Refactor "humanize_duration_time" to "00:00:00.000" format
2019-08-20 16:49:18 +03:00
Ivan Kravets
1dc15326c9
Export ProjectConfig instance to templates generator // Issue #2824
2019-08-18 11:06:52 +03:00
Ivan Kravets
5ea3f2bbc6
Use board ID when InternetIsOffline for getting resent projects // Resolve #2866
2019-08-17 23:58:05 +03:00
Ivan Kravets
08103cfc59
Improve settings printing
2019-08-17 23:57:12 +03:00
Simon Arlott
0587f5b964
Add __attribute__((unused)) to generated test code ( #2906 )
...
Without this, the compiler will generate unused parameter warnings in
the native version:
test/output_export.cpp: In function ‘void output_start(unsigned int)’:
test/output_export.cpp:6:32: error: unused parameter ‘baudrate’ [-Werror=unused-parameter]
void output_start(unsigned int baudrate)
^~~~~~~~
cc1plus: all warnings being treated as errors
2019-08-17 21:07:37 +03:00
Ivan Kravets
0677bcecb9
Improve printing of tabulated results
2019-08-17 20:55:16 +03:00
Ivan Kravets
9023358d9e
YAPF=0.28.0
2019-08-17 17:54:31 +03:00
Ivan Kravets
3edf7e6ca8
Fixed an issue with PIO Home's "No JSON object could be decoded" // Resolve #2823
2019-08-15 21:44:07 +03:00
Ivan Kravets
6a90388649
Move FS related helpers to fs.py module
2019-08-12 19:44:37 +03:00
Ivan Kravets
5505c6c0e3
Switch Energia's projects to Arduino framework
2019-07-21 22:31:39 +03:00
Ivan Kravets
6d7854d113
Session based IDE integration with PIO Home
2019-07-19 12:59:50 +03:00
Ivan Kravets
aebe891895
Skip modified homeState
2019-07-18 14:17:30 +03:00
Ivan Kravets
6ea49910d5
Fixed an issue when "debug", "home", "run", and "test" commands were not shown in "platformio --help" CLI
2019-07-18 00:19:30 +03:00
Ivan Kravets
8059e04499
Improved computing of project check sum (structure, configuration) and avoid unnecessary rebuilding
2019-07-16 15:47:33 +03:00
Ivan Kravets
71c4201487
Do not save unnecessary data for PIO Home
2019-07-16 14:15:48 +03:00
Ivan Kravets
425c1fb0a8
Do not shutdown PIO Home Server for "upgrade" operations // Resolve #2784
2019-07-15 18:19:40 +03:00
Ivan Kravets
6f2779fe5d
Remove unnecessary code
2019-07-15 14:46:23 +03:00
Ivan Kravets
b51f2ae722
Fixed an issue with incorrect escaping of Windows slashes for PIO Unified Debugger
2019-07-15 14:20:14 +03:00
Ivan Kravets
5e73348263
Print debug tool name in debugging session
2019-07-11 14:09:15 +03:00
Ivan Kravets
f81b1089c1
Control a number of parallel build jobs with a new -j, --jobs option
2019-07-10 13:00:51 +03:00
Ivan Kravets
d003dffc5a
Fixed an issue with broken internal call for PIO Account // Resolve #2748
2019-07-10 00:20:23 +03:00
Ivan Kravets
0a638b7ea5
Fix issues with Unicode arguments when calling inline PIO Core
2019-07-09 00:14:11 +03:00
Ivan Kravets
ffcf6b873a
Use native Windows API for getting My Documents folder path
2019-07-08 17:21:28 +03:00
Ivan Kravets
caf5159002
Fixed an issue when Ctrl+C(SIGINT) terminates debugging session instead of halting // Resolve #2733
2019-07-04 17:47:26 +03:00
Ivan Kravets
26dda104dd
Remove debug code
2019-07-03 15:22:04 +03:00
Ivan Kravets
7c6fabaee2
Fix an issue with unhandled warnings from PIO Core when calling it internally // Resolved #2727
2019-07-03 15:10:37 +03:00
Ivan Kravets
fd9ca0cd15
Ensure buffer is created for thread stream
2019-07-02 22:35:35 +03:00
Ivan Kravets
6c47c7506e
Do not remove thread buffers, reset them instead
2019-07-02 22:26:01 +03:00
Ivan Kravets
18d93dfcc9
Use StringIO for PY3
2019-07-02 21:04:43 +03:00
Ivan Kravets
4b24d6e3e4
Minor changes
2019-07-02 20:48:43 +03:00
Ivan Kravets
2988724456
Setup MultiThreadingStdStreams from child threads
2019-07-02 20:44:33 +03:00
Ivan Kravets
148b7dccfd
Refactor ThreadSafeStdBuffer
2019-07-02 15:47:03 +03:00
Ivan Kravets
d2c86ab71c
Refactor state to a proxied dictionary
2019-07-02 00:41:47 +03:00
Ivan Kravets
bf77d70d82
Thread safe internal PIO Core calling for PIO Home
2019-07-01 20:39:52 +03:00
Ivan Kravets
dfca7f0b68
Speedup PIO Home via internal calling of PIO Core CLI
2019-07-01 15:55:42 +03:00
Ivan Kravets
f30bd18bdc
Skip async output when empty byte is given
2019-06-28 19:07:59 +03:00
Ivan Kravets
a75823227d
Use :1234 as default GDB port for QEMU
2019-06-27 15:13:16 +03:00
Ivan Kravets
96d337388b
Debug: Initial configuration for QEMU
2019-06-27 15:07:13 +03:00
Ivan Kravets
c89793eab9
Use piped openOCD for RISC-V
2019-06-27 15:06:12 +03:00
Ivan Kravets
e27b40390d
Look for project dir in sys env variables (hooks for Eclipse, CLion)
2019-06-27 14:57:05 +03:00
Ivan Kravets
d07a1d265e
Log stdout of GDB client
2019-06-27 13:38:46 +03:00