Skip to content

Commit

Permalink
[micrOS] Release doc update for version: 2.6.0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
BxNxM committed Jul 25, 2024
1 parent 63725d3 commit 88eb4e9
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ Version **4.0.0-0**
| **v 1.5.0-1** | [release_Info-1.5.0-1](./micrOS/release_info/micrOS_ReleaseInfo/release_1.5.0-1_note_esp32.md) | **58,2%** 64 704 byte | esp32 (tinyPico) | [App Profiles](./micrOS/release_info/node_config_profiles/) | [LM manual](./micrOS/client/sfuncman/sfuncman_1.5.0-1.json) | Advanced Timer IRQ based scheduling (cron & timirq), Geolocation based timing features, External IRQs with 4 channel (event filtering), finalized light controls, Device-Device comminucation support, etc.
| **v 1.21.0-4** | [release_Info-1.21.0-4](./micrOS/release_info/micrOS_ReleaseInfo/release_1.21.0-4_note_esp32.md) | **57.3%** 63 728 byte | esp32 (tinyPico, esp32s2, esp32s3) | [App Profiles](./micrOS/release_info/node_config_profiles/) | [LM manual](./micrOS/client/sfuncman/sfuncman_1.21.0-4.json) | Full async core system with advanced task management and device to device communication, task scheduling and much more ... with more then 30 application/pheriphery support.
| **v 2.0.0-0** | [release_Info-2.0.0-0](./micrOS/release_info/micrOS_ReleaseInfo/release_2.0.0-0_note_esp32.md) | **45.4%** 68.7 kb | esp32 (tinyPico, esp32s2, esp32s3) | [App Profiles](./micrOS/release_info/node_config_profiles/) | [LM manual](./micrOS/client/sfuncman/sfuncman_2.0.0-0.json) | Optimizations, WebCli with web frontends, Camera support. Micropython 1.21 async maxed out :D
| **v 2.6.0-0** | [release_Info-2.6.0-0](./micrOS/release_info/micrOS_ReleaseInfo/release_2.6.0-0_note_esp32.md) | **48.3%** 72.6 kb | esp32 (tinyPico, esp32s2, esp32s3) | [App Profiles](./micrOS/release_info/node_config_profiles/) | [LM manual](./micrOS/client/sfuncman/sfuncman_2.6.0-0.json) | WebCli http server enhancements. New webapps: dashboard. Core system official interface finalization towards Load Modules: Common.py, Types.py (frontend generation), microIO.py (pinout handling).

----------------------------------------
----------------------------------------
Expand Down
144 changes: 144 additions & 0 deletions micrOS/release_info/micrOS_ReleaseInfo/release_2.6.0-0_note_esp32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Release validation
### VERSION: 2.6.0-0

| version | memory usage | board type | config |
|:-------:|:---------------------:| :---------: | :-----------: |
| 2.6.0-0 | **48.3%** 72 656 byte | esp32 | `default` |

## Deployment

Installed with micrOS DevToolKit GUI Dashboard

# Validation & Measurements

## [1] micrOS bootup with default config (STA mode)

```
[loader][if_mode:True] .if_mode file not exists -> micros interface
[loader][main mode] Start micrOS (default)
[CONF] SKIP obsolete keys check (no cleanup.pds)
[CONF] User config injection done
[CONF] Save conf successful
[PIN MAP] esp32
[io] Init pin: builtin:2
[IRQ] Interrupts disabled, skip alloc_emergency_exception_buf configuration.
~~~~~ [PROFILING INFO] - [memUsage] MAIN LOAD ~~~~~
stack: 1536 out of 15360
GC: total: 64000, used: 61968, free: 2032, max new split: 110592
No. of 1-blocks: 749, 2-blocks: 196, max blk sz: 142, max free sz: 23
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[TASK MANAGER] <<constructor>>
[BOOT] EXECUTION ...
[BOO4B==-Mu?Set up CPU high Hz - boostmd: True
[NW: STA] SET WIFI STA NW elektroncsakpozitivan_2G
| - [NW: STA] ESSID WAS FOUND: elektroncsakpozitivan_2G
| [NW: STA] CONNECT TO NETWORK elektroncsakpozitivan_2G
| [NW: STA] Waiting for connection... 60 sec
| [NW: STA] Waiting for connection... 59 sec
| [NW: STA] Waiting for connection... 58 sec
| [NW: STA] Waiting for connection... 57 sec
| [NW: STA] Waiting for connection... 56 sec
| [NW: STA] Waiting for connection... 55 sec
[NW: STA] Set device static IP.
[NW: STA][SKIP] StaticIP conf.: 10.0.1.193 ? 10.0.1.193
| | [NW: STA] network config: ('10.0.1.193', '255.255.255.0', '10.0.1.1', '10.0.1.1')
| | [NW: STA] CONNECTED: True
Cron: False - SKIP sync
[IRQ] EXTIRQ SETUP - EXT IRQ1: False TRIG: n/a
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a')
[IRQ] EXTIRQ SETUP - EXT IRQ2: False TRIG: n/a
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a')
[IRQ] EXTIRQ SETUP - EXT IRQ3: False TRIG: n/a
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a')
[IRQ] EXTIRQ SETUP - EXT IRQ4: False TRIG: n/a
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a')
[IRQ] TIMIRQ SETUP: False SEQ: 1000
|- [IRQ] TIMIRQ CBF:n/a
[IRQ] CRON IRQ SETUP: False SEQ: 5000
|- [IRQ] CRON CBF:n/a
|[ socket server ] <<constructor>>
~~~~~ [PROFILING INFO] - [memUsage] SYSTEM IS UP ~~~~~
stack: 1536 out of 15360
GC: total: 64000, used: 63472, free: 528, max new split: 86016
No. of 1-blocks: 803, 2-blocks: 208, max blk sz: 142, max free sz: 10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|-[ socket server ] Start socket server on 10.0.1.193
|--- TCP server ready, connect: telnet 10.0.1.193 9008
```

| stage | memory usage | all memory | details |
| :------: |:---------------------:| :-------------: | :------------------------: |
| inital | **40.9%** 61 968 byte | 151 471 byte | `[memUsage] MAIN LOAD` |
| running | **41.9%** 63 472 byte | 151 471 byte | `[memUsage] SYSTEM IS UP` |

## [2] Memory usage At bootup with default config

```
node01 $ system memory_usage
percent: 48.3
mem_used: 72656
node01 $ lmpacman module
['LM_lmpacman', 'microIO', 'uasyncio', 'asyncio.core', 'Debug', 'Logger', 'IO_esp32', 'flashbdev', 'Interrupts', 'LM_system', 'micrOS', 'Network', 'urequests', 'asyncio', 'Server', 'Tasks', 'Hooks', 'Config', 'Time', 'Shell', 'asyncio.event', 'Common', 'micrOSloader', 'asyncio.stream', 'Types']
```

| stage | memory usage | all memory | details |
| :------: |:---------------:| :-------------: | :------------------------: |
| running/clean | **48.3%** 72 656 byte | 151 471 byte | `over socket: system memory_usage` |

## [3] System test results:

```
----------------------------------- micrOS System Test results on node01:2.6.0-0 device -----------------------------------
TEST NAME STATE Description
single_cmds: OK [i][ST] Run single command execution check [hello]
shell_cmds: OK [i][ST] Run built-in shell commands [modules|version|help]
lm_cmd_exec: OK [i][ST] Run Load Module command execution check [system heartbeat]
config_get: OK [i][ST] Run micrOS config get [conf -> socport]
config_set: OK [i][ST] Run micrOS config set [conf -> utc]
task_oneshot: OK [i][ST] Run micrOS BgJob check [system clock &]
task_loop: OK [i][Stop task] [ST] Run micrOS Async Task check [system clock &&] + task kill
task_list: OK [i][ST] Run micrOS Task list feature check [task list][task list >json]
version: OK [i][ST] Run micrOS get version [version] v:2.6.0-0
json_check: OK [i][ST] Run micrOS raw output check aka >json [system rssi >json] out: {"Amazing": -60}
response_time: OK [i][ST] Measure response time [system heartbeat]x10 deltaT: 0.0316 s
negative_api: OK [i][ST] Run micrOS Negative API check [Invalid CMDs + conf]
dhcp_hostname: OK [i][ST] Check host node01.local and resolve IP: 10.0.1.193
lm_exception: OK [i][ST] Check robustness - exception [robustness raise_error]: Valid error msg: exec_lm_core *->raise_error: *
mem_usage: OK [i][ST] OK: memory usage 51.6% (77616 bytes)
disk_usage: OK [i][ST] OK: disk usage 19.1% (401408 bytes)
webui_conn: OK [i][ST] WEBUI IS DISABLED (False)
mem_alloc: OK [i][ST] Check robustness - memory_leak [robustness memory_leak 12]: Mem alloc: [12] RAM Alloc.: -1 kB 992 byte
recursion: OK [i][ST] Check robustness - recursion [robustness recursion_limit 8]-> Recursion limit: 8
intercon: OK [i][ST] Check device-device connectivity:
Device was found: RingLamp.local:(True, {'verdict': 'Task started: task show con.RingLamp.hello', 'tag': 'con.RingLamp.hello'}): (True, 'hello:RingLamp:micr2462abfddb44OS')
Negative test: Device was not found: "notavailable.local":(True, {'verdict': 'Task started: task show con.notavailable.hello', 'tag': 'con.notavailable.hello'}): (True, '')
micros_alarms: OK [i][ST] Test alarm state - system alarms should be null [0] out: 2024.7.25-19:25:39 [usr]Raise test exception
2024.7.25-19:25:40 [WARN] ShellCli.send (auto-drop) S1.61:53559
2024.7.25-19:25:40 [WARN] ShellCli.send (auto-drop) S1.61:53560
2024.7.25-19:25:48 [WARN] ShellCli.send (auto-drop) S1.61:53563
2024.7.25-19:25:48 [intercon] send_cmd notavailable.local oserr: -2
2024.7.25-19:25:48 [WARN] ShellCli.send (auto-drop) S1.61:53564
OK alarm: 0
conn_metrics: OK [i]SINGLE CONNECTION LOAD TEST X10, AVERAGE REPLY TIME: 0.031 sec
MULTI CONNECTION LOAD TEST X10, AVERAGE REPLY TIME: 0.072s, SERVER AVAILABILITY: 100% (0.072s)
micros_tasks: OK [i]---- micrOS top ----
#queue: 5 #load: 3%
#Active #taskID
Yes server
Yes idle
No con.notavailable.hello
No con.RingLamp.hello
clean-reboot: OK [i][reboot-h][OK] successfully rebooted: hello:node01:micr08b61f3b3e0cOS (boot time: ~6sec)
PASS RATE: 100.0 %
RESULT: OK
--------------------------------------------------------------------------------------
```

| stage | memory usage | all memory | details |
| :------: |:---------------------:| :-------------: | :------------------------: |
| running/system test result | **51.6%** 77 616 byte | 151 471 byte | `mem_usage` |



2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setuptools.setup(
name='micrOSDevToolKit',
version='2.5.0',
version='2.6.0',
author='Marcell Ban',
author_email='miros.framework@gmail.com',
description='Development and deployment environment for micrOS, the diy micropython automation OS (IoT)',
Expand Down

0 comments on commit 88eb4e9

Please sign in to comment.