Commit graph

294 commits

Author SHA1 Message Date
Scott Lahteine
102c9595f2 Restore STM32F103RE environment 2019-12-01 13:42:00 -06:00
Gustavo Alvarez
efc3873149 Reorder F103RE environments (#16054) 2019-12-01 13:17:45 -06:00
Scott Lahteine
8431af2bff Add -fmerge-all-constants flag 2019-11-29 22:56:59 -06:00
Björn Wedi
3a88cfd992 Simplify platformio.ini with 'extends' (#16035)
- Add [env] with default settings
- Use 'extends' to shrink similar env entries
2019-11-29 05:05:46 -06:00
George Fu
cf1e19d167 Fysetc S6 support (#15850) 2019-11-26 16:15:03 -06:00
thisiskeithb
f786cc5145 Revert default BTT STM32F103 environment (#16006) 2019-11-26 04:28:13 -06:00
Bob
e7519c50b6 Include MAX31865 library (#15969) 2019-11-26 03:23:51 -06:00
Chris Pepper
48e264e4e1
Update platformio.ini (env:LPC176x) (#15971) 2019-11-23 18:43:12 +00:00
Gustavo Alvarez
b2a275891c Support RET6 in BTT SKR Mini (#15957) 2019-11-21 05:09:01 -06:00
swilkens
e9bd6ef9fe TMCStepper 0.6.x is now Marlin-compatible (#15950) 2019-11-19 21:06:11 -06:00
Scott Lahteine
d33ca3d058 Only TMCStepper 0.5.x is certified 2019-11-15 17:53:48 -06:00
thisiskeithb
0f57818f2d Support 512K "RCT6" in BTT SKR Mini (#15890) 2019-11-15 02:51:26 -06:00
Scott Lahteine
227951a4ec Tweak platformio.ini alignment 2019-11-13 04:29:23 -06:00
Jason Smith
9fd35c84ce SoftwareSerialM for SKR STM32F1 boards (#15875) 2019-11-12 22:16:54 -06:00
Chris Pepper
8e7d1004cf
Update LPC176x platform version 2019-11-13 03:59:10 +00:00
Lino Barreca
ac71cdc265 New HardwareTimer for STM32 5.7.0 (#15655) 2019-11-12 19:23:02 -06:00
Chris Pepper
af61f37b65
Update lpc176x requirements (#15869) 2019-11-11 03:25:56 +00:00
Tanguy Pruvot
d13573c9cd STM32F1: restore latest ststm32 version (#15776) 2019-11-06 16:56:35 -06:00
Jason Smith
1fe0646d25 Use modified SoftwareSerialM which works with SKR Pro (#15796) 2019-11-04 15:17:42 -06:00
Chris Pepper
b9116d4050
LPC176x Framework update (#15722)
Changes required for compatibility with framework-arduino-lpc176x 0.2.0
2019-11-03 02:34:09 +00:00
Scott Lahteine
a5df89eef7 Add HAL_IWDG_MODULE_ENABLED to generic F4/F7 2019-11-01 22:08:33 -05:00
Scott Lahteine
55c3929359 Group AVRx4 boards together 2019-10-29 15:59:25 -05:00
Scott Lahteine
e7b22a0ed4 Use 5.4.3 for STM32F407VE_black 2019-10-26 16:50:12 -05:00
Scott Lahteine
e0f68cda1e Use ststm32 5.6.0 for now 2019-10-26 14:41:54 -05:00
Tanguy Pruvot
c58cc113dd MKS Robin: restore the TFT v2.0 support (ST7789V) (#15675) 2019-10-25 19:30:43 -05:00
J.C. Nelson
167ecd8620 Chitu board support (e.g., Tronxy X5s) (#15493) 2019-10-25 17:11:25 -05:00
Tanguy Pruvot
0737b1aecf env: SKRmini can't use STLink (#15645) 2019-10-24 12:30:10 -05:00
Scott Lahteine
139b7196a0
Watchdog cleanup (#15283) 2019-09-29 17:57:29 -05:00
Scott Lahteine
d0dd1a387e Require a newer Neopixel 2019-09-29 17:31:06 -05:00
Tanguy Pruvot
43d6e9fa43 STM32F103.. reorganization, SKR mini fix (#15398) 2019-09-29 02:04:53 -05:00
Jason Smith
5f18f5bb90 Require TMCStepper >= 0.5.0 in platformio.ini (#15382) 2019-09-27 19:18:12 -05:00
Dave Johnson
f362dab7be Disable PIO extra_scripts for AT90USB (#15347) 2019-09-25 09:37:27 -05:00
Evgeny Zyatkov
12e0581f24 SKR Pro Neopixel support (#15274) 2019-09-18 17:06:01 -05:00
Bas Stottelaar
c7acd5c45b Upgrade BigTrees to latest platform ststm32 (#15285) 2019-09-17 05:08:47 -05:00
Scott Lahteine
6282655d77 Separate STM32F103R_bigtree_USB environment 2019-09-16 19:17:28 -05:00
Scott Lahteine
20fbb751f1 Tell externals it's Marlin 2019-09-15 03:12:44 -05:00
Tanguy Pruvot
5bf635cec2 STM32F1: Only include USBComposite if flagged (#15243) 2019-09-12 18:35:27 -05:00
Tanguy Pruvot
f1162243f6 STM32F1: No USBSerial without USB-serial bridge (#15242) 2019-09-12 17:59:31 -05:00
Scott Lahteine
dbea6f0022 STM32F1 USB cdc/msc composite device (#15180)
Co-Authored-By: bigtreetech <38851044+bigtreetech@users.noreply.github.com>
2019-09-08 02:28:22 -05:00
Giuliano Zaro
53af7cad0a SAMD51 include u8g library (#15165) 2019-09-04 17:00:30 -05:00
Scott Lahteine
75efa3cdac
Reorganize HAL (#14832) 2019-09-02 19:49:58 -05:00
Tanguy Pruvot
d59d9b5973 Alfawise - LK1/LK2/LK4 and BLTouch (#15118) 2019-09-01 04:10:35 -05:00
Scott Lahteine
2aef83ddcd Add a PlatformIO hook to alter CXXFLAGS 2019-08-29 18:06:24 -05:00
Scott Lahteine
23cffb2c21 Add an env to get the Include Tree 2019-08-29 18:06:24 -05:00
Scott Lahteine
a61c91ae9e Use 'bugfix' branch of U8glib-HAL 2019-08-28 21:39:18 -05:00
Tanguy Pruvot
0a280f00c2 Flag unused variables without buzzer (#15016) 2019-08-23 22:21:30 -05:00
Tanguy Pruvot
012f577bb0 STM32F1: Import (rogerclarkmelbourne) SPI class (#15002) 2019-08-21 06:22:23 -05:00
Scott Lahteine
8c2cfaa907 Fix BigTree_Btt002 build 2019-08-21 04:38:04 -05:00
chzj333
0b47558a09 New board STM32F407 (#14994) 2019-08-20 03:05:12 -05:00
Scott Lahteine
08434b3605 Add TMC26XStepper, not ignore 2019-08-18 23:05:14 -05:00
Scott Lahteine
d2072f9ace
Clean up PlatformIO lib_ignore (#14988)
Originally from #14832.

Users may need to delete platformio work folders before building.
2019-08-18 19:36:14 -05:00
Tanguy Pruvot
5d2519ed50 Allow use of Fysetc SoftwareSerialM (#14893) 2019-08-10 01:45:36 -05:00
Chris Pepper
2971b48a12 Use PlatformIO 4 default dir structure (#14879) 2019-08-08 08:29:33 -05:00
Giuliano Zaro
3e5620283e AGCM4 debug option (#14838) 2019-08-07 00:45:00 -05:00
Scott Lahteine
ab792d004c More PlatformIO aliases 2019-08-03 20:27:47 -05:00
George Fu
f89eb8bf35 Fysetc Cheetah updates (#14800) 2019-08-03 18:12:35 -05:00
Tanguy Pruvot
8efa3455c2 STM32F1: Reduce binary by 2K by dropping full path asserts (#14807) 2019-08-02 07:28:38 -05:00
Scott Lahteine
e85eca2630 HAL cleanup, Teensy 3.1 platform 2019-08-02 07:22:26 -05:00
Scott Lahteine
f8b8cbfc53 Press the big red button on PlatformIO 4.0 2019-07-31 15:02:11 -05:00
pinchies
d98b9d54f1 JGAurora A5S & A1 touch support (#14768) 2019-07-30 17:08:11 -05:00
Giuliano Zaro
290466578f Adafruit Grand Central M4 (#14749) 2019-07-28 14:48:29 -05:00
thisiskeithb
d74efd9d46 MKS Robin Lite/Lite2 Board Support (#14729) 2019-07-27 04:43:37 -05:00
Benjamin Reed
7084f3647a Flag to reduce Melzi binary size (#14730) 2019-07-27 04:36:22 -05:00
Tanguy Pruvot
f0be92259b PIO env, Travis test for STM32F407VE (#14674) 2019-07-18 22:38:03 -05:00
Msq001
6920b7fe91 BigTreeTech SKR E3 DIP (#14638) 2019-07-18 05:43:49 -05:00
Tanguy Pruvot
45bde333d5 Initial Longer3D LK1/2 (Alfawise U20/U20+/U30) support (#14597) 2019-07-14 18:05:24 -05:00
Msq001
21e1148d98 Remove upload_protocol "cmsis-dap" (#14606) 2019-07-14 09:43:38 -05:00
Giuliano Zaro
4a5f135c5d PIO 4 strict parser fix (1 => chain) (#14586) 2019-07-12 04:20:34 -05:00
Scott Lahteine
ad1c061e7b Bring STM32F4/F7 together 2019-07-10 07:07:04 -05:00
Msq001
439e28783b BigTree SKR Pro V1.1 board support (#14523) 2019-07-06 21:52:17 -05:00
Scott Lahteine
fb9d30673f platformio.ini compatible with PIO 3.x 2019-07-01 05:40:15 -05:00
Scott Lahteine
6550a222aa env_default => default_envs 2019-06-29 04:04:25 -05:00
thisiskeithb
8b63e3701f MKS Robin Nano board support (#14363) 2019-06-27 21:33:41 -05:00
InsanityAutomation
39c0c2aebe Add TMCStepper libs to lib_ignore for Melzi (#14322) 2019-06-27 16:57:38 -05:00
Msq001
e3846ec7a1 SKR mini can use 128x64 LCD (#14388) 2019-06-26 01:12:41 -05:00
Eric Ptak
8934b32f1b Fysetc AIO II / Cheetah STM32F1 (#14407) 2019-06-26 00:40:29 -05:00
thisiskeithb
a4aa3621c0 MKS Robin Mini Board Support (#14366) 2019-06-24 03:42:22 -05:00
mikeshub
1b1a4677f5 Fix LCD.h compilation error (#14377) 2019-06-22 21:08:30 -05:00
pinchies
3021097888 Add JGAurora A5S and A1 (STM32F103ZET6) (#14291)
- Now compiles and works correctly with changes to HAL timers and watchdog.
- Does NOT include awesome work on touch screen function.
- Does have working LCD and SD-based EEPROM.
2019-06-15 14:28:22 -05:00
Tanguy Pruvot
7d1eafc80a STM32F1: C++14 for static_assert, etc. (#14278) 2019-06-12 18:44:32 -05:00
felixstorm
9439fab7fd Fix ESP32 servos, platformio.ini, etc. (#14247) 2019-06-10 23:22:19 -05:00
yangwenxiong
b0a4ea79b8 BigTreeTech SKR Mini v1.1 (#14041) 2019-06-10 21:10:51 -05:00
Tanguy Pruvot
3bf43b6c1e Re-enable STM32F1 Travis test (#13978) 2019-05-11 18:10:40 -05:00
SmallSharky
1de6e7fb9d Fix MKS Robin section in platformio.ini (#13598)
Updated ststm32 version because the old version gives build errors. Added `U8glib-HAL` to ignore list because there are also build errors.
2019-04-06 18:07:21 -05:00
Alexander Gavrilenko
3c47e1b4d1 Support Black STM32F407VET6 with RAMPS-like shield (#13524) 2019-04-05 15:30:19 -05:00
Scott Lahteine
cacec5764a Clean up whitespace 2019-04-04 22:12:02 -05:00
pinchies
de0f35f2d9 Fix platformio.ini for MKS Robin (#13502) 2019-03-29 13:57:19 -05:00
Alexander Gavrilenko
6d9aaca082 Fix compilation error for MKS Robin (#13506) 2019-03-29 12:40:24 -05:00
Hadrien Jouet
0278ad0a6d Add ESP32 WiFi interface (#11209) 2019-03-13 00:48:08 -05:00
Chris Pepper
8d95019442
LPC176x NeoPixel Support (#13322) 2019-03-06 23:54:19 +00:00
Scott Lahteine
15aa932aa6
HAL for Linux (#13146) 2019-02-22 19:09:10 -06:00
Simon Jouet
5cd0fa3ce1 Basic GPIO expander using the ESP32 I2S peripheral (#12959) 2019-02-10 05:40:31 -06:00
Thomas Moore
02ab66fca3 Update Cohesion3D Pins Files (#13027) 2019-01-27 23:11:33 -06:00
Bob Kuhn
2f35747f29 L6470 SPI daisy chain support (#12895) 2019-01-23 19:06:54 -06:00
mikeshub
7fde8d9d1e Add CreatorPro / Makerbot / QIDI / etc and Mightboard RevE support (#12855)
- Fix a bug in MAXxxxx thermocouple temp reporting.
- Add support for 3-wire HD44780.
- Add support for PCA9533 RGB driver.
- Add configuration examples for FlashForge CreatorPro.
2019-01-14 14:29:55 -06:00
Chris Pepper
2919f3045d [LPC176x] Update PIO extrascript (#12878) 2019-01-11 19:45:33 -06:00
Karl Andersson
8ae6f1e556 Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869) 2019-01-10 19:01:31 -06:00
Reece Kibble
7557f8d68c Rename all Stm32f1 to STM32F1 (#12639) 2018-12-31 16:36:49 -06:00
jmz52
33abb86b7e Add support for MKS Robin board (#12650)
Implement initial support for MKS Robin (STM32F103ZET6) board.
Custom build script is used to generate encrypted firmware compatible with original MSK Robin bootloader (i.e. safe firmware update from SD card and possibility to go back to original close-source firmware).
2018-12-20 17:23:27 -06:00
teemuatlut
50b2fbd031 Trinamic: Split stealthChop, improve driver monitoring, etc. (#12582) 2018-12-07 15:34:21 -06:00
Dave Johnson
0947b92734 Build and CI fixes and optimizations (#12584)
-Disable LDF "deep+" mode on AT90USB platforms. Appears not needed any longer (likely due to fix 7322df26ad). Results in identical binary output and cuts compile time in half
-Disable Cartesio config from CircleCI (compile failure)
-Disable Geetech I3 Pro X GT2560 from CircleCI (compile failure)
-Enable EEPROM on Micromake example config (fix compile failure)
-Move FolgerTech/i3-2020 to AVR platform in CircleCI (fix CirculeCI build failure)
-Disable various examples failing to build in CircleCI
-Enable various examples no longer failing to build in CircleCI
2018-12-05 17:21:40 -06:00
skaaj4
1980931153 Add support for FYSETC F6 V1.3 board (#12527) 2018-11-25 18:16:25 -06:00
Dave Johnson
8ea4eeb785 Revert #12311 PIO LDF work-around (#12484) 2018-11-20 00:05:01 -06:00
Chris Pepper
32880ff42a Turn PlatformIO LDF off for LPC176x builds (#12334) 2018-11-04 18:32:32 -06:00
Dave Johnson
8d630362b7 Ignore ARM-based Teensy library on ATUSB90-based Teensy (#12311)
Works around PIO src_filter behavior (see https://github.com/platformio/platformio-core/issues/1905)
2018-11-03 01:17:51 -05:00
Karl Andersson
4eb798dbdc Add support for Arm'ed (STM32F4) board (#12147) 2018-10-19 14:50:52 -05:00
Christopher Pepper
61fbd0aa59 update lpc builds to use platformios ldf limited to strict mode
need to identify why incompatible libraries are still included without specifically disallowing them
2018-10-14 18:43:48 +01:00
Andy Shaw
870bfd08f5 usb and sdcard sharing improvements
* Add traceback after watchdog timeout

Add the cpability to perform a traceback following a watchdog timeout.

* Enhanced hardware SPI

Allow use of either SSP0 or SSP1.
Ensure that no data is left in I/O buffers after calls to enable sharing of SSP hardware.

* Make flash emulation of eeprom the default

Make use of flash for eeprom storage the default. This means that usage of eeprom will not cause USB drive mount/unmount operations.

* Allow sharing of SD card

SD card I/O operations from the USB stack take place in idle loop, rather than at interrupt time. Allowing sharing of the SPI bus.

New configuration options to allow usage of the SD card to be specified.

* Fix problem with hardware SPI pins
2018-10-14 18:43:48 +01:00
Christopher Pepper
5ddf52d58e [HAL][LPC176x] Pull out framework into separate repository
Framework and build platform now located at https://github.com/p3p/pio-framework-arduino-lpc176x and https://github.com/p3p/pio-nxplpc-arduino-lpc176x respectively

fix mkssbase leds

move hardware serial

remove hardware/software serial

Hardware Serial extraction

HardwareSerial ISRs

fix disabled serial2 causing Serial object to link

move usb devices out to framework

separate out adc/pwm peripheral function from hal.cpp

fix includes

remove unused pwm init

move adc

HAL header update

templated filtered adc

LPC1769 platform
2018-10-14 18:43:48 +01:00
teemuatlut
c3229e1b34 Migrate to a new TMC library (#11943) 2018-10-03 02:48:49 -05:00
Dave Johnson
0f7d82bab1 [2.0.x] include AVR HAL in PIO src_filter for at90usb_dfu (#11778)
I missed this one
2018-09-09 04:15:23 -05:00
Scott Lahteine
eafd62308e
Use TMC2208Stepper v0.2.5 (#11714) 2018-09-08 20:41:21 -05:00
Scott Lahteine
d0c96ee83e Use TMC2208Stepper 0.2.1 for LPC1768 2018-09-01 20:03:41 -05:00
teemuatlut
49e107cea9 Restrict SW serial to AVR (#11696) 2018-09-01 15:24:44 -05:00
Scott Lahteine
e3debc796d Revert "Use TMC2208Stepper version 0.2.2"
This reverts commit 77efcad1df.
2018-08-31 17:48:41 -05:00
Scott Lahteine
77efcad1df Use TMC2208Stepper version 0.2.2 2018-08-31 16:13:23 -05:00
Dave Johnson
0456caf0ad Consolidate shared HALs and isolate HAL compile (#11552) 2018-08-20 21:11:12 -05:00
Dave Johnson
c64199941e Compile only selected PIO environment (#11519) 2018-08-14 03:28:52 -05:00
Chris Pepper
b7e15a65e3 Target specific nxplpc and ststm32 pio platform versions to fix build (#11506) 2018-08-09 22:41:10 -05:00
forkoz
2cc950d67e [2.0.x] MKS SBASE Trinamic examples/support (#11402) 2018-07-30 22:48:58 -05:00
Dave Johnson
8a24ff94d1 AT90USB1286 PIO cleanup and optimization (#11230)
-normalize `env` and `board` to lowercase naming convention.
-make board `name` follow descriptive convention.
-implement `-fsingle-precision-constant` compile optimization per https://github.com/MarlinFirmware/Marlin/pull/11178#issuecomment-401673901
-fix typo in 5DPRINT entry.
2018-07-26 05:58:28 -05:00
Roxy-3D
902167fa78
Revert "[2.0.x] Switch to PIO managed L6470 library (#11288)" (#11290)
This reverts commit a26fdf6b68.
2018-07-17 00:23:47 -05:00
Shen Yiming
a26fdf6b68 [2.0.x] Switch to PIO managed L6470 library (#11288)
On a leap of faith...  I'm merging...
2018-07-17 00:10:07 -05:00
Scott Lahteine
921685d12f Teensy++ 2.0 can truly go away 2018-06-28 04:51:42 -05:00
Scott Lahteine
3fa9aeb5c7 Restore env:teensy20, for now
See https://github.com/MarlinFirmware/Marlin/pull/11079#issuecomment-399309709
2018-06-22 00:13:11 -04:00
Dave Johnson
3b7c5a31a3 Enable local board repository for PIO (#11079)
-Enable boards_dir option in PIO INI
-Remove defunct custom board file operations for PIO auto-build environment
-Remove now-defunct Teensy++ 2.0 PIO entry, replaced by `at90USB1286_DFU` and `at90USB1286_DFU` (using this entry always put AT90USB board boot loaders in jeopardy of being overwritten due to the very small size of the official Teensy++ 2.0 bootloader)
-whitespace
2018-06-21 21:09:23 -05:00
Chris Pepper
f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 2018-06-15 15:32:51 -05:00
Simon Jouet
e2aeda61ed HAL for Espressif ESP32 Wifi 2018-06-13 19:33:35 -05:00
Karl Andersson
e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 2018-06-12 18:38:00 -05:00
Scott Lahteine
928e50e724 Try LiquidCrystal@1.3.4 2018-06-12 00:40:50 -05:00
Chris Pepper
f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 2018-05-28 19:38:22 -05:00
Scott Lahteine
22771dd2dd Update 'board_f_cpu' to 'board_build.f_cpu' 2018-05-26 23:26:23 -05:00
Bob Kuhn
62e2987488 add AT90USB support & add items to popup menu (#10779) 2018-05-19 17:39:26 -05:00
Scott Lahteine
8f18854d4d monitor_baud => monitor_speed 2018-05-19 16:59:23 -05:00
Scott Lahteine
7d78f3476b Use the latest L6470 library 2018-05-11 02:26:47 -05:00
xC0000005
73022d3119 Add a PlatformIO environment for Malyan M200 2018-04-23 16:25:49 -05:00
Karl Andersson
428c54f2ad [2.0.x] HAL for STM32F4 (#10434) 2018-04-17 17:33:29 -05:00
Scott Lahteine
74f4eb8312 Drop utf8 tweaks in build files 2018-04-15 14:48:47 -05:00
Yunhui Fu
c96412a78f [2.0.x] UTF-8 language translation support (#10213) 2018-04-12 20:14:01 -05:00
Bob-the-Kuhn
85014cd132 [2.0.x] LPC1768 - automatic selection of upload disk (#10374) 2018-04-11 14:41:16 -05:00
Scott Lahteine
e6042a7c52 Tweak platformio debug_server options 2018-04-02 22:26:11 -05:00
Alexey Shvetsov
cbdc78ec0f Fix STM32 compilation with PlatformIO (#10245) 2018-03-28 18:35:20 -04:00
Scott Lahteine
a891af2f7a Enforce minimum TMC2130 / TMC2208 libs 2018-03-24 15:57:22 -04:00
etagle
c3b23974bd Added detection of case when no unwind tables are available 2018-03-23 05:22:45 -03:00
Scott Lahteine
883524056b Set default baudrate for the pio serial monitor 2018-03-17 19:48:06 -05:00
Scott Lahteine
73616d721a Use the latest L6470 library (v0.6) 2018-03-17 19:28:19 -05:00
Scott Lahteine
1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
2018-03-15 22:23:31 -05:00
Scott Lahteine
4c3d7083c0 Fix DUE build in Travis CI
Followup to #10096
2018-03-14 00:18:40 -05:00
Bob-the-Kuhn
d194be8e8b platformio.ini DUE native port support 2018-03-13 15:31:17 -05:00
Bob-the-Kuhn
c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes (#9864) 2018-03-01 03:07:39 -06:00