Marian Buschsieweke
05d1ce6b58
cpu/stm32f1/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Marian Buschsieweke
09b45066ce
cpu/stm32f0/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Marian Buschsieweke
2247263a78
cpu/sam3/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Marian Buschsieweke
47cb59e6e5
cpu/sam0_common/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Marian Buschsieweke
186d2ccfa4
cpu/nrf52/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Marian Buschsieweke
a468af79a4
cpu/nrf51/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
c332501eb8
cpu/lm4f120/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
7387cd43d9
cpu/kinetis/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
55dc429d11
cpu/esp8266/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
746e4d2fba
cpu/esp32/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
80787d523e
cpu/efm32/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
c4a84f01c0
cpu/cc2538/periph: adc_sample() now returns int32_t
2020-01-10 14:13:14 +01:00
Marian Buschsieweke
3c7d95de02
cpu/atmega_common/periph: adc_sample() now returns int32_t
2020-01-10 14:13:13 +01:00
ce0bb35587
Merge pull request #12993 from fjmolinas/pr_cc2538_rtt
...
cpu/cc2538: add periph_rtt
2020-01-08 09:55:45 +01:00
Francisco Molina
1801f4f085
cpu/cc2538: add periph_rtt
2020-01-08 09:16:49 +01:00
4eba1427d2
cpu/fe310: uart_init(): drain RX fifo before enabling RX IRQ
2020-01-07 13:16:02 +01:00
e2f88abe63
cpu/fe310: periph_uart: only call rx_cb if set
2020-01-07 13:14:08 +01:00
benpicco
0d4d621f99
Merge pull request #13013 from Hoernchen20/stm32f1_rtc_stop_mode
...
cpu/stm32f1: improve rtc irq
2020-01-04 21:45:48 +01:00
Hoernchen20
3b966cc260
cpu/stm32f1: improve rtc irq
2020-01-04 19:59:14 +01:00
Francisco
f6f4469542
Merge pull request #11889 from miri64/tapsetup/enh/sudo
...
tapsetup: require to be executed with sudo
2020-01-04 10:43:06 +01:00
Martine S. Lenders
bacef29086
native: adapt doc on tapsetup for new sudo requirement
2020-01-03 21:00:54 +01:00
e45dc52c7b
Merge pull request #11422 from fjmolinas/pr_kinetis_w_flashpage
...
cpu/kinetis: add flashpage for W & K series
2020-01-03 14:18:29 +01:00
francisco
7d11e40eac
cpu/kinetis: add flashpage for W & K series
2020-01-03 09:57:24 +01:00
9ae1cc9d74
cpu/stm32: remove use of export for LINKFLAGS
2020-01-02 09:50:35 +01:00
98b5487802
cpu/sam_common: remove use of export for LINKFLAGS
2020-01-02 09:50:14 +01:00
1e8528d6e8
cpu/mips: remove use of export for LINKFLAGS
2020-01-02 09:48:46 +01:00
410dfbe7c7
cpu/armv7: remove use of export for LINKFLAGS
2020-01-02 09:48:02 +01:00
Dylan Laduranty
29664c1995
Merge pull request #13001 from dylad/pr/sam0_uart_hw_fc
...
sam0/uart: add hardware flow control support
2019-12-26 20:12:39 +01:00
benpicco
676d0d399c
Merge pull request #11982 from gschorcht/cpu/esp32/fix_cleanup_rtc
...
cpu/esp32: fixes, improvements and cleanups of periph_rtc
2019-12-26 19:32:08 +01:00
Gunar Schorcht
25d04c4742
cpu/esp32: fixes and cleanups of RTC timer
...
- Unecessary definitions are removed.
- Since the 48-bit RTC hardware timer uses a RC oscillator as clock, it is pretty inaccurate and leads to a RTC time deviation of up to 3 seconds per minute. Therefore, a calibration during the boot time determines a correction factor for the 48-bit RTC hardware timer. Function _rtc_time_to_us uses now this correction factor and converts a raw 48-bit RTC time to a corrected time in microseconds. Thus, the 48-bit RTC timer becomes much more accurate, but it can't still reach the accuracy of the PLL driven 64-bit system timer. The Advantage of using RTC over 64-bit sydtem timer is that it also continues in deep sleep mode and after software reset.
- If the 64-bit system timer is used to emulate the RTC timer, it uses the RTC hardware timer to continue its operation after software .
2019-12-26 18:13:10 +01:00
Gunar Schorcht
21b2c8d334
cpu/esp32: introduce pseudomodule esp_rtc_timer
...
It is possible to use different timers as RTC timer for the periph_rtc module. Either the 48-bit RTC hardware timer is used directly or the PLL driven 64-bit system timer emulates a RTC timer. The latter one is much more accurate. Pseudomodule esp_rtc_timer controlls which timer is used. Only if esp_rtc_timer is enabled explicitly, the 48-bit RTC hardware timer is used. Otherwise the 64-bit sytstem timer is used to emulate the RTC timer.
2019-12-25 09:47:52 +01:00
Gunar Schorcht
9cf103e055
cpu/esp32: fix rtc_init and displaying system time
...
The explicit call of rtc_init during the CPU start was removed because rtc_init is called within the function periph_init. The display of the system time at startup had to be placed after the call to periph_init.
2019-12-25 09:47:52 +01:00
Gunar Schorcht
9b3095fd6b
cpu/esp32: system_get_time_ms cleanup
...
There is an existing function that returns the system time in us as a 64 bit value. Converting this 64 value in us to a 32 bit value in ms is more easier and uses the complete 32 bit range. Using only the low part of the 64 bit system time in us and dividing it by 1e3 cuts the 32 bit range.
2019-12-24 14:35:37 +01:00
dylad
bd06772980
sam0/uart: add support for hardware flow control
2019-12-20 21:19:44 +01:00
e5c64c739a
cpu/fe310: rework uart driver implem/config
2019-12-20 15:22:09 +01:00
benpicco
6eac8df10f
Merge pull request #12986 from gschorcht/cpu/esp8266/esp_wifi/fix_send
...
cpu/esp8266: fix of esp_wifi_send function
2019-12-20 00:54:23 +01:00
Martine Lenders
501e700a3d
Merge pull request #12981 from miri64/native/feat/stdio
...
stdio_native: initial import
2019-12-19 15:14:15 +01:00
Gunar Schorcht
0194d7f44b
cpu/esp8266: fix of esp_wifi_send
...
In case of succes, the esp_wifi_send function returned a 0 instead of sent bytes.
2019-12-18 21:52:25 +01:00
Martine S. Lenders
0957b6301b
stdio_native: initial import
2019-12-18 14:15:40 +01:00
benpicco
b35ef08094
Merge pull request #12901 from benpicco/lpc2387-stacks
...
cpu/lpc2387: use the same default stack sizes as cortexm_common
2019-12-18 14:12:58 +01:00
benpicco
f7cb0a096e
Merge pull request #12899 from benpicco/lpc2387-micropython
...
cpu/lpc2387: align lpc2387.ld with cortexm_base.ld, provide thread_isr_stack_*() - enables MicroPython
2019-12-18 12:08:12 +01:00
benpicco
cfeb2a3843
Merge pull request #12949 from gschorcht/cpu/esp8266/enable_lwip
...
cpu/esp8266: enable lwIP for ESP8266
2019-12-17 13:39:35 +01:00
Benjamin Valentin
a90663c9e7
cpu/lpc2387: provide ISR_STACKSIZE & thread_isr_stack_start()
...
Those are needed by MicroPython
2019-12-17 13:37:32 +01:00
Gunar Schorcht
8021888c06
pkg/lwip: remove esp8266 from blacklist
2019-12-17 08:28:33 +01:00
Gunar Schorcht
dcb6673024
cpu/esp8266: platform dependent settings for lwIP
2019-12-17 08:28:33 +01:00
Francisco
927b03f0ff
Merge pull request #12902 from aabadie/pr/boards/hifive1b_arduino
...
boards/hifive1b: add arduino feature
2019-12-16 13:31:17 +01:00
benpicco
50f5060e90
Merge pull request #12948 from gschorcht/pkg/lwip/lwipopts_fix_cleanup
...
pkg/lwip: overiddable settings in lwipopts.h
2019-12-16 10:43:34 +01:00
benpicco
8c4498ad8e
Merge pull request #12950 from gschorcht/cpu/esp32/lwip_eth
...
pkg/lwip: add support for esp32 Ethernet device
2019-12-16 10:33:47 +01:00
Kevin "Tristate Tom" Weiss
b20aed5c17
Merge pull request #12929 from gschorcht/cpu/esp8266/fix_bootloaders_log
...
cpu/esp8266: fix bootloaders and log outputs in vendor code
2019-12-16 09:03:25 +01:00
Gunar Schorcht
aa3f1329bf
pkg/lwip: remove TCPIP_THREAD_PRIO for ESP32
...
This definition is platform dependent and should be therefore done with CFLAGS in ESP332's Makefile.
2019-12-15 23:50:45 +01:00