Skip to content

Commit

Permalink
ATmega128 support (#3)
Browse files Browse the repository at this point in the history
* ATmega128 builds

* Update basic types for ATmega missing dependencies
  • Loading branch information
ethancheez authored Jul 24, 2023
1 parent 3782274 commit 2d21572
Show file tree
Hide file tree
Showing 5 changed files with 1,840 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Arduino/Drv/HardwareRateDriver/HardwareRateDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void HardwareRateDriver::s_timer(void* comp) {
Svc::TimerVal now;
now.take();
#ifdef ARDUINO
#ifdef FREERTOS
#if defined(FREERTOS) || defined(ATMEGA)
sei(); // Enable interrupts so UART RX interrupt handler can receive incoming bytes during remainder of this ISR
#else
__enable_irq(); // Enable interrupts so UART RX interrupt handler can receive incoming bytes during remainder of this ISR
Expand Down
3 changes: 3 additions & 0 deletions cmake/platform/types/basic/ctime
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extern "C" {
#include <time.h>
} // extern "C"
Loading

0 comments on commit 2d21572

Please sign in to comment.