mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 19:08:07 +00:00
update to current micropython master
This commit is contained in:
parent
2a32975977
commit
6861e68f21
@ -142,6 +142,7 @@ OBJ_MP += $(addprefix $(BUILD_MP)/,\
|
||||
lib/libm/kf_tan.o \
|
||||
lib/libm/log1pf.o \
|
||||
lib/libm/math.o \
|
||||
lib/libm/nearbyintf.o \
|
||||
lib/libm/roundf.o \
|
||||
lib/libm/sf_cos.o \
|
||||
lib/libm/sf_erf.o \
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include "py/stackctrl.h"
|
||||
#include "py/repl.h"
|
||||
#include "py/gc.h"
|
||||
#include "py/mperrno.h"
|
||||
#include "lib/utils/pyexec.h"
|
||||
|
||||
#include "gccollect.h"
|
||||
@ -98,6 +99,6 @@ mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args, mp_map_t *kwargs) {
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open);
|
||||
|
||||
int mp_reader_new_file(mp_reader_t *reader, const char *filename) {
|
||||
return 2; // assume error was "file not found"
|
||||
void mp_reader_new_file(mp_reader_t *reader, const char *filename) {
|
||||
mp_raise_OSError(MP_ENOENT); // assume "file not found"
|
||||
}
|
||||
|
2
vendor/micropython
vendored
2
vendor/micropython
vendored
@ -1 +1 @@
|
||||
Subproject commit bbdaf762cf45518b1f8188b9a951e8459dcc73e3
|
||||
Subproject commit bf2d7b10934242b56833d30a91d0ce1beae097e0
|
Loading…
Reference in New Issue
Block a user