mirror of
https://github.com/m5stack/M5Stack_MicroPython.git
synced 2026-05-20 10:14:44 -07:00
Running REPL in thread may solve some issues with uasyncio
and long running or infinite loops
Updated 'machine.UART' module
- fixed bug when wrong parameter was returned to callback functions
- added option to set inverted mode for Rx, Tx, CTS, RTS
- enabled using hw flow controll if CTS and/or RTC pisn are defined
- 'write_break()' function added whitch enits the break signal after data write
Updated 'sys' module
Added 'sys.tz()' to get or set the time zone
The time zone is saved in NVS string and time zone is set on boot
The time zone can be now preserved on reset, power off or deepsleep wake up
Updated 'machine' module
Added SetStackSize() function to set the MicroPython stack size
Added SetHeapSize() function to set the MicroPython heap size
Both heap an stack sizes are set as NVS variables and are read at boot time
to set the sizes, so the sizes may now be different than the compiled ones
Updated 'machine.timer' module
Changed function name 'reshot()' -> 'reshoot()'
36 lines
1.6 KiB
C
36 lines
1.6 KiB
C
/*
|
|
* This file is part of the MicroPython ESP32 project, https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
|
|
*
|
|
* The MIT License (MIT)
|
|
*
|
|
* Copyright (c) 2018 LoBo (https://github.com/loboris)
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
|
|
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.12"
|
|
#define MICROPY_GIT_HASH "gbae9709a"
|
|
#define MICROPY_BUILD_DATE "2018-04-18"
|
|
#define MICROPY_VERSION_MAJOR (3)
|
|
#define MICROPY_VERSION_MINOR (2)
|
|
#define MICROPY_VERSION_MICRO (12)
|
|
#define MICROPY_VERSION_STRING "3.2.12"
|
|
#define MICROPY_CORE_VERSION "59dda71"
|
|
#define MICROPY_CORE_DATE "2018-04-10"
|