Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
ce23f67d
Commit
ce23f67d
authored
Aug 03, 2014
by
Damien George
Browse files
Merge pull request #784 from dhylands/fix-teensy-2014-08-02
Fix teensy to work with the latest tree.
parents
2e41646e
e40c7221
Changes
3
Hide whitespace changes
Inline
Side-by-side
teensy/main.c
View file @
ce23f67d
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
#include "gc.h"
#include "gc.h"
#include "gccollect.h"
#include "gccollect.h"
#include "pyexec.h"
#include "pyexec.h"
#include "pybstdio.h"
#include "readline.h"
#include "readline.h"
#include "Arduino.h"
#include "Arduino.h"
...
@@ -24,8 +23,9 @@
...
@@ -24,8 +23,9 @@
#include "servo.h"
#include "servo.h"
#include "usb.h"
#include "usb.h"
#include "led.h"
#include "led.h"
#include "uart.h"
//#include "pin.h"
//#include "pin.h"
#include "pybstdio.h"
extern
uint32_t
_heap_start
;
extern
uint32_t
_heap_start
;
...
...
teensy/modpyb.c
View file @
ce23f67d
...
@@ -39,7 +39,6 @@
...
@@ -39,7 +39,6 @@
#include "gc.h"
#include "gc.h"
#include "gccollect.h"
#include "gccollect.h"
#include "systick.h"
#include "systick.h"
#include "pybstdio.h"
#include "pyexec.h"
#include "pyexec.h"
#include "led.h"
#include "led.h"
#include "pin.h"
#include "pin.h"
...
@@ -59,6 +58,7 @@
...
@@ -59,6 +58,7 @@
#include "dac.h"
#include "dac.h"
#include "usb.h"
#include "usb.h"
#include "portmodules.h"
#include "portmodules.h"
#include "pybstdio.h"
/// \module pyb - functions related to the pyboard
/// \module pyb - functions related to the pyboard
///
///
...
...
teensy/usb.c
View file @
ce23f67d
...
@@ -25,7 +25,7 @@ int usb_vcp_rx_num(void) {
...
@@ -25,7 +25,7 @@ int usb_vcp_rx_num(void) {
return
usb_serial_available
();
return
usb_serial_available
();
}
}
char
usb_vcp_r
x_get
(
void
)
int
usb_vcp_r
ecv_byte
(
void
)
{
{
return
usb_serial_getchar
();
return
usb_serial_getchar
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment