Richard Barry
c861e3883d
Add coverage test markers.
11 years ago
Richard Barry
64ad1c00b5
In process of module testing event_groups.c.
...
Introduce xPortRunning variable into Win32 simulator port layer.
Add port optimised task selection macro for the GCC Win32 port layer (the MSVC version has had one for a while).
Ensure the event list item value does not get modified by code in tasks.c (priority inheritance, or priority change) when it is in use by the event group implementation.
11 years ago
Richard Barry
0147415c40
Change some task priorities in the MingW simulator demo.
11 years ago
Richard Barry
39b2d049a6
Update GCC/Eclipse Win32 simulator port to make better use of Eclipse resource filters and match the functionality of the MSVC equivalent.
11 years ago
Richard Barry
4b2f9dad42
Force the SysTick clock bit to be set in Cortex-M3 and Cortex-M4F bits if configSYSTICK_CLOCK_HZ is not defined, otherwise leave the bit as it is found as the SysTick may use a divided clock.
11 years ago
Richard Barry
040a7c02df
Change the configCPU_CLOCK_HZ setting in the SAM4E demo to use the SystemCoreClock variable.
11 years ago
Richard Barry
a320d6dffd
Update the ucQueueNumber member of the queue structure (used with FreeRTOS+Trace to be an unsigned portBASE_TYPE instead of an unsigned char.
11 years ago
Richard Barry
c17c65fc09
Introduce prvResetNextTaskUnblockTime() to encapsulate functionality from various places in the code into a single function.
11 years ago
Richard Barry
acad916453
Change the way one thread deletes another in the Windows simulator port (the way one thread deleted itself was already changed in a previous check-in).
...
Reset the expected block time variable when a task is suspended or deleted in case the value held in the variables was associated with the task just suspended or deleted.
11 years ago
Richard Barry
0d1e12522b
Update Cortex-M3 and Cortex-M4F ports to allow the SysTick to be clocked at a different speed than the system clock (as is done in the recent STM32L demo. ).
...
Add additional asserts and isb instructions into the Cortex-M3 and Cortex-M4F ports.
11 years ago
Richard Barry
6b3393b4b6
Add trace macros into the event groups implementation.
...
Add a task pre-delete hook to allow the insertion of any port specific clean up when a task is deleted.
Increase use of 'const' qualifiers.
Add vPortCloseRunningThread() into the Win32 port layer to attempt to allow Windows threads to be closed more gracefully when a task deletes itself.
11 years ago
Richard Barry
0416289066
Comment typo correction only.
11 years ago
Richard Barry
ed54bc497d
Complete STM32L low power demo.
11 years ago
Richard Barry
4b655ac3bb
Remove [unused] touch library files from the STM32L discovery demo.
11 years ago
Richard Barry
0028cc48c1
Remove unused files from STM32L discovery board demo directory structure and build.
11 years ago
Richard Barry
751103d848
Tidy up STM32L low power demo and add 'comprehensive demo' option.
11 years ago
Richard Barry
5638fe28a2
Remove duplication of comments at the top of the file.
11 years ago
Richard Barry
3d00d47239
STM32L discovery demo is now demonstrating three low power modes - still needs clean up.
11 years ago
Richard Barry
9001b7b77a
Minor change to SAM4L_low_power_tick_management.c to ensure the alarm value cannot be set to zero.
11 years ago
Richard Barry
e682aec507
Spelling corrections in comments only.
11 years ago
Richard Barry
00ad1a0200
Multiple tidy up, documentation corrections and typo corrections highlighted by Tamas Kleiber's diligent review.
11 years ago
Richard Barry
2e42d7690a
Continue work on new event groups functionality - fixups required by test results.
11 years ago
Richard Barry
d2c2e3ca68
Add additional asserts() to ensure certain operations are not performed when the scheduler is suspended.
...
Change the xBlockTime variables in event_groups.c/h to xTicksToWait to match the naming in other core FreeRTOS files.
11 years ago
Richard Barry
5037ecdc5c
Checked in header file missed form previous checkin.
11 years ago
Richard Barry
9dc39ee2a7
Add additional event group tests - and update implementation as required by test results.
11 years ago
Richard Barry
a22d5ff5a5
Add event groups test/demo tasks.
11 years ago
Richard Barry
f54f21b8f6
Add event_groups.c and associated functions in other core files.
...
Added xTimerPendCallbackFromISR() to provide a centralised deferred interrupt handling mechanism.
Add xPortGetLowestEverFreeHeapSize() to heap_4.c.
11 years ago
Richard Barry
faed443e82
Continue work on STM32L demo.
11 years ago
Richard Barry
b89fd7c1e3
Add STM32L Discovery board project as a starting point to adapt to an RTOS demo.
11 years ago
Richard Barry
417c3d1054
Change backslashes to forward slashes for all PIC projects.
11 years ago
Richard Barry
c6020ae8b4
Change conf_eth.h to provide additional Rx buffers in SAM4E demo.
11 years ago
Richard Barry
fa002f7fdd
Final tidy up before V7.6.0 zip file creation.
11 years ago
Richard Barry
c2bfac68b3
Add link to documentation page inside main_full() of the SAM4E demo.
11 years ago
Richard Barry
0cbd5182a3
Add additional comments to SAM4E demo.
11 years ago
Richard Barry
0865907f3f
Add graphics to the SAM4E demo.
11 years ago
Richard Barry
9e9f9f30b1
Add UDP related commands to SAM4E demo.
11 years ago
Richard Barry
b690b26861
Add standard demo tasks to SAM4E demo.
11 years ago
Richard Barry
dc2e20bb0a
Add SAM4E-EK demo with UDP and CLI. Not yet complete.
11 years ago
Richard Barry
a37b947615
Reorder the license text wording so the exception text is at the top rather than the bottom.
11 years ago
Richard Barry
a2cfaa7cd9
Correct build of helper function for ports where the stack grows up.
11 years ago
Richard Barry
8320dfb885
Update the SAM4L low power demo to use the ASF enable/disable interrupts functions rather than manipulating the PIRMASK directly - and in so doing allow other ASF functions to be called with the interrupt enable bit nesting.
11 years ago
Richard Barry
0cd79ad81d
Change version numbers in preparation for V7.6.0 release.
11 years ago
Richard Barry
c44d12dadb
Ensure the Win32 demo runs in co-operative mode.
11 years ago
Richard Barry
b1b4b15353
Add configASSERT()s to ensure counting semaphores are not created with a max count of zero or an initial count greater than the max count.
11 years ago
Richard Barry
b181a3af99
Ensure the definition of prvTaskExitError()does not result in a compiler warning in ports where its use can be overridden (GCC Cortex-M ports).
...
Remove duplicate save/restore of r14 in Cortex-M4F ports.
11 years ago
Richard Barry
20eb03ed7d
Change behaviour when configUSE_PREEMPTION is 0 (preemption is turned off). See the change history in the next release for details.
...
Remove an erroneous const in the prototype of queue receive/peek functions.
11 years ago
Richard Barry
30bc6c01a9
Add ehb instructions back into PIC32 port layer (upon advice).
...
Add configCLEAR_TICK_TIMER_INTERRUPT into PIC32 port layer to allow the timer configuration to be changed without any edits to the port layer being required.
Add prvTaskExitError() into the PIC32 port layer to trap tasks that attempt to exit from their implementing function.
Provide the ability to trap interrupt stack overflows in the PIC32 port.
Radically improve the timing in the Win32 simulator port layer.
11 years ago
Richard Barry
40d2e74417
Update some standard demo task implementations so they can be used with the cooperative scheduler.
11 years ago
Richard Barry
5aabe4f8fb
Update semtest.c to use xSemaphoreCreateBinary() in place of vSemaphoreCreateBinary.
11 years ago
Richard Barry
dcf261a3e6
Add xSemaphoreCreateBinary() so vSemaphoreCreate() can be deprecated.
11 years ago
Richard Barry
ca2191c6ee
Ensure PIC32MX MPLAB 8 project builds with XC.
11 years ago
Richard Barry
9a0f2bda55
Update PIC32 MPLAB8 project so it builds with the new partest file names.
11 years ago
Richard Barry
1b7a2e40a3
Update PIC32MX demo:
...
Change configCHECK_FOR_STACK_OVERFLOW to 3 to also check the interrupt stack.
Add a build configuration to allow use on the PIC32 USBII starter kit.
Increase some delays when talking to the LCD to ensure it always displays correctly.
Rewrite the register test tasks.
11 years ago
Richard Barry
2ee43fbc64
Set the MSVC Win32 demo back to create the simply blinky demo by default.
...
Set the MingW Wind32 demo back to include the #error to remind people to run the CreateProjectDirectoryStructure batch file.
11 years ago
Richard Barry
73df0ffdff
Update the Eclipse/MingW project to account for the new Win32 simulator port layer (which has better timing).
11 years ago
Richard Barry
15d10ce094
Update the main Win32 MSVC demo to account for the changes to the Win32 port layer (more accurate timing).
11 years ago
Richard Barry
63bd3ebbef
Remove the SVC handler from the XMC1000 demo as it is no longer used by the Cortex-M0 port layer.
11 years ago
Richard Barry
dcd261bb8b
Update the Keil and IAR CM0 port layers to match the changes made to the GCC version.
11 years ago
Richard Barry
7bcbef721b
Remove the SVC handler from the SAMD20 FreeRTOSConfig.h as the GCC Cortex-M0 port no longer uses it.
11 years ago
Richard Barry
41fe693968
Improve how the scheduler is started in the GCC Cortex-M0 port.
11 years ago
Richard Barry
f64acd6a48
Added an additional configASSERT() to test the new eTaskGetState() behaviour (see previous checking comment).
11 years ago
Richard Barry
25bab250b6
Added a little intelligence to eTaskGetState() so it can distinguish between a suspended task and a task that is indefinitely blocked on an event.
11 years ago
Richard Barry
bafda11518
Remove maths library dependency form SAMD20 project.
11 years ago
Richard Barry
a12ea2d212
Update FreeRTOS version number to V7.5.3
...
Update FreeRTOS+CLI version number to V1.0.2
Update FreeRTOS+UDP version number to V1.0.1
11 years ago
Richard Barry
94607d83f9
Add workaround to XMC4000 silicon bug to Tasking Cortex-M4F port layer.
11 years ago
Richard Barry
c1353bb12d
Complete XMC4000 Tasking project.
11 years ago
Richard Barry
b887737c34
Fix broken link in Atmel Studio SAMD20 project.
11 years ago
Richard Barry
c09f6e6a9b
Increase minimal stack size for the SAMD20 demo.
11 years ago
Richard Barry
dcea05a81c
Complete tidy up of SAMD20 demo.
11 years ago
Richard Barry
41a1dc62b7
Complete SAMD20 demo - still needs tidy up.
...
Add comments to the XMC1000 reg test files.
11 years ago
Richard Barry
0c56f5018d
Add some defensive programming in the default tickless mode in case the application supplied post tick hook takes a long time to complete.
11 years ago
Richard Barry
aedf7824cb
Introduce the prvTaskExitError() function for all ARM_CMn ports.
...
Introduce the configTASK_RETURN_ADDRESS macro for the GCC ARM_CMn ports.
Improve time slippage penalty when entering tickless mode is abandoned.
11 years ago
Richard Barry
eaacbb099a
Clear up a few compiler warnings.
...
Correct header comments in the UARTCommandConsole.c file used in the SmartFusion2 demo.
Exercise the new xQueueSpacesAvailable() function in the MSVC demo.
Add defaults for the new traceMALLOC and traceFREE trace macros.
Catch tasks trying to exit their functions in the Cortex-M0 ports.
Add additional comments to timers.c in response to a support forum question.
Initialise _impure_ptr prior to the first task being started.
Prior to V7.5.0 a yield pended in the tick hook would have occurred during the same tick interrupt. Return pdTRUE from xTaskIncrementTick() if a yield is pending to revert to that behaviour.
11 years ago
Richard Barry
7ec4773131
Add traceMALLOC() and traceFREE() macros.
12 years ago
Richard Barry
23fa077241
Complete CLI demo on SAMD20.
12 years ago
Richard Barry
8ffa1b1736
Get CLI functioning in SAMD20 demo.
12 years ago
Richard Barry
013a3ef944
Starting point for the SAMD20 demo.
12 years ago
Richard Barry
111283a9b2
Finalise XMC4000 GCC demos.
12 years ago
Richard Barry
0185643b39
Finalise XMC4000 IAR demos.
12 years ago
Richard Barry
1e248417bc
Finalise XMC4000 Keil demos.
12 years ago
Richard Barry
db1a5f1553
Add the configUSE_STATS_FORMATTING_FUNCTIONS parameter to a couple of FreeRTOSConfig.h header files that got missed out when the parameter was introduced.
12 years ago
Richard Barry
988b0c1678
Remove the math library as a build dependency in the SAM4L demo.
12 years ago
Richard Barry
e3b5f36c3a
Move the #error message about running the CreateProjectDirectoryStructure batch file from FreeRTOSConfig.h to main.c so it shows when the batch file has not been executed (XMC4000 Dave and Tasking projects).
12 years ago
Richard Barry
1902d2b64a
Add the uxQueueSpacesAvailable() API function.
...
Move a configASSERT() call in timers.c to prevent a "condition is always true" compiler warning.
12 years ago
Richard Barry
dd3fdfa9ff
Make self monitoring in QueueSet.c more robust to prevent false positives.
12 years ago
Richard Barry
c63a81af99
Enable RX62N_RDK project to build with the blink configuration.
12 years ago
Richard Barry
49c602f3df
Add #error into Tasking project to remind users that they need to run the CreateProjectDirectoryStructure batch file.
12 years ago
Richard Barry
ae402434f8
Update Keil XMC1000 to later version.
12 years ago
Richard Barry
0e28ee90b6
Finalise XMC1000 GCC demos.
12 years ago
Richard Barry
42c0ae6bc8
Finalise XMC1000 IAR demos.
12 years ago
Richard Barry
a3095b89af
Finalise XMC1000 Keil demos.
12 years ago
Richard Barry
8282cc0491
Finalise XMC4000 Dave/GCC demos.
12 years ago
Richard Barry
577ff0741d
Finalise XMC4000 Keil demos.
12 years ago
Richard Barry
a0a96e52f2
Finalise XMC4000 IAR demos.
12 years ago
Richard Barry
41f92ced65
Add build configurations for the XMC4400 and XMC4200 to the Tasking demo project.
12 years ago
Richard Barry
77d817ffaa
Update XMC4000 tasking project to use latest system files.
12 years ago
Richard Barry
7d92a29d2d
Rename directories with XMC4500 in their name that now contain XMC4200 and XMC4000 build configurations to instead say XMC4000.
12 years ago
Richard Barry
117235c08a
Rename directories with XMC4500 in their name that now contain XMC4200 and XMC4000 build configurations to instead say XMC4000.
12 years ago
Richard Barry
d8963209c2
Reworked XMC4500 IAR project to use latest system files and include build configurations for the XMC4200 and XMC4400 parts.
12 years ago
Richard Barry
aaf2d32011
Add XMC4200 and XMC4400 build configurations to the XMC4000 Dave project.
12 years ago