Content-Length: 450227 | pFad | http://github.com/dhalbert/circuitpython/commit/#start-of-content

688B5E5C Merge pull request #10508 from dhalbert/rp2-full-cert-bundle · dhalbert/circuitpython@707e621 · GitHub
Skip to content

Commit 707e621

Browse files
authored
Merge pull request adafruit#10508 from dhalbert/rp2-full-cert-bundle
Update rasbperrypi and zephyr-cp to use a full Mozilla root certificate bundle
2 parents 70c324e + edddfff commit 707e621

File tree

8 files changed

+18
-3
lines changed

8 files changed

+18
-3
lines changed

ports/raspberrypi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ CFLAGS += \
655655
-isystem $(TOP)/lib/mbedtls/include \
656656
-DMBEDTLS_CONFIG_FILE='"$(TOP)/lib/mbedtls_config/mbedtls_config.h"' \
657657

658-
$(BUILD)/x509_crt_bundle.S: $(TOP)/lib/certificates/data/roots.pem $(TOP)/tools/gen_crt_bundle.py
658+
$(BUILD)/x509_crt_bundle.S: $(TOP)/lib/certificates/data/roots-full.pem $(TOP)/tools/gen_crt_bundle.py
659659
$(Q)$(PYTHON) $(TOP)/tools/gen_crt_bundle.py -i $< -o $@ --asm
660660
OBJ_MBEDTLS := $(BUILD)/x509_crt_bundle.o
661661
$(patsubst %.c,$(BUILD)/%.o,$(SRC_MBEDTLS))): CFLAGS += -Wno-suggest-attribute=format

ports/raspberrypi/boards/cytron_edu_pico_w/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ CFLAGS += \
3434
# Must be accompanied by a linker script change
3535
CFLAGS += -DCIRCUITPY_FIRMWARE_SIZE='(1536 * 1024)'
3636

37+
# The default is -O3. Change to -O2 because the build was overflowing.
38+
OPTIMIZATION_FLAGS = -O2
39+
3740
# Include these Python libraries in firmware.
3841
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
3942
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Motor

ports/raspberrypi/boards/wiznet_w5100s_evb_pico/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CIRCUITPY__EVE = 1
1212
CIRCUITPY_FLOPPYIO = 0
1313
CIRCUITPY_SSL = 1
1414
CIRCUITPY_USB_HOST = 0
15+
16+
# The default is -O3. Change to -O2 because the build was overflowing.
17+
OPTIMIZATION_FLAGS = -O2

ports/raspberrypi/boards/wiznet_w5100s_evb_pico2/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
1111

1212
CIRCUITPY__EVE = 1
1313
CIRCUITPY_SSL = 1
14+
15+
# The default is -O3. Change to -O2 because the build was overflowing.
16+
OPTIMIZATION_FLAGS = -O2

ports/raspberrypi/boards/wiznet_w5500_evb_pico/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CIRCUITPY__EVE = 1
1212
CIRCUITPY_FLOPPYIO = 0
1313
CIRCUITPY_SSL = 1
1414
CIRCUITPY_USB_HOST = 0
15+
16+
# The default is -O3. Change to -O2 because the build was overflowing.
17+
OPTIMIZATION_FLAGS = -O2

ports/raspberrypi/boards/wiznet_w5500_evb_pico2/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
1111

1212
CIRCUITPY__EVE = 1
1313
CIRCUITPY_SSL = 1
14+
15+
# The default is -O3. Change to -O2 because the build was overflowing.
16+
OPTIMIZATION_FLAGS = -O2

ports/zephyr-cp/cptools/build_circuitpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ async def build_circuitpython():
530530

531531
if "ssl" in enabled_modules:
532532
crt_bundle = builddir / "x509_crt_bundle.S"
533-
roots_pem = srcdir / "lib/certificates/data/roots.pem"
533+
roots_pem = srcdir / "lib/certificates/data/roots-full.pem"
534534
generator = srcdir / "tools/gen_crt_bundle.py"
535535
tg.create_task(
536536
cpbuild.run_command(

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/dhalbert/circuitpython/commit/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy