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

26581 Commits

Author SHA1 Message Date
Benjamin Valentin
6dbbc8f33a cpu/lpc2387: rtc: remove _rtc_set()
Calling localtime() adds considerable overhead.
There are easier ways to set the date to 1970.

For tests/periph_rtc this results in this ROM change:

master:

   text    data     bss     dec     hex
  31328     240   98064  129632   1fa60

with this patch:

   text    data     bss     dec     hex
  20036     140   98168  118344   1ce48
2020-02-10 23:04:46 +01:00
b685b4d720
Merge pull request #13303 from chrysn-pull-requests/doc-libcose
pkg/libcose: Add to documentation
2020-02-10 20:36:21 +01:00
Martine Lenders
ebb20f2d44
Merge pull request #13305 from miri64/gnrc_ipv6_ext_frag_stats/feat/initial
gnrc_ipv6_ext_frag: initial import of statistics module
2020-02-10 20:23:13 +01:00
e27a0be577
Merge pull request #13328 from bergzand/pr/docs/display_group
drivers: Add display device doxygen group
2020-02-10 20:19:16 +01:00
benpicco
4f8114a09f
Merge pull request #12793 from benpicco/ws281x_vt100
drivers/ws281x: add VT100 backend for native
2020-02-10 18:23:07 +01:00
Francisco
e2dc125fb3
Merge pull request #13308 from maribu/atmega_state_cleanup
cpu/atmega_common: Cleanup state flags
2020-02-10 17:37:24 +01:00
chrysn
2c83308ec2 pkg/libcose: Add to documentation 2020-02-10 17:15:57 +01:00
benpicco
b44cf48a87
Merge pull request #13246 from benpicco/lpc23xx-spi
cpu/lpc2387: make SPI configurable
2020-02-10 17:01:41 +01:00
benpicco
0b04f61d3b
Merge pull request #12911 from benpicco/lpc2387-adc
cpu/lpc2387: implement periph/adc
2020-02-10 16:13:07 +01:00
benpicco
f997f42ade
Merge pull request #13304 from miri64/gnrc_sixlowpan_frag_stats/enh/count-avg-fragments
gnrc_sixlowpan_frag_stats: add average fragments per datagram statistic
2020-02-10 15:23:52 +01:00
Benjamin Valentin
11d77271cf drivers/ws281x: introduce WS281X_HAVE_INIT
This brings the backend-dependant init() function in line with
`WS281X_HAVE_PREPARE_TRANSMISSION` and `WS281X_HAVE_END_TRANSMISSION`.
2020-02-10 14:45:26 +01:00
Benjamin Valentin
720eff3416 tests/driver_ws281x: allow build on native
Also add an additional newline before each test title to improve
the rendering on native console output.
2020-02-10 14:45:26 +01:00
Benjamin Valentin
8352e4aae0 drivers/ws281x: add VT100 backend for native
To quickly iterate on animations it is handy to being able to simulate
the output on native.

This adds a VT100 terminal backend to the ws281x driver that outputs
the colors straight to the terminal.
2020-02-10 14:40:15 +01:00
6b2478953c
pcd8544: move to display devices doxygen group 2020-02-10 14:11:17 +01:00
7ade31ad5b
ili9341: move to display devices doxygen group 2020-02-10 14:11:05 +01:00
d070f2924d
hd44780: move to display devices doxygen group 2020-02-10 14:10:46 +01:00
965a0f9c9a
dsp0401: move to display devices doxygen group 2020-02-10 14:10:18 +01:00
8a481abc90
drivers: Add display devices doxygen group 2020-02-10 14:09:57 +01:00
2e32a11822
Merge pull request #13326 from aabadie/pr/doc/ili9341_cleanup
drivers/ili9341: cleanup doxygen documentation
2020-02-10 14:08:35 +01:00
Benjamin Valentin
d675eb7cbb boards/mcb2388: update SPI configuration 2020-02-10 13:41:00 +01:00
Benjamin Valentin
4342d81220 boards/mcb2388: add ADC configuration
The MCB2388 has a potentiometer connected to an ADC input.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
9c0dfaada9 boards/msba2: add ADC configuration
ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
13e578bc84 cpu/lpc2387: implement periph/adc
lpc23xx has a 10 bit ADC with up to 8 channels.

The ADC should be clocked at 4.5 MHz or less, so it uses
(72MHz CCLK / 8) / 2.
2020-02-10 13:25:26 +01:00
e573d8b57f
drivers/ili9341: cleanup doxygen documentation 2020-02-10 11:46:01 +01:00
1ad14f3c79 Merge pull request #13322 from francois-berder/cleanup-numof
boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
2020-02-10 11:38:51 +01:00
Francois Berder
b4ab22673e boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
Dylan Laduranty
b5bb846d3a
Merge pull request #13312 from benpicco/cpu/sam0-vendor_cleanup
cpu/sam0_common: use vendor provided MCU header dispatch
2020-02-07 20:33:45 +01:00
Gunar Schorcht
c585535640
Merge pull request #13291 from aabadie/pr/boards/makefile_dep
boards: move remaining uses of USEMODULE from Makefile.include to Makefile.dep
2020-02-07 16:16:02 +01:00
benpicco
16ab89bf28
Merge pull request #12728 from bergzand/pr/at86rf2xx/fix_recv_before_send
at86rf2xx: fix receive before send detection
2020-02-07 13:54:52 +01:00
Gunar Schorcht
3514eecf9d
Merge pull request #12474 from kaspar030/add_event_threads
sys: add shared event threads
2020-02-07 13:29:29 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
benpicco
5a4d39e2ee
Merge pull request #13288 from catcombo/fix-ds18-temperature-conversion
Fix ds18 temperature conversion
2020-02-07 13:09:22 +01:00
42d54600f7
at86rf2xx: fix receive before send detection
The at86rf2xx radio handled a transfer complete condition with the radio
in the BUSY_TX_ARET state as a finished transmission. This condition and
state also occurs when a reception occurs just before switching to
transmitting. This would cause a condition where first a TX_COMPLETE was
signalled and second a RX_COMPLETE was signalled. The network stack
would then read the transmitted frame as a received frame.

The patch fixes the errornous RX callback by only submitting the
TX_COMPLETE condition when there are at least 2 frames pending
(at86rf2xx::pending_tx).
2020-02-07 13:08:33 +01:00
benpicco
dfcf155aa6
Merge pull request #13311 from benpicco/cpu/samr21-asf
cpu/sam0_common: update samr21 vendor files to version 1.1.72
2020-02-07 13:06:11 +01:00
9a93805bee tests/event_threads: initial event threads test application 2020-02-07 12:17:56 +01:00
e01ad86eb3 sys/event: add shared event threads 2020-02-07 12:17:56 +01:00
Benjamin Valentin
b0078b1a98 cpu/sam0_common: update samr21 vendor files to version 1.1.72
This release adds EXTINT defines compatible with later versions of
the sam0 series of MCUs.
2020-02-07 12:14:45 +01:00
Cenk Gündoğan
7459adda79
Merge pull request #13292 from leandrolanzieri/pr/makefile_base/module_simple_exp
makefiles: Use simple expansion for widely used variables
2020-02-07 12:02:04 +01:00
Evgeniy Krysanov
234313a9f1 drivers/ds18: add arduino-nano to BOARD_WHITELIST in ds18 driver test 2020-02-07 12:55:43 +03:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
1e71606305 boards/esp32: enable 32 kHz XTAL for WROVER-KIT 2020-02-07 00:46:16 +01:00
Gunar Schorcht
4c0cfdcc8e cpu/esp32: allow external 32 kHz crystal for RTC 2020-02-07 00:46:16 +01:00
Peter Kietzmann
b339b1c134
Merge pull request #13254 from maksim-ka/pr-relic-branch
pkg/relic: use random module for seeding relic PRNG
2020-02-06 23:48:43 +01:00
maksim-ka
d3d181c5a8 pkg/relic: use random module for seeding relic PRNG 2020-02-06 21:11:39 +01:00
Benjamin Valentin
bd1953dd80 cpu/sam0_common: use vendor files to dispatch MCU headers
Instead of manually re-creating the files from ASF, just use
the vendor provided dispatch headers and ease the maintainance
burden.
2020-02-06 19:52:05 +01:00
Benjamin Valentin
fd793b8917 cpu/samd51: add common header file from ASF
Somehow I forgot to commit this.
2020-02-06 19:49:50 +01:00
benpicco
615739a961
Merge pull request #13302 from Einhornhool/cryptoauth-device-conf
tests/pkg_cryptoauthlib_internal_tests: add unsupported device handling
2020-02-06 18:33:35 +01:00
benpicco
24fb7a9aae
Merge pull request #12933 from maribu/atmega_pcint_cleanup
cpu/atmega_common/periph/gpio: Clean up PCINT support
2020-02-06 18:29:15 +01:00
Francisco
e1c711e8cb
Merge pull request #13078 from aabadie/pr/make/remove_useless_exports
make: remove useless exports of USEMODULE and USEMODULE_INCLUDES vars
2020-02-06 16:47:25 +01:00
Marian Buschsieweke
1879f58512
cpu/atmega_common: Cleanup state flags
- Use one byte of RAM to track both IRQ and UART TX state
- Fix incorrect use of volatile
2020-02-06 15:41:41 +01:00