Commit Graph
92 Commits
Author SHA1 Message Date
Chris PepperandGitHub 5233e66762 Improve RPi host kernel panic mitigation
It was still possible to cause a Kernel panic, this additional 500ms delay before disconnect appears to mitigate it completely.
2021-02-07 20:46:24 +00:00
Chris PepperandGitHub 004bed8a7f Mitigate RPi hosts kernel panic on M997
Work around M997 sometimes causing a kernel panic on the host when sent from a Raspbery Pi, the root cause is currently unknown.
2021-02-05 22:43:36 +00:00
Chris PepperandGitHub c1b900aae9 Fix UBL mesh inset Z position (#20538) 2020-12-22 05:59:25 -06:00
Chris PepperandGitHub 9fd358f10c LPC176x framework update (#20469) 2020-12-14 22:36:25 +00:00
Chris PepperandGitHub 1bfc51ad5c Update pins_ANET_10.h 2020-09-21 16:19:09 +01:00
Chris PepperandGitHub ea569ca29e Update LPC176x platform version (#18392) 2020-06-23 22:30:35 +01:00
Chris PepperandGitHub a49319f3dd Fix FYSETC_AIO_II build (#18124)
BOARD_FYSETC_AIO_II also needs this header for the reset_stepper_drivers function
2020-05-27 17:06:32 +01:00
Chris PepperandGitHub 4f1ebb4440 Fix Due wired EEPROM init (#18074) 2020-05-22 15:37:11 -05:00
Chris PepperandGitHub 849ac80e90 Fix megaatmega2560 test (#16069) 2019-12-02 02:08:25 +00:00
Chris PepperandGitHub e585c37d7d Fix #16038 2019-11-29 16:44:11 +00:00
Chris PepperandScott Lahteine a63491e6eb Sanity check ADC pins and FAST_PWM_FAN with Servos (#16038) 2019-11-29 06:52:28 -06:00
Chris PepperandScott Lahteine c1aac3a0c9 Fix delta_mm.e with zero extruders (#15996) 2019-11-26 02:58:17 -06:00
Chris PepperandGitHub 48e264e4e1 Update platformio.ini (env:LPC176x) (#15971) 2019-11-23 18:43:12 +00:00
Chris PepperandGitHub 8e7d1004cf Update LPC176x platform version 2019-11-13 03:59:10 +00:00
Chris PepperandGitHub 4762dfe797 Fix lpc u8g i2c (#15876) 2019-11-12 01:59:36 +00:00
Chris PepperandGitHub af61f37b65 Update lpc176x requirements (#15869) 2019-11-11 03:25:56 +00:00
Chris PepperandGitHub 86d0bc1af5 Update lpc176x framework version requirement (#15868) 2019-11-10 23:30:28 +00:00
Chris PepperandGitHub b9116d4050 LPC176x Framework update (#15722)
Changes required for compatibility with framework-arduino-lpc176x 0.2.0
2019-11-03 02:34:09 +00:00
Chris PepperandGitHub 11f1392026 Fix Python3 (Windows) compatibility (#15597) 2019-10-18 21:15:26 +01:00
Chris PepperandScott Lahteine 2971b48a12 Use PlatformIO 4 default dir structure (#14879) 2019-08-08 08:29:33 -05:00
Chris PepperandScott Lahteine f499cecf0d Marlin Binary Protocol Mark II (#14817) 2019-08-05 20:41:53 -05:00
Chris PepperandGitHub b6095fd084 Reduce default LPC176x ADC lowpass filtering 2019-07-25 00:40:51 +01:00
Chris PepperandScott Lahteine 9e19f004d0 Update Travis to Ubuntu "Bionic" (#14664) 2019-07-17 19:12:40 -05:00
Chris PepperandGitHub 451ea996c9 [LPC176x] Fix switch fallthrough 2019-05-15 10:35:26 +01:00
Chris PepperandGitHub 66f7065248 [LPC176x] Update extra script to support Python3 (#13908) 2019-05-04 20:52:28 +01:00
Chris PepperandGitHub 95beafa9a2 Fix typo 2019-05-01 16:30:21 +01:00
Chris PepperandScott Lahteine ffc2c2d7c5 Move FAST_PWM_FAN code to HALs (#13491) 2019-03-26 01:03:23 -05:00
Chris PepperandScott Lahteine aacc1148b0 Fix M106 for index > extruders (#13473) 2019-03-24 20:03:53 -05:00
Chris PepperandGitHub 8d95019442 LPC176x NeoPixel Support (#13322) 2019-03-06 23:54:19 +00:00
Chris PepperandGitHub 2513f6b550 Fix multiport G28 with Binary Transfer (#13308) 2019-03-04 16:44:54 +00:00
Chris PepperandScott Lahteine 38bef9da91 Report auto temp to both serial ports, if available (#13301) 2019-03-03 21:03:48 -06:00
Chris PepperandScott Lahteine b0553d2d97 Add M997 support and simple implementation for LPC176x (#13281) 2019-03-01 20:11:50 -06:00
Chris PepperandGitHub 7de6476b3d Fix binary protocol error 2019-02-28 02:31:42 +00:00
Chris PepperandScott Lahteine 4ab433d391 Fix binary protocol with one serial port (#13270)
- The `sdcard.transfer_port` variable is Marlin's internal serial port index, not the physical serial port number.
- Added packet number to "ok" response so hosts don't need to wait for the ACK.
- Renamed feature to `BINARY_FILE_TRANSFER`, as the speed up is only consequential to the ability to transfer binaries over serial.
2019-02-27 19:57:48 -06:00
Chris PepperandGitHub 88cc1d1a31 Fix Preprocessor syntax in Re-ARM pins file (#13247) 2019-02-24 01:36:58 +00:00
Chris PepperandScott Lahteine 2919f3045d [LPC176x] Update PIO extrascript (#12878) 2019-01-11 19:45:33 -06:00
Chris PepperandScott Lahteine 32880ff42a Turn PlatformIO LDF off for LPC176x builds (#12334) 2018-11-04 18:32:32 -06:00
Chris PepperandScott Lahteine 66d44c72c3 Add fast binary file transfer to SD card option (#12249) 2018-10-30 19:44:12 -05:00
Chris PepperandScott Lahteine 3c13c9e3e9 [LPC176x] Fix USEABLE_HARDWARE_PWM macro, cleanup multiple LED support (#12129) 2018-10-18 11:26:50 -05:00
Chris PepperandScott Lahteine c90e26dfa6 fix normal extruder stepping (#12118) 2018-10-17 02:47:31 -05:00
Christopher Pepper e5b4bf22d4 Remove debug output from flash persistent store implementation 2018-10-14 18:43:48 +01:00
Christopher Pepper 42fb7c14b0 Update the sdcard usb sharing config and apply to Re-ARM 2018-10-14 18:43:48 +01: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
Christopher Pepper 254b68fe2c servo update 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
Chris PepperandScott Lahteine 6b1967ed33 Add back in the Env backup restore around each platforms tests (#11980) 2018-10-02 21:36:18 -05:00
Chris PepperandScott Lahteine b71c2b8651 [2.0.x] Update LPC176x tests, fix clean script (#11617) 2018-08-24 18:53:24 -05:00
Chris PepperandScott Lahteine 5573ef62c6 [2.0.x] PersistentStore update followup (#11549) 2018-08-14 17:54:12 -05:00
Chris PepperandScott Lahteine 66d2b48b59 Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
2018-08-13 17:30:25 -05:00
Chris PepperandScott Lahteine b7e15a65e3 Target specific nxplpc and ststm32 pio platform versions to fix build (#11506) 2018-08-09 22:41:10 -05:00
Chris PepperandScott Lahteine 47d5fcbbcc [2.0.x] Change MKS SBASE default serial port to avoid confusion (#11301) 2018-07-18 18:43:20 -05:00
Chris PepperandScott Lahteine c43793aa1e Update Travis Tests to run platforms in parallel (#11256) 2018-07-13 23:42:15 -05:00
Chris PepperandScott Lahteine 55f4744e54 [LPC176x] Endstop Interrupts Feature (#11202)
Enable the endstop interrupts feature for LPC176x boards. Although Smoothieboard chose to use non-interrupt capable pins for their endstops, and this has been copied by clones, so they can't use it.
2018-07-04 17:51:45 -05:00
Chris PepperandScott Lahteine 5abf5bc8a7 [LPC176x] Fix Interrupt forward declarations (#11200) 2018-07-04 17:43:14 -05:00
Chris PepperandScott Lahteine cbea385ed7 [2.0.x] Fix LCD_LANGUAGE options list formatting in config (#11198)
* Fix LCD_LANGUAGE options list formatting in config
* Remove 'cn' language option from list
2018-07-04 17:42:14 -05:00
Chris PepperandScott Lahteine 5616581eb1 [LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros (#11168) 2018-07-01 23:02:38 -05:00
Chris PepperandScott Lahteine 0312c42f9d [2.0.x] LPC176x Serial cleanup (#11032) 2018-06-16 20:59:22 -05:00
Chris PepperandScott Lahteine f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 2018-06-15 15:32:51 -05:00
Chris PepperandScott Lahteine d87257f63c [2.0.x][LPC176x] Fix PIO build flags (#10909)
Don't build and link with different flags, the binary may not work.
2018-05-31 19:08:31 -05:00
Chris PepperandScott Lahteine f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 2018-05-28 19:38:22 -05:00
Chris PepperandScott Lahteine 9b64fdbc3a [LPC176x] HAL: Add missing program space definition (#10776) 2018-05-19 15:37:54 -05:00
Chris PepperandScott Lahteine 2242b98248 [LPC176x] Emergency Parser Feature (#10516) 2018-04-25 06:44:26 -05:00
Chris PepperandScott Lahteine 744bcaee61 [2.0.x] Fix problems compiling with Arduino IDE (#10441)
* Fix problems compiling u8glib utf8 support on Arduino
* Change header in auto-generated font data
* Change include in font gen scripts
2018-04-17 17:28:55 -05:00
Chris PepperandScott Lahteine c9aed73987 Fix missed includes from HAL macro patch (#10416) 2018-04-15 18:27:34 -05:00
Chris PepperandScott Lahteine cc6d41e1d3 Use a macro for HAL header redirection (#10380) 2018-04-12 20:25:08 -05:00
Chris PepperandScott Lahteine a1a88ebabc HAL function to ensure min stepper interrupt interval (#9985) 2018-03-07 17:53:25 -06:00
Chris PepperandScott Lahteine f875f49caa [2.0.x] LPC1768: Fix: Serial pins disabled correctly when in use (#9193) 2018-01-22 01:54:41 -06:00
Christopher Pepper 6f1bf5d212 LPC1768: Config: default to SDSORT_LIMIT = 64 instead of 256 2018-01-15 22:02:21 +00:00
Christopher Pepper 1e65562d55 LPC1768: HAL: only initialise used HardwareSerial ports
Misc formatting
2018-01-15 22:00:59 +00:00
Christopher Pepper 14dcad6bbc LPC1768: Increase ADC median filter from 3 values to 23
Clarify the HAL_adc_get_result method to make sure correct values enter the filters

HAL: Fix the PID control loop for non-AVR platforms
2018-01-07 22:15:20 +00:00
Chris PepperandRoxy-3D 636c3bbc4e LPC1768: Travis lpc1768 default config test (#8109)
Add a single default travis test for lpc1768 to catch build errors
2017-10-26 17:49:32 -05:00
Chris PepperandRoxy-3D aa51a02b8f LPC1768: fix serial buffer underrun (#7854)
When the buffer is empty index_write == index_read, but they needed constrained by buffer_mask
2017-10-05 17:19:43 -05:00
Chris PepperandScott Lahteine 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
2017-10-04 15:40:54 -05:00
Christopher PepperandBob-the-Kuhn bea3ec2724 M355 S0, S1 fixes & faster LCD, SD card
fix Travis error
2017-09-27 19:26:00 -05:00
Christopher PepperandScott Lahteine b29b66feda Temporary fix for odd stepper behaviour with servos 2017-08-31 18:33:07 -05:00
Christopher PepperandScott Lahteine 8afe13b1a2 Fix compile issue when watchdog was disabled 2017-08-31 18:33:07 -05:00
Christopher PepperandScott Lahteine 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
2017-08-31 18:33:07 -05:00
Chris PepperandScott Lahteine 9a950e3a5a Update the delay functions and change the default pinmap for character displays (#7434) 2017-08-31 18:31:07 -05:00
Chris PepperandScott Lahteine 61c0a10efe Revert "SPI API platform implementation stubs" (#7416)
This reverts commit 2dfa6ca72a2e8d43caf4932ca0d35792f0638917.

Revert "Base HAL SPI Changes"

This reverts commit 2afc521b8b6a81b2281a038f1b99a69f4a008e64.

Revert "Initial HAL SPI API"

This reverts commit 58f7ffe09ab5bc034b6510f5204f8d342138abaa.
2017-08-31 18:31:07 -05:00
Chris PepperandScott Lahteine a5cf3a190c bugfix-2.0.x critical fix (#7401)
* Fix mistake in gitignore file and add in missing core files.

The missing leading slash on "lib" meant all folders names lib in the directory tree are ignored, rather than just the top level PlatformIO lib folder

* Add LiquidCrystal Library and associated headers modified to compile.
2017-08-31 18:23:44 -05:00
Christopher PepperandScott Lahteine 32e759c928 SPI API platform implementation stubs 2017-08-31 18:23:44 -05:00
Christopher PepperandScott Lahteine 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
2017-08-31 18:23:44 -05:00
Christopher PepperandScott Lahteine b55295ad33 Post merge fix
Add macros.h to allow Enabled macro, also need to reference include files directly
2017-08-31 18:23:44 -05:00
Christopher PepperandScott Lahteine d2fb3215da PlatformIO Travis test
spi.h renamed to avoid conflicts with base libraries
2017-08-31 18:23:44 -05:00
Christopher PepperandScott Lahteine c66d1ac651 Debug Pins Support 2017-08-31 18:21:38 -05:00
Christopher PepperandScott Lahteine a31e32969f Base HAL SPI Changes 2017-08-31 18:21:38 -05:00
Christopher PepperandScott Lahteine bcd050f33b Initial HAL SPI API 2017-08-31 18:21:38 -05:00
Christopher PepperandScott Lahteine 44b0c186a6 HAL for Re:ARM (LPC1768) architecture 2017-08-31 18:21:38 -05:00
Christopher PepperandScott Lahteine cfef925559 HAL for DUE architecture 2017-08-31 18:15:07 -05:00
Christopher PepperandScott Lahteine 4b16fa3272 Implement HAL and apply macros across code-base
Implement AVR Platform
2017-08-31 18:14:31 -05:00
Christopher PepperandScott Lahteine fb04dfcda8 Apply Travis update workaround while a permanent solution is found 2017-08-31 17:56:08 -05:00
Christopher Pepper 61db0fd102 Add issue template for github 2017-06-01 20:33:39 +01:00