@@ -161,7 +161,7 @@ uint8_t ieee802154_get_recent_lqi(void)
161161 return s_rx_frame_info [s_recent_rx_frame_info_index ].lqi ;
162162}
163163
164- IEEE802154_STATIC void set_next_rx_buffer (void )
164+ IEEE802154_STATIC IEEE802154_NOINLINE void set_next_rx_buffer (void )
165165{
166166 uint8_t * next_rx_buffer = NULL ;
167167 uint8_t index = 0 ;
@@ -194,7 +194,7 @@ IEEE802154_STATIC void set_next_rx_buffer(void)
194194 ieee802154_ll_set_rx_addr (next_rx_buffer );
195195}
196196
197- static bool stop_rx (void )
197+ IEEE802154_NOINLINE static bool stop_rx (void )
198198{
199199 ieee802154_ll_events events ;
200200
@@ -210,7 +210,7 @@ static bool stop_rx(void)
210210 return true;
211211}
212212
213- static bool stop_tx_ack (void )
213+ IEEE802154_NOINLINE static bool stop_tx_ack (void )
214214{
215215 ieee802154_set_cmd (IEEE802154_CMD_STOP );
216216
@@ -221,7 +221,7 @@ static bool stop_tx_ack(void)
221221 return true;
222222}
223223
224- static bool stop_tx (void )
224+ IEEE802154_NOINLINE static bool stop_tx (void )
225225{
226226 ieee802154_ll_events events ;
227227
@@ -245,21 +245,21 @@ static bool stop_tx(void)
245245 return true;
246246}
247247
248- static bool stop_cca (void )
248+ IEEE802154_NOINLINE static bool stop_cca (void )
249249{
250250 ieee802154_set_cmd (IEEE802154_CMD_STOP );
251251 ieee802154_ll_clear_events (IEEE802154_EVENT_ED_DONE | IEEE802154_EVENT_RX_ABORT );
252252 return true;
253253}
254254
255- static bool stop_tx_cca (void )
255+ IEEE802154_NOINLINE static bool stop_tx_cca (void )
256256{
257257 stop_tx (); // in case the transmission already started
258258 ieee802154_ll_clear_events (IEEE802154_EVENT_TX_ABORT );
259259 return true;
260260}
261261
262- static bool stop_rx_ack (void )
262+ IEEE802154_NOINLINE static bool stop_rx_ack (void )
263263{
264264 ieee802154_ll_events events ;
265265
@@ -281,7 +281,7 @@ static bool stop_rx_ack(void)
281281 return true;
282282}
283283
284- static bool stop_ed (void )
284+ IEEE802154_NOINLINE static bool stop_ed (void )
285285{
286286 ieee802154_set_cmd (IEEE802154_CMD_STOP );
287287
@@ -290,7 +290,7 @@ static bool stop_ed(void)
290290 return true;
291291}
292292
293- IEEE802154_STATIC bool stop_current_operation (void )
293+ IEEE802154_NOINLINE IEEE802154_STATIC bool stop_current_operation (void )
294294{
295295 event_end_process ();
296296 switch (s_ieee802154_state ) {
@@ -629,7 +629,7 @@ IEEE802154_STATIC IRAM_ATTR void ieee802154_exit_critical(void)
629629 portEXIT_CRITICAL (& s_ieee802154_spinlock );
630630}
631631
632- static void ieee802154_isr (void * arg )
632+ IEEE802154_NOINLINE static void ieee802154_isr (void * arg )
633633{
634634 ieee802154_enter_critical ();
635635 ieee802154_ll_events events = ieee802154_ll_get_events ();
@@ -878,7 +878,7 @@ esp_err_t ieee802154_transmit(const uint8_t *frame, bool cca)
878878 return ieee802154_transmit_internal (frame , cca );
879879}
880880
881- static inline bool is_target_time_expired (uint32_t target , uint32_t now )
881+ IEEE802154_NOINLINE static bool is_target_time_expired (uint32_t target , uint32_t now )
882882{
883883 return (((now - target ) & (1 << 31 )) == 0 );
884884}
0 commit comments