Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed all IRAM_ATTR attributes #718

Merged
merged 1 commit into from
Jun 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion targets/FreeRTOS/ESP32_DevKitC/nanoBooter/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void Blinker_task(void *pvParameter)
}

// Main task start point
void IRAM_ATTR main_task(void *pvParameter)
void main_task(void *pvParameter)
{
// HAL initialization, this also initializes the configured device drivers
// and performs the board-specific initializations.
Expand Down
6 changes: 3 additions & 3 deletions targets/FreeRTOS/ESP32_DevKitC/nanoCLR/CLRStartup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct Settings
}


HRESULT IRAM_ATTR Load()
HRESULT Load()
{
NANOCLR_HEADER();

Expand Down Expand Up @@ -159,7 +159,7 @@ struct Settings
}


HRESULT IRAM_ATTR ContiguousBlockAssemblies(BlockStorageStream stream)
HRESULT ContiguousBlockAssemblies(BlockStorageStream stream)
{
NANOCLR_HEADER();

Expand Down Expand Up @@ -223,7 +223,7 @@ struct Settings
NANOCLR_NOCLEANUP();
}

HRESULT IRAM_ATTR LoadDeploymentAssemblies()
HRESULT LoadDeploymentAssemblies()
{
NANOCLR_HEADER();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice::SetConfig(i2c_por
}


HRESULT IRAM_ATTR Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void Esp32_Serial_UnitializeAll()
}
}

HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeDispose___VOID( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeDispose___VOID( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand All @@ -100,7 +100,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
//
// Initialise a new Serial port
//
HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -142,7 +142,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
//
// Set up serial port Configuration
//
HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeConfig___VOID( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeConfig___VOID( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -276,7 +276,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
//
// Write data into buffer
//
HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeWrite___VOID__SZARRAY_U1( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeWrite___VOID__SZARRAY_U1( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -330,7 +330,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
//
// Store - Send buffer and wait
//
HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeStore___U4( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeStore___U4( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -361,7 +361,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
}


HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeRead___U4__SZARRAY_U1__I4__I4( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::NativeRead___U4__SZARRAY_U1__I4__I4( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -451,7 +451,7 @@ HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunicat
}


HRESULT IRAM_ATTR Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::GetDeviceSelector___STATIC__STRING( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_serial_native_Windows_Devices_SerialCommunication_SerialDevice::GetDeviceSelector___STATIC__STRING( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,17 @@ spi_device_interface_config_t Library_win_dev_spi_native_Windows_Devices_Spi_Spi
return dev_config;
}

HRESULT IRAM_ATTR Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer___VOID__SZARRAY_U1__SZARRAY_U1__BOOLEAN( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer___VOID__SZARRAY_U1__SZARRAY_U1__BOOLEAN( CLR_RT_StackFrame& stack )
{
return NativeTransfer( stack, false );
}

HRESULT IRAM_ATTR Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer___VOID__SZARRAY_U2__SZARRAY_U2__BOOLEAN( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer___VOID__SZARRAY_U2__SZARRAY_U2__BOOLEAN( CLR_RT_StackFrame& stack )
{
return NativeTransfer( stack, true );
}

HRESULT IRAM_ATTR Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer( CLR_RT_StackFrame& stack, bool data16 )
HRESULT Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeTransfer( CLR_RT_StackFrame& stack, bool data16 )
{
NANOCLR_HEADER();
{
Expand Down Expand Up @@ -331,7 +331,7 @@ HRESULT IRAM_ATTR Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::Nati
NANOCLR_NOCLEANUP();
}

HRESULT IRAM_ATTR Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
HRESULT Library_win_dev_spi_native_Windows_Devices_Spi_SpiDevice::NativeInit___VOID( CLR_RT_StackFrame& stack )
{
NANOCLR_HEADER();

Expand Down
4 changes: 2 additions & 2 deletions targets/FreeRTOS/ESP32_DevKitC/nanoCLR/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ uint32_t __nanoImage_end__ = 0;
extern bool Esp32FlashDriver_InitializeDevice(void* context);


void IRAM_ATTR receiver_task(void *pvParameter)
void receiver_task(void *pvParameter)
{
ReceiverThread( 0);

vTaskDelete(NULL);
}

// Main task start point
void IRAM_ATTR main_task(void *pvParameter)
void main_task(void *pvParameter)
{
CLRStartupThread( 0);

Expand Down