Skip to content

Commit

Permalink
renesas-ra/softtimer: Switch to use softtimer code from shared/runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-hh authored and dpgeorge committed Jul 19, 2022
1 parent c781899 commit 678cb5a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 219 deletions.
2 changes: 1 addition & 1 deletion ports/renesas-ra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ SHARED_SRC_C += $(addprefix shared/,\
runtime/interrupt_char.c \
runtime/mpirq.c \
runtime/pyexec.c \
runtime/softtimer.c \
runtime/stdout_helpers.c \
runtime/sys_stdio_mphal.c \
timeutils/timeutils.c \
Expand Down Expand Up @@ -297,7 +298,6 @@ SRC_C += \
irq.c \
pendsv.c \
systick.c \
softtimer.c \
powerctrl.c \
powerctrlboot.c \
pybthread.c \
Expand Down
2 changes: 1 addition & 1 deletion ports/renesas-ra/gccollect.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include "py/gc.h"
#include "py/mpthread.h"
#include "shared/runtime/gchelper.h"
#include "shared/runtime/softtimer.h"
#include "gccollect.h"
#include "softtimer.h"
#include "systick.h"

void gc_collect(void) {
Expand Down
2 changes: 1 addition & 1 deletion ports/renesas-ra/machine_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "py/runtime.h"
#include "py/mphal.h"
#include "softtimer.h"
#include "shared/runtime/softtimer.h"

typedef soft_timer_entry_t machine_timer_obj_t;

Expand Down
2 changes: 1 addition & 1 deletion ports/renesas-ra/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "py/mphal.h"
#include "shared/readline/readline.h"
#include "shared/runtime/pyexec.h"
#include "shared/runtime/softtimer.h"
#include "lib/oofatfs/ff.h"
#include "lib/littlefs/lfs1.h"
#include "lib/littlefs/lfs1_util.h"
Expand All @@ -52,7 +53,6 @@
#include "gccollect.h"
#include "factoryreset.h"
#include "modmachine.h"
#include "softtimer.h"
#include "spi.h"
#include "uart.h"
#include "timer.h"
Expand Down
148 changes: 0 additions & 148 deletions ports/renesas-ra/softtimer.c

This file was deleted.

66 changes: 0 additions & 66 deletions ports/renesas-ra/softtimer.h

This file was deleted.

2 changes: 1 addition & 1 deletion ports/renesas-ra/systick.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

#include "py/runtime.h"
#include "py/mphal.h"
#include "shared/runtime/softtimer.h"
#include "irq.h"
#include "pendsv.h"
#include "systick.h"
#include "softtimer.h"
#include "pybthread.h"
#include "hal_data.h"

Expand Down

0 comments on commit 678cb5a

Please sign in to comment.