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.
App_Getpushbuttonstatesamples the button every 100 ms and classifies the completed press by duration.App_ToggleLedapplies 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.
- 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.
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.