code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/pins/teensy4/pins_TEENSY41.h | C | agpl-3.0 | 5,410 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/Sd2Card.cpp | C++ | agpl-3.0 | 23,302 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/Sd2Card.h | C++ | agpl-3.0 | 7,208 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/Sd2Card_sdio.h | C++ | agpl-3.0 | 2,517 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdBaseFile.cpp | C++ | agpl-3.0 | 71,731 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdBaseFile.h | C++ | agpl-3.0 | 14,479 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFatConfig.h | C | agpl-3.0 | 3,606 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFatStructs.h | C | agpl-3.0 | 22,240 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFatUtil.cpp | C++ | agpl-3.0 | 1,536 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFatUtil.h | C++ | agpl-3.0 | 1,161 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFile.cpp | C++ | agpl-3.0 | 3,131 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdFile.h | C++ | agpl-3.0 | 1,468 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdInfo.h | C | agpl-3.0 | 8,524 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdVolume.cpp | C++ | agpl-3.0 | 11,736 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/SdVolume.h | C++ | agpl-3.0 | 8,582 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/cardreader.cpp | C++ | agpl-3.0 | 44,603 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/cardreader.h | C++ | agpl-3.0 | 13,701 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/disk_io_driver.h | C++ | agpl-3.0 | 2,194 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/storage.h | C++ | agpl-3.0 | 2,062 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp | C++ | agpl-3.0 | 9,876 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/Sd2Card_FlashDrive.h | C++ | agpl-3.0 | 2,842 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/Usb.cpp | C++ | agpl-3.0 | 28,117 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/Usb.h | C | agpl-3.0 | 1,566 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/UsbCore.h | C++ | agpl-3.0 | 12,907 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/address.h | C++ | agpl-3.0 | 8,378 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/confdescparser.h | C++ | agpl-3.0 | 8,160 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/hexdump.h | C++ | agpl-3.0 | 2,117 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/macros.h | C | agpl-3.0 | 4,279 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/masstorage.cpp | C++ | agpl-3.0 | 35,419 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/masstorage.h | C++ | agpl-3.0 | 17,953 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/max3421e.h | C | agpl-3.0 | 6,560 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/message.cpp | C++ | agpl-3.0 | 3,370 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/message.h | C++ | agpl-3.0 | 2,872 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/parsetools.cpp | C++ | agpl-3.0 | 2,221 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/parsetools.h | C++ | agpl-3.0 | 3,501 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/printhex.h | C++ | agpl-3.0 | 2,233 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/settings.h | C | agpl-3.0 | 7,790 |
/**
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/usb_ch9.h | C | agpl-3.0 | 9,945 |
/****************
* usb_host.cpp *
****************/
/****************************************************************************
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* *
* This program is free soft... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/usbhost.cpp | C++ | agpl-3.0 | 6,483 |
/**************
* usb_host.h *
**************/
/****************************************************************************
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* *
* This program is free software: ... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs2/usbhost.h | C++ | agpl-3.0 | 2,177 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_BULK_STORAGE/UHS_BULK_STORAGE.h | C++ | agpl-3.0 | 9,858 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_BULK_STORAGE/UHS_BULK_STORAGE_INLINE.h | C | agpl-3.0 | 44,636 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_BULK_STORAGE/UHS_SCSI.h | C++ | agpl-3.0 | 10,160 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_UNOFFICIAL_IDs.h | C | agpl-3.0 | 1,166 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_UsbCore.h | C | agpl-3.0 | 16,995 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_address.h | C++ | agpl-3.0 | 9,144 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_hexdump.h | C++ | agpl-3.0 | 2,458 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_host.h | C | agpl-3.0 | 3,052 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_host_INLINE.h | C++ | agpl-3.0 | 54,238 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_macros.h | C | agpl-3.0 | 8,713 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_message.h | C++ | agpl-3.0 | 3,082 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_printf_HELPER.h | C | agpl-3.0 | 5,280 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_printhex.h | C++ | agpl-3.0 | 2,684 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_settings.h | C | agpl-3.0 | 5,178 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_usb_ch9.h | C | agpl-3.0 | 12,781 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_usbhost.h | C++ | agpl-3.0 | 15,536 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_util_INLINE.h | C | agpl-3.0 | 3,438 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in t... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/USB_HOST_SHIELD/UHS_max3421e.h | C | agpl-3.0 | 9,449 |
/* Copyright (C) 2015-2016 Andrew J. Kroll
and
Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in t... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/USB_HOST_SHIELD/USB_HOST_SHIELD.h | C++ | agpl-3.0 | 16,486 |
/*
* Copyright (C) 2015-2016 Andrew J. Kroll
* and
* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
*
* This software may be distributed and modified under the terms of the GNU
* General Public License version 2 (GPL2) as publishe7d by the Free Software
* Foundation and appearing in the file GPL2... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/USB_HOST_SHIELD/USB_HOST_SHIELD_INLINE.h | C | agpl-3.0 | 31,302 |
/*
* File: macro_logic.h
* Author: root
*
* Created on December 22, 2018, 4:49 AM
*
* To test:
* gcc -DAJK_TEST_MACRO_LOGIC -E macro_logic.h
*/
#ifndef MACRO_LOGIC_H
#define MACRO_LOGIC_H
#define AJK_CAT(a, ...) AJK_PRIMITIVE_CAT(a, __VA_ARGS__)
#define AJK_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
#define AJ... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/macro_logic.h | C | agpl-3.0 | 4,220 |
/*
* File: SWI_INLINE.h
* Author: xxxajk@gmail.com
*
* Created on December 5, 2014, 9:40 AM
*
* This is the actual library.
* There are no 'c' or 'cpp' files.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* th... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/dyn_SWI/SWI_INLINE.h | C | agpl-3.0 | 7,469 |
/*
* File: dyn_SWI.h
* Author: xxxajk@gmail.com
*
* Created on December 5, 2014, 9:12 AM
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... | 2301_81045437/Marlin | Marlin/src/sd/usb_flashdrive/lib-uhs3/dyn_SWI/dyn_SWI.h | C++ | agpl-3.0 | 4,693 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/tests/marlin_tests.cpp | C++ | agpl-3.0 | 1,498 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/src/tests/marlin_tests.h | C | agpl-3.0 | 925 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2024 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/tests/core/test_macros.cpp | C++ | agpl-3.0 | 37,728 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2024 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/tests/core/test_types.cpp | C++ | agpl-3.0 | 15,829 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2024 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/tests/feature/test_runout.cpp | C++ | agpl-3.0 | 1,241 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2024 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | Marlin/tests/gcode/test_gcode.cpp | C++ | agpl-3.0 | 1,938 |
#
# SAMD21_minitronics20.py
# Customizations for env:SAMD21_minitronics20
#
import pioutil
if pioutil.is_pio_build():
from os.path import join, isfile
import shutil
Import("env")
mf = env["MARLIN_FEATURES"]
rxBuf = mf["RX_BUFFER_SIZE"] if "RX_BUFFER_SIZE" in mf else "0"
txBuf = mf["TX_BUFFER_S... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/SAMD21_minitronics20.py | Python | agpl-3.0 | 499 |
#
# SAMD51_grandcentral_m4.py
# Customizations for env:SAMD51_grandcentral_m4
#
import pioutil
if pioutil.is_pio_build():
from os.path import join, isfile
import shutil
Import("env")
mf = env["MARLIN_FEATURES"]
rxBuf = mf["RX_BUFFER_SIZE"] if "RX_BUFFER_SIZE" in mf else "0"
txBuf = mf["TX_BUFF... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py | Python | agpl-3.0 | 563 |
#
# STM32F103RC_MEEB_3DP.py
#
import pioutil
if pioutil.is_pio_build():
Import("env", "projenv")
flash_size = 0
vect_tab_addr = 0
for define in env['CPPDEFINES']:
if define[0] == "VECT_TAB_ADDR":
vect_tab_addr = define[1]
if define[0] == "STM32_FLASH_SIZE":
fla... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/STM32F103RC_MEEB_3DP.py | Python | agpl-3.0 | 514 |
#
# STM32F103RC_fysetc.py
#
import pioutil
if pioutil.is_pio_build():
from os.path import join
from os.path import expandvars
Import("env")
# Custom HEX from ELF
env.AddPostAction(
join("$BUILD_DIR", "${PROGNAME}.elf"),
env.VerboseAction(" ".join([
"$OBJCOPY", "-O ihex",... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py | Python | agpl-3.0 | 960 |
#
# STM32F1_create_variant.py
#
import pioutil
if pioutil.is_pio_build():
import shutil,marlin
from pathlib import Path
Import("env")
platform = env.PioPlatform()
board = env.BoardConfig()
FRAMEWORK_DIR = Path(platform.get_package_dir("framework-arduinoststm32-maple"))
assert FRAMEWORK_DIR... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/STM32F1_create_variant.py | Python | agpl-3.0 | 774 |
#
# add_nanolib.py
#
Import("env")
env.Append(LINKFLAGS=["--specs=nano.specs"])
| 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/add_nanolib.py | Python | agpl-3.0 | 81 |
#
# chitu_crypt.py
# Customizations for Chitu boards
#
import pioutil
if pioutil.is_pio_build():
import struct,uuid,marlin
board = marlin.env.BoardConfig()
def calculate_crc(contents, seed):
accumulating_xor_value = seed
for i in range(0, len(contents), 4):
value = struct.unpa... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/chitu_crypt.py | Python | agpl-3.0 | 3,935 |
#
# collect-code-tests.py
# Convenience script to collect all code tests. Used by env:linux_native_test in native.ini.
#
import pioutil
if pioutil.is_pio_build():
import os, re
Import("env")
Import("projenv")
os.environ['PATH'] = f"./buildroot/bin/:./buildroot/tests/:{os.environ['PATH']}"
def co... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/collect-code-tests.py | Python | agpl-3.0 | 1,989 |
#
# common-cxxflags.py
# Convenience script to apply customizations to CPP flags
#
import pioutil
if pioutil.is_pio_build():
Import("env")
cxxflags = [
# "-Wno-incompatible-pointer-types",
# "-Wno-unused-const-variable",
# "-Wno-maybe-uninitialized",
# "-Wno-sign-compare"
]... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/common-cxxflags.py | Python | agpl-3.0 | 1,767 |
#
# post:common-dependencies-post.py
# Convenience script to add build flags for Marlin Enabled Features
#
import pioutil
if pioutil.is_pio_build():
Import("env", "projenv")
def apply_board_build_flags():
if not 'BOARD_CUSTOM_BUILD_FLAGS' in env['MARLIN_FEATURES']:
return
projenv.Ap... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/common-dependencies-post.py | Python | agpl-3.0 | 556 |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/common-dependencies.h | C | agpl-3.0 | 10,856 |
#
# common-dependencies.py
# Convenience script to check dependencies and add libs and sources for Marlin Enabled Features
#
import pioutil
if pioutil.is_pio_build():
import subprocess,os,re,fnmatch,glob
srcfilepattern = re.compile(r".*[.](cpp|c)$")
marlinbasedir = os.path.join(os.getcwd(), "Marlin/")
... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/common-dependencies.py | Python | agpl-3.0 | 13,385 |
#!/usr/bin/env python3
#
# configuration.py
# Apply options from config.ini to the existing Configuration headers
#
import re, shutil, configparser, datetime
from pathlib import Path
verbose = 0
def blab(str,level=1):
if verbose >= level: print(f"[config] {str}")
def config_path(cpath):
return Path("Marlin", ... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/configuration.py | Python | agpl-3.0 | 10,609 |
#
# custom_board.py
#
# - For build.address replace VECT_TAB_ADDR to relocate the firmware
# - For build.ldscript use one of the linker scripts in buildroot/share/PlatformIO/ldscripts
#
import pioutil
if pioutil.is_pio_build():
import marlin
board = marlin.env.BoardConfig()
address = board.get("build.addre... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/custom_board.py | Python | agpl-3.0 | 494 |
#
# download_mks_assets.py
# Added by HAS_TFT_LVGL_UI to download assets from Makerbase repo
#
import pioutil
if pioutil.is_pio_build():
Import("env")
import requests,zipfile,tempfile,shutil
from pathlib import Path
url = "https://github.com/makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware/archive/0263c... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/download_mks_assets.py | Python | agpl-3.0 | 2,001 |
/* *****************************************************************************
* The MIT License
*
* Copyright (c) 2010 Perry Hung.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/exc.S | Unix Assembly | agpl-3.0 | 3,201 |
#
# fix_framework_weakness.py
#
import pioutil
if pioutil.is_pio_build():
import shutil
from os.path import join, isfile
from pprint import pprint
Import("env")
if env.MarlinHas("POSTMORTEM_DEBUGGING"):
FRAMEWORK_DIR = env.PioPlatform().get_package_dir("framework-arduinoststm32-maple")
... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/fix_framework_weakness.py | Python | agpl-3.0 | 1,295 |
#
# generic_create_variant.py
#
# Copy one of the variants from buildroot/platformio/variants into
# the appropriate framework variants folder, so that its contents
# will be picked up by PlatformIO just like any other variant.
#
import pioutil, re
marlin_variant_pattern = re.compile("marlin_.*")
if pioutil.is_pio_buil... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/generic_create_variant.py | Python | agpl-3.0 | 2,331 |
#
# jgaurora_a5s_a1_with_bootloader.py
# Customizations for env:jgaurora_a5s_a1
#
import pioutil
if pioutil.is_pio_build():
# Append ${PROGNAME}.bin firmware after bootloader and save it as 'jgaurora_firmware.bin'
def addboot(source, target, env):
from pathlib import Path
fw_path = Path(target... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py | Python | agpl-3.0 | 1,132 |
#
# lerdge.py
# Customizations for Lerdge build environments:
# env:LERDGEX env:LERDGEX_usb_flash_drive
# env:LERDGES env:LERDGES_usb_flash_drive
# env:LERDGEK env:LERDGEK_usb_flash_drive
#
import pioutil
if pioutil.is_pio_build():
import os,marlin
board = marlin.env.BoardConfig()
def encryptByte... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/lerdge.py | Python | agpl-3.0 | 1,526 |
#
# marlin.py
# Helper module with some commonly-used functions
#
import shutil
from pathlib import Path
from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
def copytree(src, dst, symlinks=False, ignore=None):
for item in src.iterdir():
if item.is_dir():
shutil.copytree(item... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/marlin.py | Python | agpl-3.0 | 2,557 |
#!/usr/bin/env python
#
# Create a Configuration from marlin_config.json
#
import json
import sys
import shutil
opt_output = '--opt' in sys.argv
output_suffix = '.sh' if opt_output else '' if '--bare-output' in sys.argv else '.gen'
try:
with open('marlin_config.json', 'r') as infile:
conf = json.load(infi... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/mc-apply.py | Python | agpl-3.0 | 2,929 |
#
# offset_and_rename.py
#
# - If 'board_build.offset' is provided, either by JSON or by the environment...
# - Set linker flag LD_FLASH_OFFSET and relocate the VTAB based on 'build.offset'.
# - Set linker flag LD_MAX_DATA_SIZE based on 'build.maximum_ram_size'.
# - Define STM32_FLASH_SIZE from 'upload.maximum_si... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/offset_and_rename.py | Python | agpl-3.0 | 2,679 |
#
# Convert the ELF to an SREC file suitable for some bootloaders
#
import pioutil
if pioutil.is_pio_build():
from os.path import join
Import("env")
board = env.BoardConfig()
board_keys = board.get("build").keys()
if 'encode' in board_keys:
env.AddPostAction(
join("$BUILD_DIR",... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/openblt.py | Python | agpl-3.0 | 601 |
#
# pioutil.py
#
# Make sure 'vscode init' is not the current command
def is_pio_build():
from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
if "IsCleanTarget" in dir(env) and env.IsCleanTarget(): return False
return not env.IsIntegrationDump()
def get_pio_version():
from platf... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/pioutil.py | Python | agpl-3.0 | 377 |
#
# preflight-checks.py
# Check for common issues prior to compiling
#
import pioutil
if pioutil.is_pio_build():
import re,sys
from pathlib import Path
Import("env")
def get_envs_for_board(board):
ppath = Path("Marlin/src/pins/pins.h")
with ppath.open() as file:
if sys.pla... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/preflight-checks.py | Python | agpl-3.0 | 5,659 |
#
# preprocessor.py
#
import subprocess
nocache = 1
verbose = 0
def blab(str):
if verbose:
print(str)
################################################################################
#
# Invoke GCC to run the preprocessor and extract enabled features
#
preprocessor_cache = {}
def run_preprocessor(env, fn... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/preprocessor.py | Python | agpl-3.0 | 2,798 |
#!/usr/bin/env python3
#
# schema.py
#
# Used by signature.py via common-dependencies.py to generate a schema file during the PlatformIO build
# when CONFIG_EXPORT is defined in the configuration.
#
# This script can also be run standalone from within the Marlin repo to generate JSON and YAML schema files.
#
# This scr... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/schema.py | Python | agpl-3.0 | 22,164 |
#!/usr/bin/env python3
#
# signature.py
#
import schema
import subprocess,re,json,hashlib
from datetime import datetime
from pathlib import Path
def enabled_defines(filepath):
'''
Return all enabled #define items from a given C header file in a dictionary.
A "#define" in a multi-line comment could produce... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/signature.py | Python | agpl-3.0 | 17,190 |
#
# simulator.py
# PlatformIO pre: script for simulator builds
#
import pioutil
if pioutil.is_pio_build():
# Get the environment thus far for the build
Import("env")
#print(env.Dump())
#
# Give the binary a distinctive name
#
env['PROGNAME'] = "MarlinSimulator"
#
# If Xcode is i... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/simulator.py | Python | agpl-3.0 | 1,474 |
#
# stm32_serialbuffer.py
#
import pioutil
if pioutil.is_pio_build():
Import("env")
# Get a build flag's value or None
def getBuildFlagValue(name):
for flag in build_flags:
if isinstance(flag, list) and flag[0] == name:
return flag[1]
return None
# Get an o... | 2301_81045437/Marlin | buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py | Python | agpl-3.0 | 2,470 |