Richard Barry
653fdb81d5
Continue to remove unnecessary 'signed char *' casts from strings that are now just plain char * types.
2013-12-27 15:49:59 +00:00
Richard Barry
da93f1fc4b
Start to remove unnecessary 'signed char *' casts from strings that are now just plain char * types.
2013-12-27 14:43:48 +00:00
Richard Barry
b4116a7c7d
Change the type used for strings and single characters from signed char to just char.
2013-12-27 12:10:23 +00:00
Richard Barry
b3aa1e90ad
Add additional const qualifiers.
2013-12-24 11:55:38 +00:00
Richard Barry
6179690dc9
Don't free xQueue->ucHead if it is NULL.
2013-12-24 10:47:52 +00:00
Richard Barry
a3c2f45116
Move the event groups single tasks test out of the common demo file (they are now part of the module tests).
2013-12-23 18:13:29 +00:00
Richard Barry
c861e3883d
Add coverage test markers.
2013-12-23 18:11:15 +00:00
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.
2013-12-23 16:02:03 +00:00
Richard Barry
0147415c40
Change some task priorities in the MingW simulator demo.
2013-12-20 11:35:16 +00:00
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.
2013-12-19 13:40:37 +00:00
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.
2013-12-15 10:27:37 +00:00
Richard Barry
040a7c02df
Change the configCPU_CLOCK_HZ setting in the SAM4E demo to use the SystemCoreClock variable.
2013-12-15 10:17:02 +00:00
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.
2013-12-14 13:16:05 +00:00
Richard Barry
c17c65fc09
Introduce prvResetNextTaskUnblockTime() to encapsulate functionality from various places in the code into a single function.
2013-12-13 10:35:11 +00:00
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.
2013-12-12 16:07:24 +00:00
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.
2013-12-12 14:07:20 +00:00
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.
2013-12-12 10:19:07 +00:00
Richard Barry
0416289066
Comment typo correction only.
2013-12-11 17:56:07 +00:00
Richard Barry
ed54bc497d
Complete STM32L low power demo.
2013-12-11 11:35:03 +00:00
Richard Barry
4b655ac3bb
Remove [unused] touch library files from the STM32L discovery demo.
2013-12-11 10:46:17 +00:00
Richard Barry
0028cc48c1
Remove unused files from STM32L discovery board demo directory structure and build.
2013-12-10 17:16:45 +00:00
Richard Barry
751103d848
Tidy up STM32L low power demo and add 'comprehensive demo' option.
2013-12-10 16:20:43 +00:00
Richard Barry
5638fe28a2
Remove duplication of comments at the top of the file.
2013-12-10 11:24:41 +00:00
Richard Barry
3d00d47239
STM32L discovery demo is now demonstrating three low power modes - still needs clean up.
2013-12-10 10:07:53 +00:00
Richard Barry
9001b7b77a
Minor change to SAM4L_low_power_tick_management.c to ensure the alarm value cannot be set to zero.
2013-12-08 06:32:38 +00:00
Richard Barry
e682aec507
Spelling corrections in comments only.
2013-11-28 13:24:05 +00:00
Richard Barry
00ad1a0200
Multiple tidy up, documentation corrections and typo corrections highlighted by Tamas Kleiber's diligent review.
2013-11-28 10:48:33 +00:00
Richard Barry
2e42d7690a
Continue work on new event groups functionality - fixups required by test results.
2013-11-27 20:29:33 +00:00
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.
2013-11-24 10:11:16 +00:00
Richard Barry
5037ecdc5c
Checked in header file missed form previous checkin.
2013-11-22 11:05:24 +00:00
Richard Barry
9dc39ee2a7
Add additional event group tests - and update implementation as required by test results.
2013-11-22 10:58:25 +00:00
Richard Barry
a22d5ff5a5
Add event groups test/demo tasks.
2013-11-21 22:08:06 +00:00
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.
2013-11-21 21:46:08 +00:00
Richard Barry
faed443e82
Continue work on STM32L demo.
2013-11-21 16:08:11 +00:00
Richard Barry
b89fd7c1e3
Add STM32L Discovery board project as a starting point to adapt to an RTOS demo.
2013-11-20 13:33:30 +00:00
Richard Barry
417c3d1054
Change backslashes to forward slashes for all PIC projects.
2013-11-18 16:00:27 +00:00
Richard Barry
ad67be1577
Tidy up SAM4E NetworkInterface.c.
2013-11-17 22:19:54 +00:00
Richard Barry
c6020ae8b4
Change conf_eth.h to provide additional Rx buffers in SAM4E demo.
2013-11-17 22:15:45 +00:00
Richard Barry
fa002f7fdd
Final tidy up before V7.6.0 zip file creation.
2013-11-17 15:46:08 +00:00
Richard Barry
8cd71348be
Make SAM4E network driver a little more robust.
2013-11-17 15:42:08 +00:00
Richard Barry
c2bfac68b3
Add link to documentation page inside main_full() of the SAM4E demo.
2013-11-17 15:40:56 +00:00
Richard Barry
0cbd5182a3
Add additional comments to SAM4E demo.
2013-11-17 14:14:22 +00:00
Richard Barry
6be1ffccfb
Update version numbers in FreeRTOS-Plus demo files.
2013-11-17 14:12:41 +00:00
Richard Barry
cbb14d30c5
Add basic SAM4E driver.
...
Add ipconfigETHERNET_DRIVER_ADDS_UDP_CHECKSUM, ipconfigETHERNET_DRIVER_ADDS_IP_CHECKSUM, ipconfigETHERNET_DRIVER_CHECKS_IP_CHECKSUM and ipconfigETHERNET_DRIVER_CHECKS_UDP_CHECKSUM definitions.
2013-11-17 14:09:17 +00:00
Richard Barry
0865907f3f
Add graphics to the SAM4E demo.
2013-11-16 22:33:51 +00:00
Richard Barry
9e9f9f30b1
Add UDP related commands to SAM4E demo.
2013-11-16 19:19:18 +00:00
Richard Barry
b690b26861
Add standard demo tasks to SAM4E demo.
2013-11-16 18:06:57 +00:00
Richard Barry
dc2e20bb0a
Add SAM4E-EK demo with UDP and CLI. Not yet complete.
2013-11-16 13:27:44 +00:00
Richard Barry
a37b947615
Reorder the license text wording so the exception text is at the top rather than the bottom.
2013-11-12 17:26:08 +00:00
Richard Barry
a2cfaa7cd9
Correct build of helper function for ports where the stack grows up.
2013-11-12 13:06:18 +00:00