Commit Graph

77 Commits

Author SHA1 Message Date
Ivan Kravets 02db510048 Check serial device description when looking for GDB port 2017-11-08 11:22:44 +02:00
Ivan Kravets 5d2867d8a9 Automatically detect BlackMagic probe GDB port 2017-11-07 00:10:48 +02:00
Ivan Kravets e5e5ebb7db YAPF formatter 2017-11-01 14:10:32 +02:00
Ivan Kravets d5baa153a5 Fix an issue when can not upload firmware to SAM-BA based board (Due) 2017-08-01 00:33:51 +03:00
Ivan Kravets 861659e890 Wait for 400ms after touching serial port (fix SAM-BA issue) 2017-08-01 00:12:05 +03:00
Ivan Kravets f13537cabb YAPF 2017-07-24 17:35:41 +03:00
Ivan Kravets 93db0fa064 Improve WaitForNewSerialPort for atmega32u4 based boards 2017-06-24 01:29:53 +03:00
Ivan Kravets 4d1a135d76 Apply YAPF 2017-06-05 16:05:05 +03:00
Ivan Kravets 45e75f7473 Copyright (c) 2014-present PlatformIO <contact@platformio.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2017-06-05 16:02:39 +03:00
Ivan Kravets 0c9e6ef577 Close serial port after verification 2017-05-30 19:42:32 +03:00
Ivan Kravets 198dadc209 Verify that serial port is ready for connection before uploading 2017-05-30 14:06:25 +03:00
Ivan Kravets 5eb2fc67e5 Skip network driver when searching for mbed disk 2017-05-11 14:49:44 +03:00
Ivan Kravets 30ff491a34 Remove extra delay before waiting for serial port 2017-05-03 20:33:37 +03:00
Ivan Kravets d16fd73b05 Better detecting of mbed-enabled media disk 2017-04-14 18:05:15 +03:00
Ivan Kravets 59b65ba668 Check mbed html page before uploading 2017-04-13 20:02:08 +03:00
Ivan Kravets aed7597bd7 Unix shell-style wildcards for “upload_port” // Resolve #839 2016-12-03 17:59:15 +02:00
Ivan Kravets 8236f3ff86 Ask about serial port for device monitor when more than one is found 2016-10-31 20:06:48 +02:00
Ivan Kravets a251470ebd Python style formatting 2016-10-31 20:05:34 +02:00
Ivan Kravets c2bf38f873 Improved handling of library dependencies specified in `library.json` manifest // Resolve #814 2016-10-26 18:35:43 +03:00
Ivan Kravets 5bcec6b6a0 Merge branch 'develop' into feature/pio-remote
* develop:
  Fix "99-platformio-udev.rules" checker for Linux OS
  Fix issue with "PATH" auto-configuring for upload tools
  New article by Kadda Sahnine
2016-10-04 01:26:19 +03:00
Ivan Kravets 00aeaf021d Further work on PIO Remote 2016-10-04 01:24:38 +03:00
Ivan Kravets 36ced8010a Fix "99-platformio-udev.rules" checker for Linux OS 2016-09-29 19:03:56 +03:00
Ivan Kravets 8cc06c214a Improve detecting of ARM mbed media disk for uploading 2016-09-21 19:31:02 +03:00
Ivan Kravets 543a137506 Fix udev.rules warning under Linux Mint 2016-09-18 23:48:10 +03:00
Ivan Kravets e232810325 Improve output in non verbose mode 2016-08-27 19:30:38 +03:00
Ivan Kravets 054790d161 Use stderr stream to write errors instead env.Exi() 2016-08-26 14:39:23 +03:00
Ivan Kravets 92e82941fe Hint about hard reset for the boards with mbed bootloader // Issue #709 2016-08-09 14:37:44 +03:00
Ivan Kravets fe76192590 Automatically detect Microbit disk for upload // Issue #709 2016-08-09 14:25:05 +03:00
Ivan Kravets 87d0ead203 Format code with pep8 style 2016-08-03 23:38:20 +03:00
Ivan Kravets 0c9d539a92 Update copyrights 2016-08-03 22:18:51 +03:00
Ivan Kravets 1029233ec7 Merge branch 'develop' into feature/platformio-30
* develop:
  Update docs for Teensy USB Features // Issue #722
  Implement Teensy 2.0 USB functionality (HID, SERIAL_HID, DISK, MIDI, etc.) // Resolve #722
  Add support for Pinoccio Scout board // Resolve #52
  Fix broken LD Script for Element14 chipKIT Pi board // Resolve #725  Resolve #726
  Fix USB flags processing for teensy platform // Issue #722
  Add Pinoccio board // Issue #52
  Minor improvements for CLion docs
  Improved docs for integration with CLion IDE
  Version bump to 2.11.1 (issues #472, #629, #710, #711, #712, #713, #718)
  Typo fix
  Add "udev" rules for OpenOCD CMSIS-DAP adapters // Resolve #718
  Update history
  Ignore "[platformio]" section from custom project configuration CI
  Bump to 2.11.1b1
  Add Arduino M0 Pro and Tian to the examples // Issue #472
  Fix issue when `pioenvs` folder doesn't exist
  Add more info about `.pioenvs` directory
  Improve CMSIS selection for SAMD21 boards
  Improve support for SAMD21 based boards
  Add contributing guidelines
2016-07-18 22:43:24 +03:00
Ivan Kravets 8eed54ca45 Refactor PLATFORM and FRAMEWORK build variables with PIO prefix 2016-07-17 16:05:28 +03:00
Valeriy Koval 3984f80bae Improve support for SAMD21 based boards 2016-07-11 19:12:10 +03:00
Ivan Kravets 6a08b2126f Merge branch 'develop' into feature/platformio-30
* develop:
  Fix issue with ``platformio init --ide`` command for Python 2.6
  Version bump to 2.10.3
  Fix issue with appending PIO version to Build Defines
  Add test for `init --ide eclipse`
  Version bump to 2.10.2 (issues #695)
  Fix firmware uploading to Arduino/Genuino 101 // Resolve #695
  Use $PLATFORM from build environment instead from the board config
  Update Intel ARC32 Arduino framework to v1.0.6 // Issue #695
  Update Intel ARC32 Arduino framework to v1.0.6
  Add support for ST Nucleo L031K6 board to ARM mbed framework
  Revert mcu option for genuino101
  Update intel_arc32 platform
  Update HISTORY.rst
  Fix upload size checker
  Process "$BUILD_UNFLAGS" variable
  Restore PIO macros if it was deleted by framework
2016-06-15 20:11:22 +03:00
Ivan Kravets 682e435ded Fix firmware uploading to Arduino/Genuino 101 // Resolve #695 2016-06-15 16:02:04 +03:00
Ivan Kravets f5727af40e Fix upload size checker 2016-06-15 13:25:35 +03:00
Ivan Kravets 2978133862 Fix upload size checker 2016-06-15 00:59:44 +03:00
Ivan Kravets 36a9bf69de Merge branch 'develop' into feature/platformio-30
* develop:
  Add support for ST Nucleo L031K6 board to ARM mbed framework
  Fix typo
  Fix pylint error
  Update history
  Improve linker flags handling for mbed
  Update examples
  Improve include selection for mbed boards with a custom vendor
  Re-submit a package to PyPI
  Version bump to 2.10.0 (issues #683, #687, #688, #689, #691)
  Pass PlatformIO macros with version to libs
  Update ARM mbed framework package to v121
  Typo fixes
  Move custom platform and board to separate page
  Add new ST Nucleo board
  Update build script for mbed framework
  Improve firmware uploading to Arduino Leonardo based boards // Resolve #691
  Typo fix
2016-06-14 20:10:50 +03:00
Ivan Kravets 3b8bc42266 Improve firmware uploading to Arduino Leonardo based boards // Resolve #691 2016-06-11 23:35:29 +03:00
Ivan Kravets d8ca9d79c3 Merge branch 'develop' into feature/platformio-30
* develop:
  Improve checking for the program size before uploading // Issue #689
  Refactor board "hwid" option to "hwids"
  Add HWID for NodeMCU board
  Better checking of program size before uploading // Issue #689
2016-06-11 16:46:34 +03:00
Ivan Kravets 5398dbef95 Improve checking for the program size before uploading // Issue #689 2016-06-11 15:39:06 +03:00
Ivan Kravets a4345cedc5 Refactor board "hwid" option to "hwids" 2016-06-11 15:12:27 +03:00
Ivan Kravets f2c1e279c9 Better checking of program size before uploading // Issue #689 2016-06-11 00:55:38 +03:00
Ivan Kravets 51ad0ed830 Merge branch 'develop' into feature/platformio-30
* develop:
  Check program size before uploading to the board // Resolve #689
  Fix issue with "-L relative/path" when parsing "build_flags" // Resolve #688
  Fix upload speed for OpenEnergyMonitor board
2016-06-11 00:36:27 +03:00
Ivan Kravets 60ff546fec Check program size before uploading to the board // Resolve #689 2016-06-11 00:02:36 +03:00
Ivan Kravets e892473af7 Refactor AutodetectUploadPort 2016-06-08 13:47:03 +03:00
Ivan Kravets d3ab58a487 Merge branch 'develop' into feature/platformio-30
* develop:
  Typo fix
  Version bump to 2.9.4
  Show "udev" warning only for the Linux OS while upload firmware
  Version bump to 2.9.3
  Notify Linux user to install PlatformIO udev rules
  Add new article
  Add support for Arduboy
  Remove unused imports
  Refactor firmware uploading to the embedded boards with SAM-BA bootloader
  Fix firmware uploading to the embedded boards with SAM-BA bootloader
  Add explanation about waiting for the new serial port
  Hook when new serial port is the same in boot mode
  Revert back some code linked with uploading to Leonardo/Due

# Conflicts:
#	platformio/__init__.py
#	platformio/boards/misc.json
#	platformio/builder/scripts/atmelavr.py
#	platformio/builder/scripts/atmelsam.py
#	platformio/builder/tools/pioupload.py
2016-06-06 14:33:09 +03:00
Ivan Kravets 439cd77db8 Show "udev" warning only for the Linux OS while upload firmware 2016-06-04 00:23:33 +03:00
Ivan Kravets 646123f9ab Notify Linux user to install PlatformIO udev rules 2016-06-03 20:57:20 +03:00
Ivan Kravets 45d5159fe3 Remove unused imports 2016-06-03 18:46:28 +03:00