diff --git a/boards/nucleo-l496zg/doc.txt b/boards/nucleo-l496zg/doc.txt index 5aac4e8f43..f5e46c3612 100644 --- a/boards/nucleo-l496zg/doc.txt +++ b/boards/nucleo-l496zg/doc.txt @@ -8,6 +8,28 @@ The Nucleo-L496ZG is a board from ST's Nucleo family supporting ARM Cortex-M4 STM32L496ZG ultra-low-pawer microcontroller with 320KiB of RAM and 1 MiB of Flash. +### MCU + +| MCU | STM32L496ZG | +|:---------- |:------------------ | +| Family | ARM Cortex-M4F | +| Vendor | ST Microelectronics| +| RAM | 320KiB | +| Flash | 1MiB | +| Frequency | up to 80MHz | +| FPU | yes | +| Timers | 16 (2x watchdog, 1 SysTick, 11x 16-bit, 2x 32-bit) | +| ADCs | 3x 12-bit (24 channels | +| UARTs | 6 (5x UARTs and one Low-Power UART) | +| SPIs | 3 | +| I2Cs | 4 | +| RTC | 1 | +| CAN | 2 | +| Datasheet | [Datasheet](https://www.st.com/resource/en/datasheet/stm32l496vg.pdf) | +| Reference Manual | [Reference Manual](https://www.st.com/resource/en/reference_manual/rm0351-stm32l47xxx-stm32l48xxx-stm32l49xxx-and-stm32l4axxx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf) | +| Programming Manual | [Programming Manual](https://www.st.com/content/ccc/resource/technical/document/programming_manual/6c/3a/cb/e7/e4/ea/44/9b/DM00046982.pdf/files/DM00046982.pdf/jcr:content/translations/en.DM00046982.pdf) | +| Board Manual | [Board Manual](https://www.st.com/resource/en/user_manual/um2179-stm32-nucleo144-boards-mb1312-stmicroelectronics.pdf) | + ## Flashing the Board Using ST-LINK Removable Media On-board ST-LINK programmer provides via composite USB device removable media. diff --git a/examples/paho-mqtt/Makefile.ci b/examples/paho-mqtt/Makefile.ci index 8e0855dffc..48d4ec686f 100644 --- a/examples/paho-mqtt/Makefile.ci +++ b/examples/paho-mqtt/Makefile.ci @@ -1,16 +1,30 @@ BOARD_INSUFFICIENT_MEMORY := \ airfy-beacon \ + arduino-duemilanove \ + arduino-leonardo \ + arduino-mega2560 \ + arduino-nano \ + arduino-uno \ + atmega1284p \ + atmega328p \ + atmega328p-xplained-mini \ + atxmega-a3bu-xplained \ blackpill \ blackpill-128kib \ bluepill \ bluepill-128kib \ bluepill-stm32f030c8 \ calliope-mini \ + derfmega128 \ hifive1 \ hifive1b \ i-nucleo-lrwan1 \ im880b \ + mega-xplained \ microbit \ + microduino-corerf \ + msb-430 \ + msb-430h \ nrf51dongle \ nrf6310 \ nucleo-f030r8 \ @@ -34,6 +48,9 @@ BOARD_INSUFFICIENT_MEMORY := \ stm32f7508-dk \ stm32g0316-disco \ stm32l0538-disco \ - stm32mp157c-dk2 \ + telosb \ + waspmote-pro \ yunjia-nrf51822 \ + z1 \ + zigduino \ # diff --git a/pkg/lwip/include/arch/cc.h b/pkg/lwip/include/arch/cc.h index fc9eb7857d..950c0b8507 100644 --- a/pkg/lwip/include/arch/cc.h +++ b/pkg/lwip/include/arch/cc.h @@ -29,6 +29,7 @@ #include "mutex.h" #ifdef MODULE_LOG +#define LOG_LEVEL LOG_INFO #include "log.h" #endif diff --git a/pkg/paho-mqtt/Makefile.dep b/pkg/paho-mqtt/Makefile.dep index 0b8e325fc9..4dd2edbda0 100644 --- a/pkg/paho-mqtt/Makefile.dep +++ b/pkg/paho-mqtt/Makefile.dep @@ -1,7 +1,3 @@ -# PAHO does some comparisons against literals that make certain assumptions -# about the width of integer types which hold only true for 32 bit platforms -FEATURES_REQUIRED += arch_32bit - USEMODULE += ztimer USEMODULE += ztimer_msec USEMODULE += paho-mqtt-contrib diff --git a/pkg/paho-mqtt/patches/0002-MQTTPacket-removed-unused-function.patch b/pkg/paho-mqtt/patches/0002-MQTTPacket-removed-unused-function.patch new file mode 100644 index 0000000000..001f777d04 Binary files /dev/null and b/pkg/paho-mqtt/patches/0002-MQTTPacket-removed-unused-function.patch differ diff --git a/pkg/paho-mqtt/patches/0003-MQTTPacket-use-int32_t-instead-of-int-where-necessar.patch b/pkg/paho-mqtt/patches/0003-MQTTPacket-use-int32_t-instead-of-int-where-necessar.patch new file mode 100644 index 0000000000..cb0e5b037d Binary files /dev/null and b/pkg/paho-mqtt/patches/0003-MQTTPacket-use-int32_t-instead-of-int-where-necessar.patch differ diff --git a/pkg/paho-mqtt/patches/0004-MQTTPacket-fix-printf-formatters.patch b/pkg/paho-mqtt/patches/0004-MQTTPacket-fix-printf-formatters.patch new file mode 100644 index 0000000000..f596ec454c Binary files /dev/null and b/pkg/paho-mqtt/patches/0004-MQTTPacket-fix-printf-formatters.patch differ