Hauke Petersen
080638ab37
cpu/sam3: removed system_sam3xa.h header
2016-03-01 15:56:59 +01:00
Hauke Petersen
6ae8c42880
cpu/sam3: added clock initialization code
2016-03-01 15:43:01 +01:00
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc
Merge pull request #4910 from kaspar030/core_header_cleanup
...
core: header cleanup
2016-02-29 22:48:35 +01:00
lakshbhatia
6fd83a2f5e
STM32L1 RTC driver
2016-02-29 21:43:03 +01:00
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
Hauke Petersen
34f9deecb7
cpu/kinetis_common: reworked GPIO driver
2016-02-29 11:08:45 +01:00
9b7ebb9f30
cpu: msp430-common: fix unistd.h
2016-02-28 22:46:28 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Joakim Nohlgård
5df3357818
Merge pull request #4916 from gebart/pr/unsigned-enum-compare
...
cpu: Cast enum to unsigned int before comparing against DEV_NUMOF
2016-02-28 06:59:59 +01:00
Joakim Nohlgård
f0584f8ee0
cpu/saml21: spi: Cast enum to unsigned int for comparison
2016-02-28 00:09:29 +01:00
Joakim Nohlgård
3ff4a334b1
cpu/samd21: Cast enum to unsigned int for comparison
2016-02-28 00:09:03 +01:00
Joakim Nohlgård
af64264346
cpu/samd21: uart: Remove unnecessary check unsigned < 0
2016-02-28 00:08:59 +01:00
Joakim Nohlgård
0f0a22b652
cpu/sam3: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:30 +01:00
Joakim Nohlgård
e01e6892ff
cpu/stm32l1: i2c: Fix array out of bounds before check and Clang input check warnings
2016-02-28 00:08:26 +01:00
Joakim Nohlgård
8bf9230d15
cpu/stm32l1: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:18 +01:00
Joakim Nohlgård
c61c1207df
cpu/stm32f4: Cast enum to unsigned int for comparison
2016-02-28 00:08:12 +01:00
Joakim Nohlgård
e4629eb0bb
cpu/stm32f3: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:06 +01:00
Joakim Nohlgård
19cee2d757
cpu/stm32f1: spi: Cast enum to unsigned int for comparison
2016-02-28 00:08:00 +01:00
Joakim Nohlgård
81feb558ef
cpu/stm32f0: spi: Cast enum to unsigned int for comparison
2016-02-28 00:06:43 +01:00
Joakim Nohlgård
698b2841d1
cpu/nrf51: spi: Fix input check warnings
...
- Cast enum to unsigned int for comparison
- Remove redundant checks
- Add default case for missing devices
2016-02-28 00:05:49 +01:00
Joakim Nohlgård
412da2046d
cpu/lpc11u34: Cast enum to unsigned int for comparison
2016-02-28 00:05:10 +01:00
Joakim Nohlgård
ade9941ab6
cpu/stm32f0: adc: Add default error cases
2016-02-27 23:52:33 +01:00
Hauke Petersen
af5ba0b5da
cpu/sam3: reworked timer driver
2016-02-26 17:49:48 +01:00
Hauke Petersen
6b9088aa11
cpu/sam3: changed timer vendor header
...
- made channel cc registers accessible as array
2016-02-26 17:49:47 +01:00
Ian Martin
04bd6e5f7c
cpu/cc2538: avoid using bitfields with the LCRH register
...
Otherwise the UART ignores the new baudrate divisor.
2016-02-26 11:42:32 -05:00
Ian Martin
ce71e53d74
make: set OBJDUMP = $(PREFIX)objdump for gnu targets.
2016-02-23 17:55:58 -05:00
Marc Poulhiès
8f0a9ddf6f
cpu/lm4f120: GPIO support
2016-02-23 15:12:53 +01:00
Martine Lenders
0018bd902b
Merge pull request #4648 from authmillenon/netdev2/api/packet-info
...
netdev2: provide capability to pass up packet status information
2016-02-22 19:30:18 +01:00
Martine Lenders
8db42427cb
native/drivers/sys: adapt ethernet netdev2 for info struct
2016-02-22 12:37:26 +01:00
Oleg Hahm
0ffed1d100
Merge pull request #4868 from steffen-p/stm32f3_periph_uart_deadlock_on_overrun
...
stm32f3: periph: uart: add misssing uart overrun handling
2016-02-22 12:26:01 +01:00
60122cca82
cpu: native: netdev2_tap: don't pass isr_arg on rx complete event
2016-02-21 21:55:33 +01:00
Steffen Pengel
35635e4039
stm32f3: periph: uart: add misssing uart overrun handling
...
On overrung the ORE bit in the ORECF register is set.
An overrun error occurs when a character is received when RXNE has not been reset. Data
can not be transferred from the shift register to the RDR register until the RXNE bit is
cleared. The ORE bit is reset by setting the ORECF bit in the ICR register.
In case the ORE bit isn't cleared, the isr_handler() routine is called
continuously. Which prevents the system from normal scheduling.
2016-02-21 20:30:29 +01:00
Hauke Petersen
bc1013b54e
cpu/samd21: allowed third PWM channel per device
2016-02-21 16:49:45 +01:00
Hauke Petersen
c82dda9b74
Merge pull request #4815 from DipSwitch/pr/fix_stm32_exti_isr
...
STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with there IRQ enabled
2016-02-21 14:11:36 +01:00
DipSwitch
df996044e2
STM32 GPIO: Fix exti_isr handling to only call callbacks of lines with have there interrupt enabled
2016-02-21 09:43:42 +01:00
Martine Lenders
eb4d9859a3
netdev2_tap: fix strange event_callback argument
2016-02-20 15:55:35 +01:00
Joakim Nohlgård
e2f7ac78f0
Merge pull request #4040 from gebart/pr/periph-timer-init-freq
...
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Joakim Nohlgård
9db8d671ab
Merge pull request #4757 from haukepetersen/opt_periph_random
...
drivers/periph: renamed random and more
2016-02-14 17:56:57 +01:00
DipSwitch
e5012dce03
Merge pull request #4698 from haukepetersen/opt_f0_gpio
...
cpu/stm32f0: fixes + gpio_init_analog() added
2016-02-14 16:26:17 +01:00
Hauke Petersen
0c375e2bae
cpu/stm32f4: adapted HWRNG implementation
2016-02-14 12:59:47 +01:00
Hauke Petersen
79cf50db03
cpu/sam3: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Hauke Petersen
6f0179ce69
cpu/kinetis_common: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Hauke Petersen
1b58b187a9
cpu/nrf52: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Hauke Petersen
7b9a5ae889
cpu/nrf51: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Hauke Petersen
c9e9fcf662
cpu/native: adapted HWRNG implementation
2016-02-14 12:59:46 +01:00
Hauke Petersen
216a4cb432
cpu/cc2538: adapted HWRNG implementation
2016-02-14 12:58:30 +01:00
Joakim Nohlgård
d1a57d040a
Merge pull request #4638 from gebart/pr/periph-pwm-api-change
...
drivers: Optimized periph PWM interfaces
2016-02-14 08:54:47 +01:00
Joakim Nohlgård
f76ecd1491
cpu/nrf52: Update to match timer_init API change
2016-02-13 21:33:52 +01:00
Joakim Nohlgård
8ef0b1555c
cpu/ezr32wg: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
68ddb1a7a9
cpu/stm32l1: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
3e0d6f167f
cpu/stm32f4: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
5ab848548b
cpu/stm32f3: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
e43f503cb6
cpu/stm32f1: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
e427caaf01
cpu/stm32f0: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
3d8c8b295d
cpu/saml21: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
4aa21ff5c1
cpu/samd21: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
880d0d5879
cpu/sam3: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
9ac6176745
cpu/nrf51: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
67321ce9bc
cpu/msp430fxyz: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
1b0e0c62ac
cpu/lpc2387: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
8d4fd5a814
cpu/lpc1768: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
cf90cf32c0
cpu/lpc11u34: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
4a873d4061
cpu/lm4f120: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
77fbe188e7
cpu/cc430: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
943c106461
cpu/cc2538: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
d24cdd7cde
cpu/native: Update timer_init to match API changes
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
d2b06d1923
cpu/kinetis_common: Update timer_init to match API change
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
819d619bad
cpu/atmega2560: Update timer_init to match API change
2016-02-13 21:29:36 +01:00
Hauke Petersen
cfac198fc8
cpu/stm32f0: added gpio_init_analog()
2016-02-13 13:06:58 +01:00
Hauke Petersen
b97afdc1b1
cpu/stm32f0: some minor fixes to GPIO driver
...
- fixed indention on some places
- s/gpio_config/isr_ctx/
- use BRR reg for clearing pin
2016-02-13 13:02:32 +01:00
Hauke Petersen
a64a4df72e
Merge pull request #3881 from MohmadAyman/master
...
stm32f0-gpio-update
2016-02-12 20:54:48 +01:00
Hauke Petersen
fecf74970e
cpu/kinetis_common: adapted to PWM interface changes
2016-02-12 16:10:01 +01:00
Hauke Petersen
85f85a3760
cpu/stm32f4: adapted to PWM interface changes
2016-02-12 16:10:01 +01:00
Hauke Petersen
cf7299c09e
cpu/stm32f3: adapted to PWM interface changes
2016-02-12 16:09:58 +01:00
Hauke Petersen
41cbc35b73
cpu/samd21: adapted to PWM interface changes
2016-02-12 16:09:58 +01:00
Hauke Petersen
ba8cda7894
cpu/sam3: adapted to PWM interface changes
2016-02-12 16:09:58 +01:00
Hauke Petersen
b41f915d86
cpu/lpc2387: adapted to PWM interface changes
2016-02-12 16:09:56 +01:00
Hauke Petersen
b96cb04df2
cpu/lpc11u34: adapted to PWM interface changes
2016-02-12 16:09:53 +01:00
Hauke Petersen
9fcb031e21
Merge pull request #4797 from gebart/pr/nrf51-fix-random-travis-failures
...
make: Use unique module name for cpu_common periph
2016-02-12 11:06:42 +01:00
Joakim Nohlgård
d414f30b22
Merge pull request #4791 from gebart/pr/small-cleanups
...
misc: small cleanups
2016-02-12 09:14:06 +01:00
Joakim Nohlgård
95ef11bbc1
cpu/stm32_common: Use a different module name to prevent linker races in Travis
2016-02-12 08:46:00 +01:00
Joakim Nohlgård
2e37ac0802
cpu/sam21_common: Use a different module name to prevent linker races in Travis
2016-02-12 08:45:58 +01:00
Joakim Nohlgård
3db00667b7
cpu/kinetis_common: Use a different module name to prevent linker races in Travis
2016-02-12 08:45:56 +01:00
Joakim Nohlgård
1f9f6d8548
cpu/nrf5x_common: Use a different module name to prevent linker races in Travis
2016-02-12 08:45:53 +01:00
MohmadAyman
f881874bbb
cpu/stm32f0: optimized GPIO driver implementation
2016-02-12 07:01:20 +02:00
MohmadAyman
1ecb19c7ae
stm32f0 vendor headers updated
2016-02-12 07:00:07 +02:00
Joakim Nohlgård
068a4e4195
cpu/lm4f120: Remove unused static lookup table
2016-02-11 15:14:07 +01:00
Joakim Nohlgård
04c37094a0
make: Homogenize CFLAGS settings across cortexm_common, avr, msp430_common
2016-02-11 12:45:44 +01:00
Joakim Nohlgård
00f875b0de
make: Fix typo CFLAGS_DEBUG->CFLAGS_DBG
2016-02-11 12:42:43 +01:00
Joakim Nohlgård
d1128cabab
boards/msp430_common: Use code style CFLAGS from Makefile.cflags
2016-02-11 12:39:02 +01:00
Joakim Nohlgård
862b07fda2
boards/cortexm_common: Use code style CFLAGS from Makefile.cflags
2016-02-11 12:39:02 +01:00
Joakim Nohlgård
a0429f7542
Merge pull request #4778 from gebart/pr/cortex-m-makefile-refactor
...
make: Move CPU and BOARD includes to Makefile.modules and reorganize
2016-02-11 12:33:33 +01:00
Oleg Hahm
97adfa781e
stm32: use cpuid_address' address, not the value
...
We're interested in the address of `cpuid_address`, not the value it is pointing, too.
2016-02-11 01:52:57 +01:00
René Herthel
4a4b3f620c
stm32l1/i2c: initial update for the new interface
2016-02-10 16:40:33 +01:00
Joakim Nohlgård
31c9ca70e5
make: Move Makefile.include.$(TOOLCHAIN) to cpu dir
2016-02-10 16:37:03 +01:00
Joakim Nohlgård
717d89899f
make: Move Makefile.msp430_common to cpu dir
2016-02-10 16:37:03 +01:00
Joakim Nohlgård
7835ab2be7
make: Move BOARD and CPU includes to Makefile.modules
2016-02-10 16:37:03 +01:00
Joakim Nohlgård
deba387393
cortexm_common: Move toolchain settings to cpu dir
2016-02-10 16:37:03 +01:00
Hauke Petersen
ea8db10524
cpu/stm32: use common CPUID implementation
2016-02-10 09:12:30 +01:00
Hauke Petersen
7c5bab6ac0
cpu/stm32l1: use common STM32 files
2016-02-10 09:12:30 +01:00
Hauke Petersen
c482bfbaed
cpu/stm32f4: use common STM32 files
2016-02-10 09:12:30 +01:00
Hauke Petersen
14a4ed69b6
cpu/stm32f3: use common STM32 files
2016-02-10 09:12:29 +01:00
Hauke Petersen
bae3e7185a
cpu/stm32f1: use common STM32 files
2016-02-10 09:12:29 +01:00
Hauke Petersen
a04f509857
cpu/stm32f0: use common STM32 files
2016-02-10 09:12:29 +01:00
Hauke Petersen
f4587b3794
cpu: added place for shared STM32 files
2016-02-10 09:12:29 +01:00
Hauke Petersen
436d8f6bc2
Merge pull request #4762 from haukepetersen/add_nrf_common
...
cpu/nrf5x: created common dir for shared files
2016-02-09 22:36:01 +01:00
Hauke Petersen
8dd790bb33
cpu/nrf5x: unified CPUID driver implementation
2016-02-09 16:59:10 +01:00
Hauke Petersen
209e18debd
cpu/nrf5x: unified UART driver
2016-02-09 16:58:56 +01:00
Hauke Petersen
d1808717cb
cpu/nrf5x: unificitaion of GPIO driver
2016-02-09 16:58:56 +01:00
Hauke Petersen
3745487b95
cpu/nrf52: use the nrf5x_common folder
2016-02-09 16:51:54 +01:00
Hauke Petersen
fdd650d1ca
cpu/nrf51: use the nrf5x_common folder
2016-02-09 16:51:54 +01:00
Hauke Petersen
33132c8a60
cpu: added common cpu for the nRF5x family
2016-02-09 16:51:54 +01:00
Hauke Petersen
cfcf951b9d
cpu/kinetis_common: fixed null ptr ref in gpio.c
2016-02-09 16:22:25 +01:00
Hauke Petersen
5cac36d5b3
cpu/kinetis_common: moved drivers to periph subdir
2016-02-09 16:20:03 +01:00
Cenk Gündoğan
3faf44bc83
Merge pull request #4776 from haukepetersen/fix_my_email
...
cpu: use Hauke's correct email address
2016-02-09 16:15:13 +01:00
Hauke Petersen
975e027360
cpu: use Hauke's correct email address
2016-02-09 16:09:40 +01:00
Hauke Petersen
48a639f8fd
cpu/sam21_common: used shared periph_cpu.h
2016-02-08 19:04:28 +01:00
Hauke Petersen
722b342df3
cpu/sam21_common: unified CPUID implementation
2016-02-08 18:55:43 +01:00
Hauke Petersen
1d766bdb9e
cpu/samd21: use sam21_common implementations
2016-02-08 18:45:16 +01:00
Hauke Petersen
ef3169fbf7
cpu/saml21: use sam21_common implementations
2016-02-08 18:45:15 +01:00
Hauke Petersen
c5924f0d04
cpu/sam21: added common dir for sam[l|d]21 CPUs
2016-02-08 18:45:15 +01:00
Hauke Petersen
d80a661486
Merge pull request #4761 from haukepetersen/opt_cpuid
...
drivers/cpuid: fixed and unified CPUID driver implementations
2016-02-08 18:18:53 +01:00
Hauke Petersen
940097336a
cpu: cleanup and unification of CPUID implementations
...
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
Joakim Nohlgård
8dd81e8d9a
cpu/kw2x: Add __attribute__((used)) to interrupt vector
2016-02-08 13:07:52 +01:00
Joakim Nohlgård
a1d2ecc3de
cpu/k64f: Add __attribute__((used)) to interrupt vector
2016-02-08 13:07:52 +01:00
Joakim Nohlgård
570d188a26
cpu/k60: Add __attribute__((used)) to interrupt vector
2016-02-08 13:07:52 +01:00
Joakim Nohlgård
309cd5ef58
cpu/kinetis_common: Add __attribute__((used)) to flash configuration field
2016-02-08 13:07:52 +01:00
Hauke Petersen
5165e48399
Merge pull request #4746 from haukepetersen/add_board_nrf52dk
...
cpu/boards: added support for nRF52 DK
2016-02-05 15:11:57 +01:00
Hauke Petersen
2964969600
cpu: added support for nrf52
2016-02-05 12:07:32 +01:00
Hauke Petersen
e8e673d6ce
cpu/sam3: simplified struct init in GPIO driver
2016-02-04 15:34:07 +01:00
Hauke Petersen
1d8d33d484
Merge pull request #4704 from haukepetersen/opt_periph_gpioisrctx
...
drivers/gpio: added default ISR context struct
2016-02-04 15:29:48 +01:00
Victor Arino
b40cb6bebb
stm32f1/i2c: uncrustify untouched code
2016-02-03 17:42:42 +01:00
Victor Arino
57e20941f5
stm32f1/i2c: add support for secondary i2c
2016-02-03 17:42:42 +01:00
Victor Arino
a477d6f81d
stm32f1/i2c: do not block in case of error
...
Due to the errata of some of the stm32f1xx family, the i2c lines need
to be toggled when setting up the peripheral. This however seems to
hang some i2c slaves which do not ack the first message sent after
initialization. This caused the code to be stucked waiting for the
never coming ACK. The same situation could occur when a byte was not
acked due to whatever reason.
The previous implementation of the i2c driver didn't allow recovery
on these situations. Now the driver does not block forever but rather
returns a <0 code to indicate that the transaction was not succesful.
2016-02-03 17:42:42 +01:00
Victor Arino
da5b03df5d
stm32f1/i2c: remove duplicated code
2016-02-03 17:42:42 +01:00
Victor Arino
be3279f9bc
stm32f1/i2c: fix multi byte reading
2016-02-03 17:35:29 +01:00
Joakim Nohlgård
4fd7f23650
cpu/stm32f4: Fix DMA race bug ( #4716 )
2016-01-30 07:04:26 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
Hauke Petersen
ad0abdcadd
cpus: use default isr_ctx struct in GPIO drivers
2016-01-27 17:00:37 +01:00
Hauke Petersen
f6d350a5a5
Merge pull request #4502 from haukepetersen/fix_doc_cc2538
...
cpu/cc2538: vendor header cleanup
2016-01-27 16:32:56 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00
Hauke Petersen
e1df626a9b
cpu/cc2538: doxgen fixes
...
- added missing documentation
- repaired doxygen groups
2016-01-27 09:55:24 +01:00
Hauke Petersen
ad23d0dcea
cpu/cc2538: harmonized naming of vendor headers
2016-01-27 09:55:24 +01:00
Hauke Petersen
dda721ca06
cpu/samd21: s/F_CPU/CLOCK_CORECLOCK/
2016-01-27 09:52:44 +01:00
Hauke Petersen
3101baa589
cpu/sam3: s/F_CPU/CLOCK_CORECLOCK/
2016-01-27 09:52:44 +01:00
Hauke Petersen
4f35f8d57c
cpu/lpc11u34: s/F_CPU/CLOCK_CORECLOCK/
2016-01-27 09:52:44 +01:00
Hauke Petersen
178e82c0e9
cpu/lpc2387: s/F_CPU/CLOCK_CORECLOCK/
2016-01-27 09:52:44 +01:00
Hauke Petersen
6fc95e4d6d
cpu/atmega2560: removed deps to F_CPU
2016-01-27 09:52:44 +01:00
Hauke Petersen
7cad2577ed
cpu/stm32f1: adjusted to new vendor headers
2016-01-26 23:45:50 +01:00
Hauke Petersen
b6194fad42
cpu/stm32f1: updated vendor header files
2016-01-26 23:45:50 +01:00
Peter Kietzmann
cc97fc63ef
Merge pull request #4670 from TobiasFredersdorf/new_sam3_cpu_gpioupdate
...
cpu/sam3: udpate gpio driver
2016-01-26 17:13:58 +01:00
TobiasFredersdorf
9864c84c92
cpu/sam3: udpate gpio driver
2016-01-26 11:05:37 +01:00
Frank Holtz
1c32a536bc
pkg/driver: native random fix for micro-ecc
2016-01-25 21:03:03 +01:00
5f44a6938d
cpu: native: adapt xtimer backoff values to periph/timer change
2016-01-06 22:07:13 +01:00
ceaeee5c5d
Revert "native: periph/timer: prevent underflow in timer_set_absolute"
...
This reverts commit ec441e9aa6
.
2016-01-06 22:07:13 +01:00
Oleg Hahm
6d135d3579
native: make use of TLSF malloc and co
...
In order to make native behave more similar to other platforms, it should also use TLSF's dynamic memory allocation if included. It will still fall back to the system's malloc implementation when building for use with valgrind, to leverage its memory leak detection mechanisms.
2016-01-03 20:53:08 +01:00
Oleg Hahm
7b95366594
Merge pull request #4455 from OlegHahm/tlsf_warning_free
...
pkg tlsf: make it compile with -pedantic
2015-12-16 12:51:44 +01:00
Oleg Hahm
26ed138fe2
Merge pull request #4476 from kaspar030/remove_dINT_eINT
...
core: remove eINT/dINT
2015-12-16 11:10:56 +01:00
Hauke Petersen
c57c608f19
Merge pull request #4422 from lebrush/board-nucleo-f103
...
Board nucleo f103
2015-12-16 10:51:26 +01:00
Victor Arino
82796f9aea
cpu/stm32f1: uncrustified spi driver
2015-12-15 17:23:27 +01:00
Victor Arino
f753ce7809
cpu/stm32f1: allow disabling spi peripherals
...
This allows disabling SPI peripherals even if defined in periph_conf.h
by setting the definition SPI_*_EN to 0.
The peripherals were tested against ifdef which caused to include the
code even if the peripheral was disabled, which was incompatible with
the current spi.h common implementation.
2015-12-15 17:23:27 +01:00
Victor Arino
f27113b2cc
cpu/stm32f1: add linkerscript for stm32f103rb
2015-12-15 17:23:23 +01:00
Oleg Hahm
60e283e6a2
pkg tlsf: add tlsf initialization function
...
The init function was patched out, but is actually required to compile without warnings with -pedantic enabled.
This patch also updates ccn-lite and x86 support accordingly.
2015-12-15 16:42:43 +01:00
Oleg Hahm
4114382d4e
Merge pull request #4458 from nqd/sam3-cpuid
...
Sam3 cpuid
2015-12-15 16:09:27 +01:00
2d2bfbf7c9
cpu: msp430: remove dINT/eINT
2015-12-14 21:34:48 +01:00
05a572eb58
cpu: x86: remove obsolete dINT/eINT
2015-12-14 21:34:15 +01:00
nqdinh
e24d5031fe
cpu/sam3: added cpuid periph driver implementation
2015-12-14 22:17:47 +07:00
Hauke Petersen
8a96a62c42
cpu/stm32f4discovery: fixed freq return in pwm_init
2015-12-10 17:14:12 +01:00
Oleg Hahm
4e5facd750
Merge pull request #4428 from PeterKietzmann/revert_stm32l1_i2c
...
Revert "stm32l1/i2c.c: adapt for new periph driver interface"
2015-12-08 11:58:31 +01:00
Thomas Eichinger
0f80e688f3
Merge pull request #4115 from haukepetersen/opt_stm32f4_uart
...
cpu/stm32f4: optimized UART driver
2015-12-08 11:44:13 +01:00
Oleg Hahm
f3e3e40bda
Merge pull request #4360 from OlegHahm/relic_import
...
Add a RELIC package and unit test that shows how to use it
2015-12-08 10:05:54 +01:00
Oleg Hahm
a236fabcd4
cpu stm32f4: rename HASH macro
...
The HASH macro for an address in STM32's MCU hardware implementation is prone to naming clashes.
2015-12-08 08:58:11 +01:00
Oleg Hahm
fcb5fbf7f6
Merge pull request #4398 from OlegHahm/stm_header_cleanup
...
cpu: remove superfluous definitions in ST header
2015-12-08 08:52:23 +01:00
Oleg Hahm
f3d161d97a
cpu: remove superfluous definitions in ST header
2015-12-08 01:48:21 +01:00
Oleg Hahm
aa3ef774d0
cpu stm32f1 periph spi: simplify condition
2015-12-08 01:48:21 +01:00
Oleg Hahm
4780b5cba1
cc2538: fix pedantic compiler warnings
2015-12-07 20:28:53 +01:00
Oleg Hahm
d92ec1d11e
lpc2387: fix pedantic compiler warnings
2015-12-07 20:28:53 +01:00
Oleg Hahm
67c1084825
sam3: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
Oleg Hahm
875f48979a
avsextrem: some cleanup
2015-12-07 20:28:52 +01:00
Oleg Hahm
20f1750fb6
cpu stm32fX: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
Oleg Hahm
e88ebc1c84
cpu nrf51: fix pedantic compiler warnings
...
Make compiler doesn't complain about unused variables and unnamed unions.
2015-12-07 20:28:52 +01:00
Oleg Hahm
f24e810de5
cpu cortexm_common: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
Hauke Petersen
b75e5fe407
cpu/stm32f4: adapted DMA_TypeDef struct for f401
2015-12-07 18:00:41 +01:00
Hauke Petersen
a2247a3400
cpu/stm32f4: significantly optimized UART driver
2015-12-07 18:00:40 +01:00
Hauke Petersen
b13f5cf801
cpu/stm32f4: optimized vendor header slightly
2015-12-07 18:00:40 +01:00
PeterKietzmann
7ff9467970
Revert "stm32l1/i2c.c: adapt for new periph driver interface"
...
This reverts commit e9215a6cc1
.
2015-12-07 17:21:34 +01:00
14a54bddce
cpu: native: netdev2_tap: make use of netdev2_eth module
2015-12-07 11:40:39 +01:00
René Herthel
e9215a6cc1
stm32l1/i2c.c: adapt for new periph driver interface
2015-12-03 19:50:06 +01:00
Marc
96444d632e
cpu/lm4f120: reworking timer
2015-12-02 13:58:23 +01:00
Oleg Hahm
4d27214a8d
Merge pull request #4258 from BytesGalore/cpp11_use_xtimer
...
cpp11: vtimer->xtimer
2015-11-30 19:30:40 +01:00
Peter Kietzmann
329820ddd4
Merge pull request #4119 from latsku/nucleo-f401
...
boards: Add support for Nucleo-f401
2015-11-30 10:52:24 +01:00
Lari Lehtomäki
14be504b6a
boards/nucleo-f401: Add initial support
...
cpu: Add support for STM32F401xE cpu
boards: Add support for Nucleo-f401
boards/nucleo-f401: New line fixes and comment on green led pin
board/nucleo-f401: Added LED GPIO
board/nucleo-f401: Fixed LED GPIO
board/nucleo-f401: Minor fixes
2015-11-30 11:06:34 +02:00
04bc408931
cpu: msp430: add write() + needed libc header fixes
2015-11-28 22:09:37 +01:00
BytesGalore
529e83675e
cpp11: switched to use xtimer
...
Also switched the syscalls of cpu/native to use xtimer, only at _gettimeofday()
2015-11-27 18:36:25 +01:00
28d9eab420
cpu: atmega_common_ add off_t to sys/types.h
2015-11-26 20:41:36 +01:00
René Kijewski
ab3345ac5a
Merge pull request #4321 from kaspar030/cleanup_posix
...
sys: cleanup posix compat code
2015-11-26 20:39:30 +01:00
c4e55a2e6d
cpu: msp430-common: add unistd.h
2015-11-25 14:36:45 +01:00
4769c3075d
cpu: avr_common: add unistd.h
2015-11-25 14:36:45 +01:00
Hauke Petersen
c389f5be02
cpu/cortexm_common: fixes to vectors_cortexm.c
...
- (optimization) only fill ISR stack with canary values if
DEVELHELP macro is set (as we don't use these values otherwise)
- (cosmetic) moved define before variable definitions
2015-11-23 12:13:17 +01:00
Hauke Petersen
3fc71ef694
Merge pull request #4307 from haukepetersen/opt_cortex_isrstack
...
cpu/cortexm_common: moved ISR stack definition
2015-11-20 12:11:19 +01:00
Hauke Petersen
476167a86c
cpu: fixed any doxygen warning realated to 'periph'
2015-11-19 16:08:38 +01:00
Hauke Petersen
cf11b073d6
cpu/cortexm_common: define ISR stacksize in cpu.h
2015-11-19 11:55:35 +01:00
Hauke Petersen
3d35c33cb2
cpu/stm32f1: fixed i2c driver
...
the _stop() function now blocks until the transfer
is complete. Not waiting can lead to concurrent bus
access and subsequent to bus errors.
2015-11-18 14:57:15 +01:00
Hauke Petersen
047f7544a4
Merge pull request #4198 from thomaseichinger/pr/fix_4197
...
stm32f1/i2c: Disable I2C module before initialization
2015-11-17 17:41:33 +01:00
Ludwig Knüpfer
a86866ea9f
cpu/native: malloc.h for osx: fix doxygen, move
2015-11-15 12:14:59 +01:00
Andreas "Paul" Pauli
e5b6566c9a
Merge pull request #4170 from haukepetersen/opt_sam3_uart
...
cpu/sam3: cleaned up UART driver
2015-11-11 16:21:10 +01:00
Cenk Gündoğan
0792450dd7
cpu: kinetis_common: remove vtimer include from spi.c
2015-11-11 09:03:12 +01:00
Joakim Nohlgård
511539bb7a
Merge pull request #4247 from cgundogan/pr/stm32/remove_vtimer_include
...
cpu: stm32f[34]: remove unused vtimer include
2015-11-11 08:57:55 +01:00
Hauke Petersen
86da628971
Merge pull request #4081 from daniel-k/pr/samd21_rtt_fix_irq_priority
...
samd21: don't change priority of interrupts, this is really evil
2015-11-10 13:05:10 +01:00
Cenk Gündoğan
18427a8074
cpu: stm32f4: spi: remove unused vtimer include
2015-11-10 12:27:17 +01:00
Cenk Gündoğan
6e7f83a390
cpu: stm32f3: spi: remove unused vtimer include
2015-11-10 12:26:58 +01:00
Peter Kietzmann
745320dc41
Merge pull request #4232 from DipSwitch/fix_gpio_read
...
gpio: Pin direction readout of gpio_read was invalid
2015-11-09 13:18:13 +01:00
Oleg Hahm
4ef889f9ce
Merge pull request #4226 from DipSwitch/stm32f1_add_spi_12
...
cpu/stm32f1/spi: add SPI peripheral 1 and 2
2015-11-07 18:06:09 +09:00
DipSwitch
4186e38976
stm32f1/gpio: pin direction readout of gpio_read was invalid
2015-11-06 16:57:10 +01:00
Andreas "Paul" Pauli
bf63e09a65
Merge pull request #4137 from haukepetersen/opt_samr21_pwm
...
cpu/samd21: optimized pin config for PWM driver
2015-11-05 16:14:05 +01:00
DipSwitch
2e2ec37846
cpu/stm32f1/spi: add SPI peripheral 1 and 2
2015-11-04 13:40:20 +01:00
René Herthel
13ae0ab979
atmega2560/cpu: Fixed wrong using of UART macros
2015-11-03 18:29:53 +01:00
Hauke Petersen
3ab389b1fd
Merge pull request #4134 from gebart/pr/cortexm-hardfault-naked-fix
...
cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
2015-11-02 18:04:57 +01:00
Thomas Eichinger
96b6d4b1dd
stm32f1/i2c: Disable I2C module before initialization
...
When initializing multiple drivers connected to the same
I2C bus, the bus should be disabled before pin toggeling
and reinitialization.
2015-11-01 11:51:51 +09:00
Ludwig Knüpfer
3b2d26b0dc
cpu/saml21: fix typo in gpio.c
2015-10-31 17:35:41 +01:00
Ludwig Knüpfer
406aea453c
cpu/samd21: fix typo in gpio.c
2015-10-31 17:28:16 +01:00
Joakim Nohlgård
76bddaf213
Merge pull request #3283 from gebart/pr/kinetis-errata-e4218
...
k60: Add workaround for errata e4218
2015-10-30 07:33:31 +01:00
Peter Kietzmann
6fcea29bdc
Merge pull request #4042 from gebart/pr/kinetis-gpio-periph-refactor
...
kinetis_common: Refactor GPIO implementation
2015-10-29 08:29:09 +01:00
Hauke Petersen
7d1c952734
Merge pull request #3571 from haukepetersen/add_board_wstk6220a
...
boards/cpu: added SLWSTK6220A and EZR32WG support
2015-10-28 20:58:43 +01:00
Hauke Petersen
b9707cd8f3
cpu/ezr32wg: added extern C to vendor headers
2015-10-28 17:33:44 +01:00
Joakim Nohlgård
142c28094e
kinetis_common: Refactor GPIO implementation
...
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.
The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.
Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.
[1]: https://github.com/RIOT-OS/RIOT/pull/3095
2015-10-28 14:12:19 +01:00
Martine Lenders
a370a12f75
msp430: fix doc to time.h
2015-10-28 13:59:52 +01:00
Martine Lenders
77b0ffffec
msp430: include missing types to time.h
2015-10-28 13:59:35 +01:00
Hauke Petersen
36646865f0
cpu: added support for SiLabs EZR32WG
2015-10-28 13:50:34 +01:00
Hauke Petersen
e1f028a859
cpu/sam3: reworked the UART driver
2015-10-28 12:05:35 +01:00
Hauke Petersen
85e05d411e
Merge pull request #4114 from haukepetersen/opt_periph_uart
...
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Joakim Nohlgård
3033738e30
Merge pull request #4126 from gebart/pr/cortexm-r7-O0-fix
...
cortexm-common: Workaround for error: r7 cannot be used in asm here
2015-10-28 07:01:32 +01:00
Joakim Nohlgård
c3340b7ccf
cpu/cortexm_common: Use PRIx32 for printing uint32_t in hard fault handler
...
fixes errors like:
error: format specifies type 'unsigned long' but the argument has
type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
2015-10-28 06:59:28 +01:00
Joakim Nohlgård
a5449bcbd4
cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
...
Fixes error on LLVM/Clang:
cpu/cortexm_common/vectors_cortexm.c:287:5: error: non-ASM statement in naked function is not supported
core_panic(PANIC_HARD_FAULT, "HARD FAULT HANDLER");
^
cpu/cortexm_common/include/vectors_cortexm.h:65:46: note: attribute is here
void hard_fault_default(void) __attribute__((naked));
^
1 error generated.
2015-10-28 06:51:51 +01:00
Peter Kietzmann
f5b2c80bd6
Merge pull request #4015 from daniel-k/pr/cortexm_hardfault_overflow
...
cortexm_common: check for possible stack overflow in hardfault handler
2015-10-27 19:19:32 +01:00
daniel-k
c5e220c140
cortexm_common: check for possible stack overflow in hardfault handler
2015-10-27 15:58:36 +01:00
Hauke Petersen
19cd4b32c4
cpu/stm32l1: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
1eb63f20a7
cpu/stm32f4: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
9741267d9d
cpu/stm32f3: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
59b935bd1e
cpu/stm32f1: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
b71d8ea750
cpu/stm32f0: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
65673663b5
cpu/saml21: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
a93f15b5cb
cpu/samd21: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
07a7d93690
cpu/msp430fxyz: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
fe249b9006
cpu/lpc2387: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
68670f038f
cpu/lpc1768: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
d31401ef1a
cpu/lpc11u34: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
14796f2351
cpu/lm4f120: adapted UART driver
2015-10-27 14:59:38 +01:00
Hauke Petersen
c7d256d83e
cpu/kinetis_common: adapted UART driver
2015-10-27 14:59:38 +01:00