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

25431 Commits

Author SHA1 Message Date
Marian Buschsieweke
2d81738cb9
drivers/pulse_counter: Use C11 atomics & bugfix
- Previously the pulse counter used GCC's built-in functions for atomic memory
  access. This PR changes this to use C11 atomics instead:
    - Use of C11 atomics instead of atomic build-in functions makes the code
      more portable and readable.
- Previously pulse_counter_reset() did not use an atomic function, so that
  resets would be racy. (E.g. on the 8-bit AVR platform an 16-bit store is
  not atomic, unless special care (like using C11 atomics) is taken.)
2019-11-26 14:04:42 +01:00
743d7170e2
Merge pull request #12804 from wosym/nucleo-f207zg_ethernet
boards/nucleo-f207zg: add ethernet configuration
2019-11-26 12:44:19 +01:00
Wouter
3072900ed6 boards/nucleo-f207zg: add Ethernet config 2019-11-26 11:11:41 +01:00
dd0d5f7fcf
Merge pull request #12811 from miri64/dist/enh/ci-print-ccache
dist/tools/ci/print_toolchain_versions.sh: add ccache
2019-11-26 10:06:12 +01:00
Marian Buschsieweke
a3965cc189
Merge pull request #12809 from benpicco/lpc2387-dac
cpu/lpc2387: implement periph/dac
2019-11-26 09:53:24 +01:00
Martine S. Lenders
ccc10432be
dist/tools/ci/print_toolchain_versions.sh: add ccache 2019-11-26 09:28:28 +01:00
Benjamin Valentin
964725259a cpu/lpc2387: implement periph/dac
The 10 bit DAC on the lpc23xx is very simple.
It only has one channel and can only be mapped to a single pin (P0.26).

After setting the pin mode to DAC no further configuration in needed.
2019-11-26 01:49:45 +01:00
benpicco
af0c6e9319
Merge pull request #12772 from daexel/bme280_bugfix
drivers/bmx280: add temp_measurement to methods
2019-11-25 18:26:50 +01:00
Marian Buschsieweke
b12292603b
Merge pull request #12797 from maribu/tests_micro-ecc
tests/pkg_micro-ecc: Cleanup and AVR fixes
2019-11-25 17:57:27 +01:00
eb08dab78d
Merge pull request #12801 from jasdeepgill/patch-1
Minor readability fixes to CONTRIBUTING.md
2019-11-25 16:54:51 +01:00
ea716e69e0
Merge pull request #12806 from maribu/atmega-fix-reset
tools/avrdude: Fix `make reset` with bootloader
2019-11-25 16:44:52 +01:00
Marian Buschsieweke
0bb31590e6
tests/pkg_micro-ecc: Cleanup and AVR fixes
- Moved huge allocations from stack to data / bss
- Increased verbosity of messages (one line per round)
- Adapted test script to new output format
2019-11-25 16:36:23 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
benpicco
63e4d8ffa5
Merge pull request #12803 from gschorcht/cpu/esp32/fix_little_fs
cpu/esp32: fix to be able to use SPI flash drive with pkg_littlefs
2019-11-25 15:49:13 +01:00
benpicco
7f40b13d05
Merge pull request #12697 from maribu/stm32-programmer
boards: Common STM32 programmer/debugger/serial config
2019-11-25 15:27:22 +01:00
Marian Buschsieweke
f44dd00276
tools/avrdude: Fix make reset with bootloader
The generic approach of calling avrdude to perform a reset with `make reset`
does also work on board with a bootloader, but only if no other process is
also accessing the serial (e.g. via `make term`). `make test` first accesses
the serial and then performs `make reset` to not miss any output on the serial.
This however blocks when `make reset` also wants to access that serial.

As workaround, `make reset` is no only provided if the ATmega device is not
programmed via bootloader. Normally, those boards reset anyway upon `make term`,
which allows `make test` to work normally again.
2019-11-25 14:39:25 +01:00
Michel Gerlach
973d9fd54b driver/bme280: add dependencies on temperature for pressure and humidity 2019-11-25 13:13:24 +01:00
d0d6e53ff4
Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw
cpu/msp430_common: add flashpage_raw
2019-11-25 12:48:48 +01:00
Marian Buschsieweke
3264106a2f
Merge pull request #12704 from benpicco/AT86RFR2_smart_idle
drivers/at86rf2xx: enable Smart Reduced Power Consumption for AT86RFR2
2019-11-25 11:57:44 +01:00
Martine Lenders
95c6a785de
Merge pull request #12695 from leandrolanzieri/pr/dist/tools/add_kconfiglib
dist/tools: Add Kconfiglib
2019-11-25 11:51:02 +01:00
Marian Buschsieweke
20ce384f52
Merge pull request #12800 from benpicco/arm7-puf_sram
cpu/arm7_common: hook up puf_sram
2019-11-25 11:10:55 +01:00
José Alamos
568e551c9b
Merge pull request #12781 from leandrolanzieri/pr/coding_conventions_conditional_compilation
CODING_CONVENTIONS: Add reference to IS_ACTIVE and IS_USED macros
2019-11-25 10:07:06 +01:00
jasdeepgill
ad192d78ca
CONTRIBUTING.md: minor readability fixes
General fixes throughout documentation. Made sentence in bug reports section easier to understand.
2019-11-25 07:54:21 +01:00
Gunar Schorcht
4fe35efe2b cpu/esp32: mtd has to be in IRAM to work correctly 2019-11-25 07:24:17 +01:00
Gunar Schorcht
5f9e3b1a4b cpu/esp32: change order for spi_flash_drive_init
To see debug or error messages during SPI flash drive initialization, spi_flash_drive_init has to be called after stdio_init.
2019-11-25 07:23:47 +01:00
Benjamin Valentin
0da8c8f094 tests/puf_sram: add newline in printf
puts() will already print the newline itself, but for printf()
we'll have to include it manually.
2019-11-25 02:08:59 +01:00
Benjamin Valentin
8337ab111e cpu/arm7_common: hook up puf_sram
puf_sram only relies on an uninitialized chunk of memory.
This means to enable it we just have to hook up puf_sram_init().

All memory after __bss_end should be uninitialized at startup, so
just use that.
2019-11-25 02:04:34 +01:00
benpicco
ce1f383f90
Merge pull request #12606 from maribu/at86rf2xx-addr-endianess
drivers/at86rf2xx: Updated address API
2019-11-24 16:33:16 +01:00
Francisco Molina
1abeb21bce tests/mtd_flashpage: adapt test for msp430
- msp430 holds the ISR vector in the last page, avoid
  erasing that page during test.
2019-11-24 13:19:20 +01:00
Francisco Molina
0a68323570 tests/periph_flashpage: use before last page for msp430
- msp430 holds the isr vector on the last page so avoid erasing
  that page when testing.
2019-11-24 13:19:20 +01:00
fjmolinas
f0bbcef987 drivers/mtd_flashpage: add 16bit compatibility 2019-11-24 13:19:19 +01:00
fjmolinas
b9b01ac57e tests/periph_flashpage: adapt to 16 bits msp430 2019-11-24 13:19:19 +01:00
fjmolinas
5368415c9a cpu/msp430_common: add flashpage_raw support 2019-11-24 13:19:19 +01:00
Francisco Molina
291727c9e7 cpu/msp430_common: specify FLASHPAGE_SIZE/NUMOF type
- Since msp430 uses 16bit it is important that the variables
  are treated as unsigned and not int so FLASHPAGE_NUMOF*FLASHPAGE_SIZE
  doesn't overflow
2019-11-24 13:19:17 +01:00
Francisco Molina
22177258df msp430_common/include: fix FLASHPAGE definitions
- TI documentation for msp430f1xx is ambiguous regarding length
  of some memmory sectors. For some cpu's the acual size is 1/4 byte
  smaller than advertised and one of the sectors is actually 256b and
  not 512.
  ref: https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/798838/2962979#2962979
- Remove the first 256b sector from usage since there is not support for
  variable sized pages
- Fix msp430f2617 FLASHPAGE_NUMOFF to represent accesible memory
2019-11-24 13:18:54 +01:00
41e29e3fda
Merge pull request #12790 from maribu/atmega_isr_thread
cpu/atmega_common
2019-11-24 11:10:10 +01:00
Gunar Schorcht
eafa381a06
Merge pull request #12558 from kaspar030/fix_typos
fix typos
2019-11-24 04:59:07 +01:00
c87748f563 periph: fix periph/gpio_util.h header guards 2019-11-23 22:39:40 +01:00
46c3964ee8 sys/clif: use ARRAY_SIZE 2019-11-23 22:39:40 +01:00
eeca0e3752 drivers/include: fix typos 2019-11-23 22:39:40 +01:00
54b8e01ba3 drivers/opt3001: fix typos 2019-11-23 22:39:39 +01:00
c2f4d0bb7a drivers/feetech: fix typos 2019-11-23 22:39:39 +01:00
6d79a068b0 drivers/encx24j600: fix typos 2019-11-23 22:39:39 +01:00
7704eabfa6 drivers/dynamixel: fix typos 2019-11-23 22:39:39 +01:00
54831bbb6e drivers/bh1750fvi: fix typos 2019-11-23 22:39:39 +01:00
a62797e8ba drivers/adcxx1c: fix typos 2019-11-23 22:39:39 +01:00
5ebe48ce42 drivers/sht3x: fix typos 2019-11-23 22:39:39 +01:00
1d2dd2efdd drivers/sdcard_spi: fix typos 2019-11-23 22:39:39 +01:00
a25313e5b7 drivers/ph_oem: fix typos 2019-11-23 22:39:39 +01:00
04516d78c5 drivers/pcd8544: fix typos 2019-11-23 22:39:39 +01:00