cladmi
8f68e69da3
cpu/esp8266: remove duplicate 'CPU' variable
2018-09-27 17:42:53 +02:00
Hauke Petersen
272ae30d26
Merge pull request #10005 from haukepetersen/fix_gpioirq_nrf
...
cpu/nrf5x/gpio: use periph_gpio_irq feature
2018-09-26 17:58:59 +02:00
Hauke Petersen
45f2a59e13
Merge pull request #9994 from haukepetersen/fix_gpioirq_cc2538
...
cpu/cc2538/gpio: use gpio_irq feature
2018-09-26 17:05:48 +02:00
Martine Lenders
f53c4c076a
Merge pull request #10043 from PeterKietzmann/pr_msp430_inc_ipstack
...
cpu/msp430: increase default stacksize for gnrc_ipv6 thread
2018-09-26 13:13:02 +02:00
Joakim Nohlgård
7a857a939c
Merge pull request #9807 from gebart/pr/kinetis-adc-average
...
kinetis: ADC: Add hardware averaging configuration
2018-09-26 12:54:29 +02:00
PeterKietzmann
df58b7293b
cpu/msp430: increase default stacksize for gnrc_ipv6 thread
2018-09-26 11:06:05 +02:00
Hauke Petersen
e71281943a
cpu/kinetis/gpio: use gpio_irq feature
2018-09-26 09:53:30 +02:00
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Hauke Petersen
2267499873
cpu/nrf5x/gpio: use periph_gpio_irq feature
2018-09-21 09:19:08 +02:00
Hauke Petersen
6afd0efdd8
cpu/sam0_common/gpio: use gpio_irq feature
2018-09-21 08:19:31 +02:00
Hauke Petersen
36d88c2c40
cpu/cc2538/gpio: use gpio_irq feature
2018-09-21 08:16:37 +02:00
Hauke Petersen
c7e6d15990
Merge pull request #9976 from haukepetersen/fix_native_gpioirqfeatureremove
...
native: remove feature `periph_gpio_irq`
2018-09-20 15:18:21 +02:00
Hauke Petersen
a965532d07
cpu/native/gpio: remove empty gpio irq func stubs
2018-09-20 14:51:19 +02:00
Hauke Petersen
da899dafbf
cpu/mips_pic32/gpio: remove gpio_init_int stub
2018-09-20 14:50:32 +02:00
1022050dc7
Merge pull request #9923 from cladmi/pr/cleanup/duplicate_includes
...
boards/cpu: cleanup duplicate includes
2018-09-19 16:08:37 +02:00
Francisco Acosta
3721f193d0
Merge pull request #9816 from leandrolanzieri/lobaro_port
...
boards/lobaro-lorabox: Add support for Lobaro LoraBox board
2018-09-18 19:35:59 +02:00
Leandro Lanzieri
bd1b309c39
cpu/stm32l1: Add support for stm32l151cb CPU
2018-09-18 18:05:34 +02:00
Bas Stottelaar
fbb490a2e0
cpu: efm32: add support for no DC-DC converter
2018-09-17 19:31:22 +02:00
Joakim Nohlgård
dd2fad6b9b
kinetis: ADC: Add hardware averaging configuration
...
This allows a board configuration to select which kind of averaging
should be applied to the pin instead of always using 32 sample average.
Very high impedance sources may need to disable hardware averaging in
order to give correct values, the on-chip temperature sensor is one such
signal source.
2018-09-12 16:32:48 +02:00
cladmi
28d3ba64d4
cpu/cc430: remove duplicate include
...
Includes of $(CPU)/include is already included in the main Makefile.include
in the line before including this file.
2018-09-11 16:32:34 +02:00
Peter Kietzmann
25868d1e04
Merge pull request #9885 from dylad/sam0_fix_spi_mode
...
sam0/spi: fix SPI mode assignment
2018-09-10 08:42:30 +02:00
smlng
da8cee0cb9
cpu/mips32r2_generic: fix PERIPH_TIMER_PROVIDES_SET
...
Do not set PERIPH_TIMER_PROVIDES_SET to 1, this is not required and
inconsistent with its usage in other CPUs.
2018-09-07 22:15:51 +02:00
smlng
740eafe93b
cpu/fe310: add missing PERIPH_TIMER_PROVIDES_SET
2018-09-07 22:15:13 +02:00
smlng
9468feeaaf
cpu/esp8266: add missing PERIPH_TIMER_PROVIDES_SET
2018-09-07 22:14:32 +02:00
Andreas "Paul" Pauli
dc6eb82406
Merge pull request #9722 from smlng/pr/cc2538/adc
...
cpu/cc2538: enhance periph ADC
2018-09-06 14:12:03 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
...
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
9720d9c51c
cpu/atmega_common: Allow specifying a reserved space in ROM
...
It is defined using the `ROM_RESERVED` variable.
This should allow supporting arduino bootloader that is stored at the
end of the ROM.
2018-09-05 12:20:36 +02:00
cladmi
493cad03da
atmega_common: make rom and ram length definition mandatory
...
Now all atmega cpu define them so use them by default.
2018-09-05 12:20:33 +02:00
cladmi
e4635004f7
cpu/atmega1284p: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega1284p
TODO: update "board not enough memory".
2018-09-05 12:20:31 +02:00
cladmi
2ff7137733
cpu/atmega256rfr2: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega256rfr2
TODO: update "board not enough memory".
2018-09-05 12:20:28 +02:00
cladmi
c6a45e4082
cpu/atmega328p: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega328p
TODO: update "board not enough memory".
2018-09-05 12:20:26 +02:00
cladmi
ef20b035bd
cpu/atmega1281: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega1281
TODO: update "board not enough memory".
2018-09-05 12:20:23 +02:00
cladmi
b22832b4cd
cpu/atmega2560: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega2560
TODO: update "board not enough memory".
2018-09-05 12:20:20 +02:00
cladmi
098770aeda
atmega_common: use binutils 2.26 ldscript for older versions
...
This allows configuring __TEXT_REGION_LENGTH__ and __DATA_REGION_LENGTH__
for previous versions (ubuntu xenial for example).
2018-09-05 12:20:17 +02:00
Gaëtan Harter
56a1ac4f2b
cpu/atmega: add avr-binutils 2.26 linkerscripts
...
Generated by extracting the output of
avr-gcc -Wl,--verbose --mmcu=$(CPU)
With avr-binutils 2.26
2018-09-05 12:08:33 +02:00
cladmi
6e148bcf1b
atmega_common: allow defining rom and ram length for link.
...
Allow configuring __TEXT_REGION_LENGTH__ and __DATA_REGION_LENGTH__ linkerscript
variables using ROM_LEN and RAM_LEN makefile variables.
2018-09-05 12:08:31 +02:00
Schorcht
e4ca897661
cpu: add esp8266
2018-09-05 02:39:50 +02:00
Schorcht
e528fb8e2d
cpu: add esp8266 vendor files
2018-09-05 02:39:50 +02:00
dylad
4e6d3d1f92
sam0/spi: fix SPI mode assignment
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-09-04 13:58:51 +02:00
Dylan Laduranty
8871e5aaa6
Merge pull request #9876 from fedepell/sercomid-9875
...
sam0_common: fix sercom_id return value for SERCOM5 (#9875 )
2018-09-04 09:10:06 +02:00
ZetaR60
db7734261c
Merge pull request #9823 from fesselk/patch-1
...
atmega_common/gpio_init: fix pull-up settings for GPIO_IN_PU
2018-09-03 20:30:53 -04:00
Federico Pellegrin
d3cd2b71c0
sam0_common: fix sercom_id return value for SERCOM5 ( #9875 )
2018-09-03 18:57:18 +02:00
smlng
214ddc4fc4
cpu/cc2538: adapt and cleanup periph/hwrng
...
Some minor adaptions due to cleanup in periph/adc and usage of
vendor header files.
2018-09-03 09:01:42 +02:00
smlng
d40cfab95a
cpu/cc2538: enhance periph ADC
...
Adapt the periph ADC implementation to use vendor defines where
ever possible. Remove duplicate or obsolete defines and adapt
board configuration as required.
2018-09-03 09:01:42 +02:00
Federico Pellegrin
bfdafe877e
sam0_common: correct sercom_set_gen for sercom5. it assumes SERCOM5 GEN clock is in sequence, but is not, need to put a specific if test
2018-09-02 13:39:08 +02:00
Joakim Nohlgård
efc5f2a95c
msp430fxyz: Disable GPIO ISRs when periph_gpio_irq is not selected
2018-08-29 08:53:20 +02:00
Joakim Nohlgård
8996cbe313
make: Introduce new feature flag periph_gpio_irq
2018-08-29 08:53:20 +02:00
Pekka Nikander
6aa0a48558
cpu/cortexm_common/cortexm_init: Allow piecewise calling
...
Refactor cortexm_init to allow bits and pieces of
it to be called separately, while retaining the
current API, too. Needed for non-standard
Cortex-M initialisation, such as with nRF52
SoftDevice.
2018-08-28 14:07:50 +03:00
Karl Fessel
d9aac6a7d4
atmega_common/gpio_init: fix pull-up settings for GPIO_IN_PU
...
This Patch makes gpio_init precalculate the pin mask once,
This Patch makes gpio_init of atmega_common configure the pin as an input and configure the pullup in the case of GPIO_IN_PU.
GPIO_IN_PU and GPIO_IN need to change pullup so they need to change output (this is coverd by the not touching outputs is not guaranteed statement)
(this is a special case for atmega the pull_up is configured by writing 1 to the port_register which is also the level of the output if the pin is configured to output).
This fix makes it more compliant to comments in periph/gpio.h
2018-08-27 20:34:10 +02:00
c0fdce22b3
netdev_tap: declare netdev_driver struct as const
2018-08-23 17:31:45 +02:00