Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

FreeRTOS button and LED controller

An LPC2129/ARM7 coursework application that uses two FreeRTOS tasks to sample a push button and control an LED. The duration of the button press selects off, slow-toggle, or fast-toggle behavior.

RTOS design

  • App_Getpushbuttonstate samples the button every 100 ms and classifies the completed press by duration.
  • App_ToggleLed applies the selected LED state and toggle rate.
  • Both tasks run under the FreeRTOS scheduler and interact through the shared application state App_u8ToggleRate.
  • GPIO and serial initialization are performed before the scheduler starts.

Target and dependencies

  • LPC2129 ARM7 target
  • FreeRTOS 10.2-era LPC2129 Keil demo environment
  • Keil project/startup files from the FreeRTOS LPC2129 demo
  • The demo's GPIO, serial, and LPC21xx support files

To integrate the exercise, start with the matching FreeRTOS ARM7_LPC2129_Keil_RVDS demo, add main.c and GPIO_cfg.c, and retain the board-specific startup and peripheral support from that demo.

Validation status

This repository preserves an early RTOS exercise rather than a standalone firmware product. The required vendor project, FreeRTOS sources, and board support package are not stored here, and no current hardware or CI validation is claimed.

About

LPC2129 FreeRTOS exercise that controls an LED state and toggle rate from push-button input.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages