Merge pull request #7695 from tcm0116/move_framework
Move LPC1768 framework out of Marlin source folder
This commit is contained in:
commit
ff1f211eb4
Marlin/src
frameworks/CMSIS/LPC1768
Re-ARM
driver
debug_frmwrk.clpc17xx_adc.clpc17xx_can.clpc17xx_clkpwr.clpc17xx_dac.clpc17xx_emac.clpc17xx_exti.clpc17xx_gpdma.clpc17xx_gpio.clpc17xx_i2c.clpc17xx_i2s.clpc17xx_iap.clpc17xx_libcfg_default.clpc17xx_mcpwm.clpc17xx_nvic.clpc17xx_pinsel.clpc17xx_pwm.clpc17xx_qei.clpc17xx_rit.clpc17xx_rtc.clpc17xx_spi.clpc17xx_ssp.clpc17xx_systick.clpc17xx_timer.clpc17xx_uart.clpc17xx_wdt.c
include
LPC17xx.harm_common_tables.harm_math.hcore_cm3.hcore_cmFunc.hcore_cmInstr.hdebug_frmwrk.hlpc17xx_adc.hlpc17xx_can.hlpc17xx_clkpwr.hlpc17xx_dac.hlpc17xx_emac.hlpc17xx_exti.hlpc17xx_gpdma.hlpc17xx_gpio.hlpc17xx_i2c.hlpc17xx_i2s.hlpc17xx_iap.hlpc17xx_libcfg_default.hlpc17xx_mcpwm.hlpc17xx_nvic.hlpc17xx_pinsel.hlpc17xx_pwm.hlpc17xx_qei.hlpc17xx_rit.hlpc17xx_rtc.hlpc17xx_spi.hlpc17xx_ssp.hlpc17xx_systick.hlpc17xx_timer.hlpc17xx_uart.hlpc17xx_wdt.hlpc_types.hsystem_LPC17xx.h
lib
|
@ -1,6 +1,8 @@
|
|||
import sys
|
||||
|
||||
#dynamic build flags for generic compile options
|
||||
if __name__ == "__main__":
|
||||
print " ".join([ "-std=gnu11",
|
||||
args = " ".join([ "-std=gnu11",
|
||||
"-std=gnu++11",
|
||||
"-Os",
|
||||
"-mcpu=cortex-m3",
|
||||
|
@ -10,13 +12,11 @@ if __name__ == "__main__":
|
|||
"-fsigned-char",
|
||||
"-fno-move-loop-invariants",
|
||||
|
||||
"-Wall",
|
||||
"--specs=nano.specs",
|
||||
"--specs=nosys.specs",
|
||||
|
||||
"-IMarlin/frameworks/CMSIS/LPC1768/include",
|
||||
"-IMarlin/frameworks/CMSIS/LPC1768/lib",
|
||||
"-IMarlin/src/HAL",
|
||||
"-IMarlin/src/HAL/HAL_LPC1768/include",
|
||||
|
||||
"-MMD",
|
||||
"-MP",
|
||||
|
@ -24,6 +24,11 @@ if __name__ == "__main__":
|
|||
"-DIS_REARM"
|
||||
])
|
||||
|
||||
for i in range(1, len(sys.argv)):
|
||||
args += " " + sys.argv[i]
|
||||
|
||||
print args
|
||||
|
||||
# extra script for linker options
|
||||
else:
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
@ -46,6 +51,5 @@ else:
|
|||
"--specs=nano.specs",
|
||||
"--specs=nosys.specs",
|
||||
"-u_printf_float",
|
||||
"-Wl,-TMarlin/frameworks/CMSIS/LPC1768/Re-ARM/LPC1768.ld,--gc-sections"
|
||||
],
|
||||
)
|
||||
|
|
|
@ -46,6 +46,10 @@
|
|||
#include "../module/delta.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||
#include "planner.h"
|
||||
#endif
|
||||
|
||||
float zprobe_zoffset; // Initialized by settings.load()
|
||||
|
||||
#if HAS_Z_SERVO_ENDSTOP
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <HAL_LPC1768/arduino.h>
|
||||
#include "arduino.h"
|
||||
|
||||
// When the display powers up, it is configured as follows:
|
||||
//
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <HAL_LPC1768/arduino.h>
|
||||
#include <arduino.h>
|
||||
|
||||
#include "Stream.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue