mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18962: pkg/lwip: Force loglevel when using log module r=maribu a=yarrick 18999: Paho: Allow building for 8 and 16 bit platforms r=maribu a=OlegHahm ### Contribution description Providing a patch to Paho upstream which uses fixed size integers (int32_t) instead of plain int whenever it is used to represent a size of an object. This patch will allow to build the Paho package for platforms where an integer has a width of less than 32 bit. This patch is also provided as a PR to the upstream version of Paho (https://github.com/eclipse/paho.mqtt.embedded-c/pull/238) but unfortunately the upstream seems to be unmaintained. ### Testing procedure Build for a 8 or 16 bit platform that has enough memory for the example, e.g., https://api.riot-os.org/group__boards__atxmega-a1u-xpro.html: BUILD_IN_DOCKER=1 BOARD=atxmega-a1u-xpro make clean all Without this PR this build will fail, with the patches applied it will succeed. ### Issues/PRs references This PR makes #18997 obsolete and thus reverts the change. 19034: boards/nucleo-l496zg: doc improvement r=maribu a=krzysztof-cabaj ### Contribution description This PR adds to nucleo-l496zg documentation MCU table - similar to those, for example for, Nucleo F103RB, F302R8 or F446RE. ### Testing procedure ``` make doc xdg-open doc/doxygen/html/group__boards__nucleo-l496zg.html ``` ### Issues/PRs references None Co-authored-by: Erik Ekman <eekman@google.com> Co-authored-by: Oleg Hahm <oleg@hobbykeller.org> Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
This commit is contained in:
commit
de3241e90f
@ -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.
|
||||
|
@ -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 \
|
||||
#
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "mutex.h"
|
||||
|
||||
#ifdef MODULE_LOG
|
||||
#define LOG_LEVEL LOG_INFO
|
||||
#include "log.h"
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user