Skip to content

Commit 3d8ea06

Browse files
Merge pull request #32 from MannyPeterson/develop
Merge for 0.3.2 release
2 parents 4c89b0c + 3a2cc37 commit 3d8ea06

25 files changed

+218
-123
lines changed

.vscode/settings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"custom"
4242
],
4343
"doxdocgen.file.fileTemplate": "@file {name}",
44-
"doxdocgen.file.versionTag": "@version 0.3.1",
44+
"doxdocgen.file.versionTag": "@version 0.3.2",
4545
"doxdocgen.generic.authorEmail": "mannymsp@gmail.com",
4646
"doxdocgen.generic.authorName": "Manny Peterson",
4747
"doxdocgen.generic.authorTag": "@author {author} ({email})",
@@ -88,6 +88,7 @@
8888
"files.associations": {
8989
"task.h": "c",
9090
"sched.h": "c",
91-
"queue.h": "c"
91+
"queue.h": "c",
92+
"cstdlib": "c"
9293
}
9394
}

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ void loop() {
155155
***
156156
# Releases
157157
All releases, including the current release, can be found [here](https://github.com/MannyPeterson/HeliOS/releases).
158-
* **0.3.1 - A lot of refactoring, code clean-up from the 0.3.0 release and code documentation/readability improvements.**
158+
* **0.3.2 - Some fixes to the memory management system calls and related functions.**
159+
* 0.3.1 - A lot of refactoring, code clean-up from the 0.3.0 release and code documentation/readability improvements.
159160
* 0.3.0 - First release of the new 0.3.x series kernel (many new features, most of the kernel rewritten, new example code and new documentation)
160161
* 0.2.7 - Added a contributed example, privatized the list pointers for scheduler and added support for Teensy 3/4
161162
* 0.2.6 - Added built-in support for ESP8266 and minor internal updates

examples/Blink/Blink.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file Blink.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Blink example code for Arduino
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/Coop/Coop.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file Coop.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code for cooperative multitasking
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/GetInfo/GetInfo.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file GetInfo.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code for getting task and system information
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/ListTasks/ListTasks.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file ListTasks.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code to print runtime statistics for all tasks
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/Mem/Mem.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file Mem.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code to demonstrate how heap memory is managed in HeliOS
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/Timer/Timer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file Timer.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code to demonstrate event driven multitasking using a task timer
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

examples/WaitNotify/WaitNotify.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file WaitNotify.ino
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Example code to demonstrate direct-to-task notifications used in event-driven multitasking
5-
* @version 0.3.0
5+
* @version 0.3.2
66
* @date 2022-02-14
77
*
88
* @copyright

extras/arduino.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file arduino.cpp
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Source code to allow the HeliOS kernel to interface with the C++ Arduino API.
5-
* @version 0.3.1
5+
* @version 0.3.2
66
* @date 2022-02-25
77
*
88
* @copyright

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=HeliOS
2-
version=0.3.1
2+
version=0.3.2
33
author=Manny Peterson
44
maintainer=Manny Peterson
55
sentence=The free embedded operating system.

src/HeliOS.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file HeliOS.h
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Header file for end-user application code
5-
* @version 0.3.1
5+
* @version 0.3.2
66
* @date 2022-01-31
77
*
88
* @copyright

src/config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file config.h
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Kernel header file for user definable settings
5-
* @version 0.3.1
5+
* @version 0.3.2
66
* @date 2022-01-31
77
*
88
* @copyright

src/defines.h

+5-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file defines.h
33
* @author Manny Peterson (mannymsp@gmail.com)
44
* @brief Kernel header for macros and definitions
5-
* @version 0.3.1
5+
* @version 0.3.2
66
* @date 2022-01-31
77
*
88
* @copyright
@@ -138,13 +138,12 @@ to default to the Arduino platform and/or tool-chain. */
138138
#define TIME_T_TYPE uint64_t
139139

140140
#if !defined(CONFIG_HEAP_SIZE_IN_BLOCKS)
141-
#define CONFIG_HEAP_SIZE_IN_BLOCKS 0x200u /* 512u */
141+
#define CONFIG_HEAP_SIZE_IN_BLOCKS 0x20u /* 32u */
142142
#endif
143143

144144
/* Enable memdump_() on Linux for debugging. */
145-
#if !defined(MEMDUMP_)
146145
#define MEMDUMP_
147-
#endif
146+
#define MEMDUMP_ROW_WIDTH CONFIG_HEAP_BLOCK_SIZE
148147

149148
#elif defined(ARDUINO_TEENSY_MICROMOD) || defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) || defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) || defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC)
150149

@@ -257,7 +256,7 @@ for return values. */
257256
/* Define the raw size of the heap in bytes based on the number of blocks
258257
the heap contains and the size of each block in bytes. */
259258
#if !defined(HEAP_RAW_SIZE)
260-
#define HEAP_RAW_SIZE CONFIG_HEAP_SIZE_IN_BLOCKS *CONFIG_HEAP_BLOCK_SIZE
259+
#define HEAP_RAW_SIZE CONFIG_HEAP_SIZE_IN_BLOCKS * CONFIG_HEAP_BLOCK_SIZE
261260
#endif
262261

263262

@@ -301,7 +300,7 @@ xSystemGetSystemInfo(). */
301300
/* Define the OS product patch version number which is accessible through
302301
xSystemGetSystemInfo(). */
303302
#if !defined(OS_PATCH_VERSION_NO)
304-
#define OS_PATCH_VERSION_NO 0x1u
303+
#define OS_PATCH_VERSION_NO 0x2u
305304
#endif
306305

307306

0 commit comments

Comments
 (0)