Skip to content

Instantly share code, notes, and snippets.

View wolfmanjm's full-sized avatar

Jim Morris wolfmanjm

View GitHub Profile
/****************************************************************************
* configs/lpc4330-bambino/include/board.h
*
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
@wolfmanjm
wolfmanjm / x
Created October 24, 2016 22:52
diff --git a/configs/lpc4330-xplorer/src/lpc4330-xplorer.h b/configs/lpc4330-xplorer/src/lpc4330-xplorer.h
index 018616a..296db8e 100644
--- a/configs/lpc4330-xplorer/src/lpc4330-xplorer.h
+++ b/configs/lpc4330-xplorer/src/lpc4330-xplorer.h
@@ -65,10 +65,14 @@
* - No buffering, glitch filtering, slew=slow
*/
-#define PINCONFIG_LED1 PINCONF_GPIO4p0
-#define PINCONFIG_LED2 PINCONF_GPIO1p1
/* Linker script for LPC4337 based Smoothie board. */
/* Linker script to configure memory regions. */
MEMORY
{
RAM0 (rwx) : ORIGIN = 0x10000114, LENGTH = (32K - 0x114)
RAM1 (rwx) : ORIGIN = 0x10080000, LENGTH = 40K
RAM_AHB0 (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
RAM_AHB1 (rwx) : ORIGIN = 0x20008000, LENGTH = 32K
/*
* Copyright (C) 2004 CodeSourcery, LLC
*
* Permission to use, copy, modify, and distribute this file
* for any purpose is hereby granted without fee, provided that
* the above copyright notice and this notice appears in all
* copies.
*
* This file is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//***************************************************************************
// examples/helloxx/helloxx_main.cxx
//
// Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
/* Linker script for LPC4337 based Smoothie board. */
/* Linker script to configure memory regions. */
MEMORY
{
RAM0 (rwx) : ORIGIN = 0x10000114, LENGTH = (32K - 0x114)
RAM1 (rwx) : ORIGIN = 0x10080000, LENGTH = 40K
RAM_AHB0 (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
RAM_AHB1 (rwx) : ORIGIN = 0x20008000, LENGTH = 32K
GNU Tools for ARM Embedded Processors
Version: 4.9
Table of Contents
* Installing executables on Linux
* Installing executables on Mac OS X
* Installing executables on Windows
* Invoking GCC
* Architecture options usage
* C Libraries usage
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Usage: layer_height file [line]
require "rio"
Struct.new("Point", :x, :y, :e)
$layer_height = ARGV[0].to_f
def parse_coord(line)
x= /X([-+]?[0-9]*\.?[0-9]+)/.match(line)[1]
y= /Y([-+]?[0-9]*\.?[0-9]+)/.match(line)[1]
e= /E([-+]?[0-9]*\.?[0-9]+)/.match(line)[1]

How to file an issue

If you encounter an issue with SmoothieWare, you are welcome to submit an issue

Before you do that for the first time though please take a moment to read the following section completely. Thank you! :)

What should I do before submitting an issue?