Oliver Fabel 1 rok temu
rodzic
commit
698c797d04
4 zmienionych plików z 8 dodań i 32 usunięć
  1. 1 1
      genhdr/mpversion.h
  2. 0 12
      mp_flipper_repl.c
  3. 0 12
      mp_flipper_repl.h
  4. 7 7
      mpconfigport.h

+ 1 - 1
genhdr/mpversion.h

@@ -1,4 +1,4 @@
 // This file was generated by py/makeversionhdr.py
 #define MICROPY_GIT_TAG "v1.23.0-preview.322.g5114f2c1e"
 #define MICROPY_GIT_HASH "5114f2c1e"
-#define MICROPY_BUILD_DATE "2024-09-26"
+#define MICROPY_BUILD_DATE "2024-09-27"

+ 0 - 12
mp_flipper_repl.c

@@ -1,12 +0,0 @@
-#include "py/repl.h"
-#include "py/mpprint.h"
-
-#include "mp_flipper_repl.h"
-
-inline bool mp_flipper_repl_continue_with_input(const char* input) {
-    return mp_repl_continue_with_input(input);
-}
-
-inline size_t mp_flipper_repl_autocomplete(const char* str, size_t len, const mp_print_t* print, char** compl_str) {
-    return mp_repl_autocomplete(str, len, print, compl_str);
-}

+ 0 - 12
mp_flipper_repl.h

@@ -1,12 +0,0 @@
-#pragma once
-
-#include <stddef.h>
-#include <stdbool.h>
-
-#include "py/mpprint.h"
-
-#include "mp_flipper_runtime.h"
-
-bool mp_flipper_repl_continue_with_input(const char* input);
-
-size_t mp_flipper_repl_autocomplete(const char* str, size_t len, const mp_print_t* print, char** compl_str);

+ 7 - 7
mpconfigport.h

@@ -34,13 +34,13 @@ typedef long mp_off_t;
 #define MICROPY_PY_GC_COLLECT_RETVAL (1)
 #define MICROPY_ENABLE_PYSTACK (0)
 #define MICROPY_STACK_CHECK (1)
-#define MICROPY_ALLOC_PATH_MAX (256)
+#define MICROPY_ALLOC_PATH_MAX (128)
 
 #define MICROPY_ENABLE_FINALISER (0)
 
-#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)
+#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NO)
 
-#define MICROPY_GC_STACK_ENTRY_TYPE uint32_t
+#define MICROPY_GC_STACK_ENTRY_TYPE (uint32_t)
 
 #define MICROPY_PY___FILE__ (1)
 #define MICROPY_ENABLE_EXTERNAL_IMPORT (1)
@@ -67,14 +67,14 @@ typedef long mp_off_t;
 #define MICROPY_ENABLE_SOURCE_LINE (0)
 #define MICROPY_ENABLE_DOC_STRING (0)
 
-#define MICROPY_HELPER_REPL (1)
+#define MICROPY_HELPER_REPL (0)
 #define MICROPY_REPL_INFO (0)
 #define MICROPY_REPL_EMACS_KEYS (0)
 #define MICROPY_REPL_EMACS_WORDS_MOVE (0)
 #define MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE (0)
-#define MICROPY_REPL_AUTO_INDENT (1)
+#define MICROPY_REPL_AUTO_INDENT (0)
 #define MICROPY_REPL_EVENT_DRIVEN (0)
-#define MICROPY_READLINE_HISTORY_SIZE (8)
+#define MICROPY_READLINE_HISTORY_SIZE (0)
 
 #define MICROPY_CPYTHON_COMPAT (1)
 #define MICROPY_FULL_CHECKS (0)
@@ -155,4 +155,4 @@ typedef long mp_off_t;
 #define MICROPY_COMP_CONST_TUPLE (0)
 #define MICROPY_COMP_CONST_LITERAL (0)
 #define MICROPY_COMP_CONST (0)
-#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (0)
+#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (0)