mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-30 14:12:00 +00:00
HAL updates
This commit is contained in:
parent
65996e4235
commit
54326fb06a
52 changed files with 327 additions and 378 deletions
Marlin/src/HAL/HAL_LPC1768
|
@ -21,19 +21,15 @@
|
|||
*/
|
||||
|
||||
#ifdef TARGET_LPC1768
|
||||
|
||||
#include <lpc17xx_pinsel.h>
|
||||
#include "HAL.h"
|
||||
#include "../../macros.h"
|
||||
#include "../../core/macros.h"
|
||||
|
||||
// Interrupts
|
||||
void cli(void) { __disable_irq(); } // Disable
|
||||
void sei(void) { __enable_irq(); } // Enable
|
||||
|
||||
// Program Memory
|
||||
void serialprintPGM(const char * str){
|
||||
usb_serial.print(str);
|
||||
}
|
||||
|
||||
// Time functions
|
||||
void _delay_ms(int delay_ms) {
|
||||
delay (delay_ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue