dev_beta_softSerial #4

Merged
klassents merged 31 commits from dev_beta_softSerial into dev_beta 2024-10-14 05:07:05 +03:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 9d4483f9e9 - Show all commits

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ void HardwareSerial::rx_complete_irq(void)
}
// wrapper for use in С-files
extern "C" void serial_interrupt_handler(uint8_t uartNumInt)
extern "C" void __attribute__((optimize("O3"))) serial_interrupt_handler(uint8_t uartNumInt)
{
if (uartNumInt == 0)
{
+1 -1
View File
@@ -100,7 +100,7 @@ class HardwareSerial : public Stream
using Print::write; // pull in write(str)
operator bool() { return isInited; }
void rx_complete_irq(void);
void rx_complete_irq(void) __attribute__((optimize("O3")));
};
extern HardwareSerial Serial;
+1 -1
View File
@@ -114,7 +114,7 @@ void enableInterrupt(uint8_t interruptNum)
}
// common gpio interrupt handler
void gpio_interrupt_handler(void) __attribute__((noinline, section(".ram_text")));
void gpio_interrupt_handler(void) __attribute__((noinline, section(".ram_text"), optimize("O3")));
void gpio_interrupt_handler(void)
{
// go through all the interrupts and call the handler for the triggered line