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.

arduino_due_sram.mac 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // ---------------------------------------------------------
  2. // ATMEL Microcontroller Software Support - ROUSSET -
  3. // ---------------------------------------------------------
  4. // The software is delivered "AS IS" without warranty or
  5. // condition of any kind, either express, implied or
  6. // statutory. This includes without limitation any warranty
  7. // or condition with respect to merchantability or fitness
  8. // for any particular purpose, or against the infringements of
  9. // intellectual property rights of others.
  10. // ---------------------------------------------------------
  11. // File: at91sam3u-ek-sram.mac
  12. // User setup file for CSPY debugger.
  13. // ---------------------------------------------------------
  14. __var __mac_i;
  15. __var __mac_pt;
  16. /*********************************************************************
  17. *
  18. * execUserReset()
  19. */
  20. execUserReset()
  21. {
  22. __message "------------------------------ execUserReset ---------------------------------";
  23. __message "-------------------------------Set PC Reset ----------------------------------";
  24. //__hwReset(50);
  25. // perpheral reset RSTC_CR
  26. __writeMemory32(0xA5000004,0x400e1200,"Memory");
  27. }
  28. /*********************************************************************
  29. *
  30. * execUserPreload()
  31. */
  32. execUserPreload()
  33. {
  34. __message "------------------------------ execUserPreload ---------------------------------";
  35. __hwReset(0); //* Hardware Reset: CPU is automatically halted after the reset
  36. // perpheral reset RSTC_CR
  37. __writeMemory32(0xA5000004,0x400e1200,"Memory");
  38. }