My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

start.S 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /******************************************************************************
  2. * The MIT License
  3. *
  4. * Copyright (c) 2011 LeafLabs, LLC.
  5. *
  6. * Permission is hereby granted, free of charge, to any person
  7. * obtaining a copy of this software and associated documentation
  8. * files (the "Software"), to deal in the Software without
  9. * restriction, including without limitation the rights to use, copy,
  10. * modify, merge, publish, distribute, sublicense, and/or sell copies
  11. * of the Software, and to permit persons to whom the Software is
  12. * furnished to do so, subject to the following conditions:
  13. *
  14. * The above copyright notice and this permission notice shall be
  15. * included in all copies or substantial portions of the Software.
  16. *
  17. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  18. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  19. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  20. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  21. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  22. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  23. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  24. * SOFTWARE.
  25. *****************************************************************************/
  26. /*
  27. * This file is a modified version of a file obtained from
  28. * CodeSourcery Inc. (now part of Mentor Graphics Corp.), in which the
  29. * following text appeared:
  30. *
  31. * The authors hereby grant permission to use, copy, modify, distribute,
  32. * and license this software and its documentation for any purpose, provided
  33. * that existing copyright notices are retained in all copies and that this
  34. * notice is included verbatim in any distributions. No written agreement,
  35. * license, or royalty fee is required for any of the authorized uses.
  36. * Modifications to this software may be copyrighted by their authors
  37. * and need not follow the licensing terms described here, provided that
  38. * the new terms are clearly indicated on the first page of each file where
  39. * they apply.
  40. */
  41. .text
  42. .code 16
  43. .thumb_func
  44. .globl __start__
  45. .type __start__, %function
  46. __start__:
  47. .fnstart
  48. ldr r1,=__msp_init
  49. mov sp,r1
  50. ldr r1,=start_c
  51. bx r1
  52. .pool
  53. .cantunwind
  54. .fnend