Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Latest commit

 

History

History
19 lines (17 loc) · 586 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 586 Bytes

divider_context_switch

Demonstrating a problem with context switching on Raspberry Pi Pico.

Install with steps like these:

  • git clone --recurse-submodules git@github.com:carlk3/divider_context_switch.git
  • cd divider_context_switch
  • mkdir build
  • cd build
  • cmake ..
  • make

You can change the behavior by toggling the commented target_sources lines in CMakeLists.txt:

#To see the problem:        
        ${CMAKE_CURRENT_LIST_DIR}/FreeRTOS-Kernel/portable/GCC/ARM_CM0/port.c 
#To see the fix:        
        #${CMAKE_CURRENT_LIST_DIR}/port.c 

and rebuilding.