1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

21980 Commits

Author SHA1 Message Date
Gunar Schorcht
a3c314f0cd boards/esp32*: print config for enabled modules 2019-05-01 09:40:17 +02:00
Gunar Schorcht
4fa1d6bf2c cpu/esp32: dac_* moved to separate DAC submodule 2019-05-01 09:40:17 +02:00
Gunar Schorcht
5f79744aa4 cpu/esp32: rtcio_* moved to new submodule adc_ctrl 2019-05-01 09:40:17 +02:00
Gunar Schorcht
6a652513c1 cpu/esp32: new module for ADC controller functions
Functions that are used by ADC and DAC peripherals are moved to a new submodule periph_adc_ctrl. This is necessary to compile separate submodules for ADC and DAC.
2019-05-01 09:40:17 +02:00
Gunar Schorcht
3bad3e6199 cpu/esp32: use periph.mk in perpih Makefile
Includes now $(RIOTMAKE)/periph.mk instead of $(RIOTBASE)/Makefile.include to control compilation of periph submodules.
2019-04-04 00:48:33 +02:00
Martine Lenders
05d0c6c5b7
Merge pull request #11187 from gschorcht/cpu/esp_common/esp_now/iol_len
cpu/esp_common: esp_now doesn't call memcpy if iol_len is 0
2019-04-02 19:08:23 +02:00
Martine Lenders
af65d2da59
Merge pull request #11184 from gschorcht/cpu/esp32/esp_wifi/iol_len
cpu/esp32: esp_wifi doesn't call memcpy if iol_len is 0
2019-04-02 19:08:15 +02:00
Martine Lenders
2d906de873
Merge pull request #11186 from gschorcht/cpu/esp32/esp_eth/iol_len
cpu/esp32: esp_eth doesn't call memcpy if iol_len is 0
2019-04-02 17:51:26 +02:00
Martine Lenders
a1e2dc0810
Merge pull request #11332 from kYc0o/pr/xbee/prevent_0_len_uart
drivers/xbee: prevent 0 length packet sent to UART
2019-04-02 17:33:29 +02:00
kYc0o
f673d5af1e drivers/xbee: prevent 0 length packet sent to UART
Since the API doc doesn't specify what to do with 0
len writings into UART, we cannot assume that is
safe to do it, so this commit prevents it by checking
the length prior to the `uart_write()` operation.
2019-04-02 16:47:13 +02:00
Martine Lenders
4e464bdbc6
Merge pull request #11331 from kYc0o/pr/cc2420/fix_0_len_pkt
drivers/cc2420: don't append to FIFO if iol->iol_len == 0
2019-04-02 16:29:24 +02:00
kYc0o
c6b424f4ff drivers/cc2420: don't append to FIFO if iol->iol_len == 0
This prevents SPI transfers with len == 0, which triggers
an assert failure.
2019-04-02 16:00:03 +02:00
Dylan Laduranty
d6cad3c331
Merge pull request #11327 from kaspar030/random_add_missing_include
sys/random: add missing includes
2019-04-01 20:25:34 +02:00
1d2a9914b4
Merge pull request #11326 from OTAkeys/pr/fix_stm32_rtc_month
cpu/stm32_common: fix month encoding in RTC driver
2019-04-01 18:28:44 +02:00
200ce49638
Merge pull request #11325 from maribu/encx24j600
drivers/encx24j600: Allow empty iolist elements
2019-04-01 17:10:16 +02:00
MichelRottleuthner
d77b8e1f52
Merge pull request #11321 from bergzand/pr/mrf24j40/fix_empty_element
drivers/mrf24j40: don't load data if iol->iol_len == 0
2019-04-01 17:09:15 +02:00
637bbdd985 sys/random: add missing includes 2019-04-01 17:05:44 +02:00
Marian Buschsieweke
99db8e8717
drivers/encx24j600: Allow empty iolist elements
This commits allows using netdev_driver_t::send() to be called with one or more
empty iolist elements. This fixes issue
https://github.com/RIOT-OS/RIOT/issues/11163
2019-04-01 16:51:39 +02:00
Vincent Dupont
38b9ed1cac cpu/stm32_common: fix month encoding in RTC driver 2019-04-01 16:50:56 +02:00
1804730c0e
mrf24j40: don't load data if iol->iol_len == 0 2019-04-01 11:46:42 +02:00
Martine Lenders
299a1903e6
Merge pull request #11215 from jia200x/pr/sx127x_fix
sx127x: ignore empty iolist element
2019-04-01 11:37:37 +02:00
Martine Lenders
85276fb7a0
Merge pull request #11214 from maribu/enc28j60
drivers/enc28j60: Allow sending with empty chunks
2019-03-30 18:08:01 +01:00
Gunar Schorcht
9cc39133e4 cpu/esp_common: check iol_base in esp_now before using it 2019-03-30 15:10:34 +01:00
Sebastian Meiling
e9072b1e28
Merge pull request #10981 from gschorcht/cpu/esp8266/rodata_IROM/pr
cpu/esp8266: most .rodata sections are moved from DRAM to IROM (flash)
2019-03-29 20:18:06 +01:00
Martine Lenders
fe25330564
Merge pull request #11308 from miri64/netopt/enh/deprecate-IPV6_IID_release
netopt: specify drop of device driver support for IPV6_IID
2019-03-29 13:19:08 +01:00
Martine Lenders
d06c3fdcbb netopt: specify drop of device driver support for IPV6_IID
This is not used anymore within the RIOT code-base so it is time to plan
the removal of the driver support. The deprecation was already put up
for the 2019.01 release, so I think removing it for the 2019.07 release
seems reasonable.
2019-03-29 12:45:30 +01:00
José Alamos
b5aaa6186f
Merge pull request #10599 from miri64/pkg/cleanup/openthread-rm-NETOPT_IPV6_IID
openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID
2019-03-29 12:33:21 +01:00
Vincent Dupont
5e6205724d
Merge pull request #11304 from aabadie/pr/stm32_common/rtc_improve
stm32 common/rtc: reset the rtc when clock source has changed
2019-03-29 11:53:44 +01:00
d021d971fb
boards/nucleo-l073rz: enable LSE clock 2019-03-29 11:37:22 +01:00
330f97f15f
boards/b-l072z-lrwan1: enable LSE clock 2019-03-29 11:36:07 +01:00
9efd3c3660
stm32_common/rtc: reset RTC when clock source changed 2019-03-29 11:36:07 +01:00
Vincent Dupont
242c0cc7aa
Merge pull request #11266 from aabadie/pr/boards/b-l072z-lrwan1_rtt
boards/b-l072z-lrwan1: provide periph_rtt feature
2019-03-29 11:30:23 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
fafc26819a
Merge pull request #10942 from OTAkeys/fix/stm32_uart_dma
cpu/stm32_common: fix DMA releasing in UART driver
2019-03-29 10:06:31 +01:00
Sebastian Meiling
4242a026e9
Merge pull request #11197 from miri64/tests/fix/pktbuf-unittests-malloc
tests/unittests: exclude ENOMEM tests for gnrc_pktbuf_malloc
2019-03-29 10:03:11 +01:00
34ee41ee14
boards/b-l072z-lrwan1: provide and configure rtt peripheral 2019-03-29 09:33:09 +01:00
01b11ab86e
Merge pull request #11297 from OTAkeys/pr/stm32_rtt_reg_fix
cpu/stm32_common: fix rtt registers access
2019-03-29 09:32:04 +01:00
Kevin "Bear Puncher" Weiss
2d7c72db7f
Merge pull request #11231 from gschorcht/cpu/esp32/periph/uart_mode
cpu/esp32: add the new API function uart_mode to periph/uart
2019-03-28 19:29:38 +01:00
Martine Lenders
7220ed2b9c
Merge pull request #10908 from miri64/tests/new/i10881
tests: add tests to reproduce #10881
2019-03-28 19:20:09 +01:00
Martine Lenders
3b95ac0eb1 tests: add tests to reproduce #10881 2019-03-28 18:40:56 +01:00
Leandro Lanzieri
ef2b33c3d5
Merge pull request #11277 from obgm/tinydtls
pkg/tinydtls: Update repository URL to new location, fix posix_sockets
2019-03-28 17:17:46 +01:00
Gunar Schorcht
217ccbe1c4 cpu/esp32: add new uart_mode API function
The internal _uart_set_mode function is exposed if module periph_uart_modecfg is enabled.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
ec013f74a7 cpu/esp32: add internal _uart_set_mode function
Configuration of UART mode is realized by an internal function which is also used by UART initialization function.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
b9a8b98a9b cpu/esp32: add config member values for uart_mode
Set default values for additional data members of UART device configuration data structure that are needed by uart_mode API function.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
6132c08a90 cpu/esp32: add config members for uart_mode
Add data members to the UART device configuration data structure that are needed by uart_mode API function.
2019-03-28 16:36:04 +01:00
Martine Lenders
b381c0b24d
Merge pull request #11303 from cladmi/pr/jlink/failonerror
jlink.sh: Exit with an error on failure for JLinkExe commands
2019-03-28 14:48:51 +01:00
Kevin "Bear Puncher" Weiss
15c2a48fdf
Merge pull request #10839 from dylad/pr/sam0/remove_gclk_slow
cpu/sam0_common: remove unneeded GCLK_SLOW setup in i2c driver
2019-03-28 14:31:16 +01:00
Kevin "Bear Puncher" Weiss
831955c742
Merge pull request #11269 from cladmi/pr/makefiles/tests/refactoring/test/available
Makefile.include: add a 'test/available' target
2019-03-28 12:08:02 +01:00
Gaëtan Harter
29ada72a9e
Merge pull request #11254 from cladmi/pr/make/openocd/flashfile
makefiles/openocd.inc.mk: use FLASHFILE
2019-03-28 11:56:59 +01:00
Gaëtan Harter
a354b10964
jlink.sh: Exit with an error on failure for JLinkExe commands
On error Jlink exits with a no error code by default.

From the JLink User Guide:

'-ExitOnError' has the same meaning as the 'exitonerror' command

    'exitonerror' command
    This command toggles whether J-Link Commander exits on error or not.

    1: J-Link Commander will now exit on Error.
    0: J-Link Commander will no longer exit on Error.

Executing 'flash/reset' without a board connected now correctly returns an
error. For 'term' it does not show an error due to the way it is handled
internally.

It also returns an error when the board fails to do an operation when it
is in a state where it cannot be flashed for example.
2019-03-28 11:26:24 +01:00