362 Commits (d0c2b643f8b705ecce57f2efa9702ea034354589)

Author SHA1 Message Date
Tanguy Pruvot 3bf43b6c1e Re-enable STM32F1 Travis test (#13978) 6 years ago
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.
6 years ago
Alexander Gavrilenko 3c47e1b4d1 Support Black STM32F407VET6 with RAMPS-like shield (#13524) 6 years ago
Scott Lahteine cacec5764a Clean up whitespace 6 years ago
pinchies de0f35f2d9 Fix platformio.ini for MKS Robin (#13502) 6 years ago
Alexander Gavrilenko 6d9aaca082 Fix compilation error for MKS Robin (#13506) 6 years ago
Hadrien Jouet 0278ad0a6d Add ESP32 WiFi interface (#11209) 6 years ago
Chris Pepper 8d95019442
LPC176x NeoPixel Support (#13322) 6 years ago
Scott Lahteine 15aa932aa6
HAL for Linux (#13146) 6 years ago
Simon Jouet 5cd0fa3ce1 Basic GPIO expander using the ESP32 I2S peripheral (#12959) 6 years ago
Thomas Moore 02ab66fca3 Update Cohesion3D Pins Files (#13027) 6 years ago
Bob Kuhn 2f35747f29 L6470 SPI daisy chain support (#12895) 6 years ago
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.
6 years ago
Chris Pepper 2919f3045d [LPC176x] Update PIO extrascript (#12878) 6 years ago
Karl Andersson 8ae6f1e556 Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869) 6 years ago
Reece Kibble 7557f8d68c Rename all Stm32f1 to STM32F1 (#12639) 6 years ago
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).
6 years ago
teemuatlut 50b2fbd031 Trinamic: Split stealthChop, improve driver monitoring, etc. (#12582) 6 years ago
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
6 years ago
skaaj4 1980931153 Add support for FYSETC F6 V1.3 board (#12527) 6 years ago
Dave Johnson 8ea4eeb785 Revert #12311 PIO LDF work-around (#12484) 6 years ago
Chris Pepper 32880ff42a Turn PlatformIO LDF off for LPC176x builds (#12334) 6 years ago
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)
6 years ago
Karl Andersson 4eb798dbdc Add support for Arm'ed (STM32F4) board (#12147) 6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
Dave Johnson 0f7d82bab1 [2.0.x] include AVR HAL in PIO src_filter for at90usb_dfu (#11778)
I missed this one
6 years ago
Scott Lahteine eafd62308e
Use TMC2208Stepper v0.2.5 (#11714) 6 years ago
Scott Lahteine d0c96ee83e Use TMC2208Stepper 0.2.1 for LPC1768 6 years ago
teemuatlut 49e107cea9 Restrict SW serial to AVR (#11696) 6 years ago
Scott Lahteine e3debc796d Revert "Use TMC2208Stepper version 0.2.2"
This reverts commit 77efcad1df.
6 years ago
Scott Lahteine 77efcad1df Use TMC2208Stepper version 0.2.2 6 years ago
Dave Johnson 0456caf0ad Consolidate shared HALs and isolate HAL compile (#11552) 6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Chris Pepper b7e15a65e3 Target specific nxplpc and ststm32 pio platform versions to fix build (#11506) 6 years ago
forkoz 2cc950d67e [2.0.x] MKS SBASE Trinamic examples/support (#11402) 6 years ago
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.
6 years ago
Roxy-3D 902167fa78
Revert "[2.0.x] Switch to PIO managed L6470 library (#11288)" (#11290)
This reverts commit a26fdf6b68.
6 years ago
Shen Yiming a26fdf6b68 [2.0.x] Switch to PIO managed L6470 library (#11288)
On a leap of faith...  I'm merging...
6 years ago
Scott Lahteine 921685d12f Teensy++ 2.0 can truly go away 7 years ago
Scott Lahteine 3fa9aeb5c7 Restore env:teensy20, for now
See https://github.com/MarlinFirmware/Marlin/pull/11079#issuecomment-399309709
7 years ago
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
7 years ago
Chris Pepper f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Karl Andersson e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 7 years ago
Scott Lahteine 928e50e724 Try LiquidCrystal@1.3.4 7 years ago
Chris Pepper f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 7 years ago
Scott Lahteine 22771dd2dd Update 'board_f_cpu' to 'board_build.f_cpu' 7 years ago
Bob Kuhn 62e2987488 add AT90USB support & add items to popup menu (#10779) 7 years ago
Scott Lahteine 8f18854d4d monitor_baud => monitor_speed 7 years ago
Scott Lahteine 7d78f3476b Use the latest L6470 library 7 years ago
xC0000005 73022d3119 Add a PlatformIO environment for Malyan M200 7 years ago
Karl Andersson 428c54f2ad [2.0.x] HAL for STM32F4 (#10434) 7 years ago
Scott Lahteine 74f4eb8312 Drop utf8 tweaks in build files 7 years ago
Yunhui Fu c96412a78f [2.0.x] UTF-8 language translation support (#10213) 7 years ago
Bob-the-Kuhn 85014cd132 [2.0.x] LPC1768 - automatic selection of upload disk (#10374) 7 years ago
Scott Lahteine e6042a7c52 Tweak platformio debug_server options 7 years ago
Alexey Shvetsov cbdc78ec0f Fix STM32 compilation with PlatformIO (#10245) 7 years ago
Scott Lahteine a891af2f7a Enforce minimum TMC2130 / TMC2208 libs 7 years ago
etagle c3b23974bd Added detection of case when no unwind tables are available 7 years ago
Scott Lahteine 883524056b Set default baudrate for the pio serial monitor 7 years ago
Scott Lahteine 73616d721a Use the latest L6470 library (v0.6) 7 years ago
Scott Lahteine 1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
7 years ago
Scott Lahteine 4c3d7083c0 Fix DUE build in Travis CI
Followup to #10096
7 years ago
Bob-the-Kuhn d194be8e8b platformio.ini DUE native port support 7 years ago
Bob-the-Kuhn c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes (#9864) 7 years ago
Bob-the-Kuhn f15d7bdbf2 [2.0.x] ELF improvement, fix lib_ignore (#9793)
- Compiler flags so ELF will include the original source.
- Use commit-id archives for a working `lib_ignore`.
7 years ago
Scott Lahteine 90fa423737
Preliminary cleanup of #include structure (#9763) 7 years ago
Scott Lahteine f0debfd2fc See if this passes Travis CI 7 years ago
Scott Lahteine 4fef36966b Rename environment anet10 to melzi 7 years ago
Johnny Eshak 852468ead7 [2.0.x] Fix compile Error Anet (#9509) 7 years ago
teemuatlut 5c69d45f5b [2.0.x] TMC2130 support for LPC platform (#9114) 7 years ago
Scott Lahteine 6e3519abae Try to use an Neopixel library for Travis CI 7 years ago
Ivan Kravets a994eec513 Cleanup unused options (#9115) 7 years ago
Bob-the-Kuhn 760dbbb734 works
root cause identified
7 years ago
Bob-the-Kuhn a142fab155 Enable RRDFGSC on Due 7 years ago
Thomas Moore 45e73b72a5 Stop compiling after first five errors 7 years ago
teemuatlut 0cd1e91056 [2.0.x] TMC driver update (#8769) 7 years ago
Thomas Moore 50a5bb77d2 Update PlatformIO lib_deps 7 years ago
Scott Lahteine 81b91b3f9d Clean up some trailing white-space 7 years ago
Bob-the-Kuhn d47fbf791b Arduini IDE compatibility changes
changed includes to make Arduino IDE happy
7 years ago
Bob-the-Kuhn c388dce2b5 move U8glib-HAL 7 years ago
Bob-the-Kuhn 0483a7df91 AVR RRD works
LPC1768 VIKI2 & RRDFG are working

looks like all SPIs are working

library change

sh1106 locks up

fixed lockup, started I2C SW com

pretty

re-org

restore a few files

make library happy

switched HAL version of rrd

fix travis error

travis error fixes

another travis fix

cleanup

minor update

one more

correct spacing in platformio.ini
7 years ago
Alexey Shvetsov 83555933aa Add platformio support for stm32 (#8246)
[2.0] Add platformio support for stm32
7 years ago
Thomas Moore 9e699811d2 Make LPC1768 pinmapping not specific to Re-ARM (#8063)
* Merging early because of build failures.  See #8105

* Make LPC1768 pinmapping not specific to Re-ARM

* Add HAL_PIN_TYPE and LPC1768 pin features

* M43 Updates

* Move pin map into pinsDebug_LPC1768.h

* Incorporate comments and M226

* Fix persistent store compilation issues

* Update pin features

* Update MKS SBASE pins

* Use native LPC1768 pin numbers in M42, M43, and M226
7 years ago
Chris Pepper 46b2773e13 General fixes for LPC1768 (#7834)
* fixed some include paths

* LPC1768: Fix Serial API

Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API

* LPC1768: add filters to ADC

This is to try and compensate for hardware issue and oversensitivity to noise

* LPC1768: remove the polling section of delayMicroseconds

* LPC1768: lock usb mass storage device while device accesses it.

Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.

* Add timeout to make sure if Serial never connects that Marlin still boots

* Remove unneeded ifdef CPU_32_BIT

In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform

* LPC1768: relocate RE-ARM debug_extra_script.py
7 years ago
Scott Lahteine 200f971ef7 Reduce Teensy++ 2.0 to a single entry
Followup to #7750, #7826
7 years ago
Ralph Schmidt 1ae208395c Remove MOTHERBOARD from "due" entry
Also reformat and document
7 years ago
Scott Lahteine 2d41c59320 Tweak some spacing 7 years ago
Christopher Pepper bea3ec2724 M355 S0, S1 fixes & faster LCD, SD card
fix Travis error
7 years ago
Thomas Moore ddbd4b73e0 Move LPC1768 framework out of Marlin source folder 7 years ago
Scott Lahteine 038f82cc38 Fix L6470 init and options 7 years ago
Scott Lahteine 42e2dd9251 Build file updates 7 years ago
Scott Lahteine 7e42c7563c Move build files into place 7 years ago
Scott Lahteine 48351fd6d5 Move root sources 7 years ago
Christopher Pepper b908e38d08 Add needed platform defined gaurds to compile with Arduino IDE
Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
7 years ago
Christopher Pepper 4183a249b6 Moved CMSIS and other LPC1768 dependencies
Fixes Arduino IDE builds for 8-bit AVR,
misc: Adafruit NeoPixel currently incompatible with Teensy 3.5-6, blacklisted
7 years ago
Christopher Pepper d2fb3215da PlatformIO Travis test
spi.h renamed to avoid conflicts with base libraries
7 years ago
Christopher Pepper 44b0c186a6 HAL for Re:ARM (LPC1768) architecture 7 years ago
teemuatlut f3e562e46e HAL for 32-bit Teensy (3.5, 3.6) architecture 7 years ago
Christopher Pepper cfef925559 HAL for DUE architecture 7 years ago
Scott Lahteine d29bf49b66 Add Sanguino 644p to ENV for PlatformIO 7 years ago
MTrab 5fa61c0ad3 Add Anet 1.0 to Platformio.ini
Added env:anet10 to platformio.ini for easy compile and upload to this board
7 years ago
Unknown 42aa10d263 Add PIO entry for PRINTRBOARD_REVF
fix from PIO corruption
7 years ago
Scott Lahteine b378deaf89 Unify AVR90USB: fastio changes 8 years ago
Brian f1cccd65c2 platformio.ini env_default=xxxxx has to match one of the labels in the env:xxxxx, otherwise nothing happens when you `pio run` 8 years ago
Scott Lahteine fe1fce5f56 DevIoT patch 2 8 years ago
Scott Lahteine 47cae2929f Patch platformio.ini to fix build error in DevIoT
For compatibility with DevIoT, until that can be solved.
8 years ago
Scott Lahteine dca48f0e63 Move platformio.ini back to Marlin folder - it works there 8 years ago
Brian 0446dd3ad8 PlatformIO-related changes
- move platformio.ini out of source directory to be more consistent with 'normal' PlatformIO usage
  - facilitates IDE integration
- add related .gitignores
8 years ago