micropython: bump to 1.23.0 release

Bump micropython to 1.23.0. This is done to fix support for MbedTLS 3.0

Lots changed between 1.21 and 1.23 for the library side.

Mainly the barkeley-db library was moved to micropython own fork and the
cdef patch required lots of changes. (we have to manually include a copy
of cdef.h as it was dropped by them)
Also a new patch is required to mute some compilarion error that are
false-positive. (variable not initialized but that are ALWAYS
initialized)

Also refresh the extmod patch with new files included.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi
2024-10-22 15:27:36 +02:00
committed by Rosen Penev
parent e3217b54ed
commit 86602b5f3a
5 changed files with 176 additions and 81 deletions

View File

@@ -0,0 +1,22 @@
--- a/lib/berkeley-db-1.xx/btree/bt_split.c
+++ b/lib/berkeley-db-1.xx/btree/bt_split.c
@@ -91,7 +91,7 @@ __bt_split(t, sp, key, data, flags, ilen
PAGE *h, *l, *r, *lchild, *rchild;
indx_t nxtindex;
u_int16_t skip;
- u_int32_t n, nbytes, nksize = 0;
+ u_int32_t n, nbytes = 0, nksize = 0;
int parentsplit;
char *dest;
pgno_t pg_tmp;
@@ -626,8 +626,8 @@ bt_psplit(t, h, l, r, pskip, ilen)
PAGE *rval;
void *src = NULL;
indx_t full, half, nxt, off, skip, top, used;
- u_int32_t nbytes;
- int bigkeycnt, isbigkey;
+ u_int32_t nbytes = 0;
+ int bigkeycnt, isbigkey = 0;
/*
* Split the data to the left and right pages. Leave the skip index