rp2: Enable ucryptolib, using mbedtls for backend functions.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
11ab90391d
commit
86e6744ff5
|
@ -236,6 +236,7 @@ target_sources(${MICROPY_TARGET} PRIVATE
|
|||
${MICROPY_SOURCE_PORT}
|
||||
)
|
||||
|
||||
target_link_libraries(${MICROPY_TARGET} micropy_lib_mbedtls)
|
||||
target_link_libraries(${MICROPY_TARGET} usermod)
|
||||
|
||||
target_include_directories(${MICROPY_TARGET} PRIVATE
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
#define MICROPY_PY_UOS_URANDOM (1)
|
||||
#define MICROPY_PY_URE_MATCH_GROUPS (1)
|
||||
#define MICROPY_PY_URE_MATCH_SPAN_START_END (1)
|
||||
#define MICROPY_PY_UCRYPTOLIB (1)
|
||||
#define MICROPY_PY_UTIME_MP_HAL (1)
|
||||
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC (rosc_random_u32())
|
||||
#define MICROPY_PY_MACHINE (1)
|
||||
|
@ -107,6 +108,7 @@
|
|||
#define MICROPY_VFS (1)
|
||||
#define MICROPY_VFS_LFS2 (1)
|
||||
#define MICROPY_VFS_FAT (1)
|
||||
#define MICROPY_SSL_MBEDTLS (1)
|
||||
|
||||
// fatfs configuration
|
||||
#define MICROPY_FATFS_ENABLE_LFN (1)
|
||||
|
|
|
@ -256,7 +256,7 @@ function ci_rp2_setup {
|
|||
|
||||
function ci_rp2_build {
|
||||
make ${MAKEOPTS} -C mpy-cross
|
||||
git submodule update --init lib/pico-sdk lib/tinyusb
|
||||
git submodule update --init lib/mbedtls lib/pico-sdk lib/tinyusb
|
||||
make ${MAKEOPTS} -C ports/rp2
|
||||
make ${MAKEOPTS} -C ports/rp2 clean
|
||||
make ${MAKEOPTS} -C ports/rp2 USER_C_MODULES=../../examples/usercmodule/micropython.cmake
|
||||
|
|
Loading…
Reference in New Issue