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

271 Commits

Author SHA1 Message Date
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
danpetry
cd449e388b cpu/cc2538: Adapted UART driver incl. board config
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.

  - Defined the fields of the struct in periph_cpu.h
  - Removed the compilation includes that were in uart.c for each UART
  - Implemented a generic ISR subroutine for clarity
  - combined uart_base and uart_init in uart.c
  - used bitmask for the interrupt setup
  - took the uart Rx, Tx, and IRQ numbers out of the config
  (as this has to match the .dev field). Replaced with
  macros from the uart number
  - took out some unused code
  - implemented power on/off commands
  - removed reset function - now bytes are just discarded on error
  - Rx now not initialised if Rx callback = NULL, as per
  drivers/periph/uart.h
  - device is now enabled after callbacks are set, not before
  - asserts raised if rts and cts are enabled for UART0
  - BIT macro removed
2018-02-08 14:36:51 +01:00
4dd854da74 cpu/cc2538: DEBUG fixes 2018-01-15 14:37:05 +01:00
smlng
ba324ef07c cpu, cc2538: adapt uart to RIOT gpio API 2017-12-14 10:32:04 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
smlng
d03551756f cpu, cc2538: adapt periph drivers to refined gpio handling 2017-11-17 20:06:41 +01:00
smlng
8fb71afa79 cpu, cc2538: refine gpio handling
- hide (more) internal functions
  - optimize gpio_init_af
  - remove obsolete code
2017-11-17 20:06:35 +01:00
Joakim Nohlgård
e3d5a70e0c cpu/cortexm: Remove leftover _estack declarations
These are leftovers from before the Cortex-M common ISR vectors were
split into vectors_cortexm.c
2017-11-10 15:38:14 +01:00
3ec8126c84 cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
a20745b6c5 cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
9d4cb7ac7f cpu: cc2538: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
smlng
fc5c432510 cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
fixes #7746
2017-10-18 16:01:38 +02:00
Hauke Petersen
70e17ee5a3 cpu/cc2538/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
938ba0b3c5 Merge pull request #7535 from haukepetersen/opt_cortexm_vectordefs
cpu: use shared Cortex-M base vector table
2017-10-01 21:46:17 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
smlng
1ed6f84992 doc: fix whitespaces 2017-09-06 08:49:05 +02:00
Hauke Petersen
3ede8e9d95 cpu: force size of CPU specific vector table 2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223 cpu: unified cortex-m base interrupt vector 2017-09-04 15:13:32 +02:00
Andreas "Paul" Pauli
a12dcaa299 Merge pull request #7361 from smlng/enh/cc2538/periph_timer
cpu, cc2538: enhance and cleanup periph timer
2017-08-29 20:03:35 +02:00
smlng
12868d2416 cpu, cc2538: cleanup periph/timer 2017-08-28 21:43:12 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
smlng
46facf4ff7 cpu, cc2538: add gpio alternative functions 2017-08-24 15:31:52 +02:00
Francisco Acosta
f2efd88f98 Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
smlng
b30d0617aa cpu, cc2538: add low-lever adc driver 2017-07-20 20:47:49 +02:00
smlng
e94672599d cpu, cc2538: gpio helper functions 2017-07-07 11:57:07 +02:00
Anon Mall
c4584aca2b gpio interrupt fix 2017-07-04 00:03:13 +02:00
0ccc264538 drivers: initial implementation of sx127x radio (LoRa mode only) 2017-06-30 19:00:40 +02:00
smlng
01af6d94c4 cpu, periph: retain constness in spi_transfer_bytes 2017-06-29 15:47:13 +02:00
smlng
bb82789644 cc2538: fix cppcheck warning in periph i2c driver 2017-06-26 15:29:04 +02:00
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Hauke Petersen
a1499f4190 cpu: add and use shared code for timer_set() 2017-06-02 12:21:56 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Joakim Nohlgård
6cda6a6560 periph/cpuid: Unify implementations to a common driver for several platforms 2017-04-05 09:03:49 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
smlng
40431fe5e3 cc2538: add feature periph_pm 2017-03-07 22:00:03 +01:00
smlng
e0f19f3394 cc2538: fix timer_set for channel B 2017-03-02 14:49:16 +01:00
Hauke Petersen
2f9e3c89e1 periph/hwrng: use void* buf for hwrng_read() 2017-02-07 13:20:39 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3 drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +01:00
Hauke Petersen
ed4cb561bb boards/remote: fixed includes 2017-01-25 16:46:46 +01:00
PeterKietzmann
3fa8a5e87c cpu/cc2538: fix spi_transfer_bytes 2017-01-25 16:46:46 +01:00
Hauke Petersen
ca5f1befb3 cpu/cc2538+boards: adapted to SPI API changes
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Oleg Hahm
d0316fa7ae periph timer: remove timer_irq_(en|dis)able 2017-01-14 15:34:53 +01:00
0194091673 remove obsolete lpm code 2017-01-12 11:24:15 +01:00
Hauke Petersen
8feeea9a12 cpu/cc2538: reworked GPIO driver 2017-01-11 10:19:06 +01:00
Hauke Petersen
3a00fe8e49 cpus: make use of cortexm_isr_end() 2016-12-21 11:28:46 +01:00
smlng
35adde55d2 cppcheck: cpu/cc2538 reduce scope of variables 2016-12-20 15:48:54 +01:00
Oleg Hahm
ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
2016-12-08 13:44:34 -05:00
Peter Kietzmann
e547ff1d60 Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
f4bee2672c cpu: cc2538: remove typeof() usage 2016-11-15 14:59:36 +01:00
Francisco Acosta
eb06b13722 Merge pull request #5754 from locicontrols/cc2538-timer-pr
CC2538 periph/timer overhaul
2016-11-01 23:22:21 +01:00
Hauke Petersen
2eebf36eb2 cpu/uart: make use of named return values 2016-10-28 10:32:00 +02:00
Martine Lenders
20e1fce5b7 ieee802154: centralize default values 2016-10-26 15:32:12 +02:00
Aaron Sowry
9f05620654 cc2538: Fix indentation 2016-10-26 19:48:34 +13:00
smlng
89978ab8e5 cc2538: add netstat_l2 2016-10-21 21:56:04 +02:00
Aaron Sowry
191dc0ffad cpu/cc2538: Wait for transmission to complete before returning from send() 2016-10-07 12:25:38 +13:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
smlng
77250f89a3 cc2538: disable l2 ack recv irq 2016-09-27 15:04:39 +02:00
Aaron Sowry
2ba43d560f cpu/cc2538: Remove superfluous mutex lock 2016-09-04 20:51:51 +12:00
Oleg Hahm
908f5489b6 Merge pull request #5653 from aeneby/rssi_lqi_fix_v2
cpu/cc2538: Make ED and LQI values 802.15.4 compliant
2016-09-04 10:27:02 +02:00
Peter Kietzmann
28638bea92 Merge pull request #5725 from aeneby/tx_underrun_fix
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-30 21:07:14 +02:00
5ab97fe38b cpu: build cortexm vectors.c without LTO 2016-08-29 13:30:17 +02:00
Aaron Sowry
5f71cc82fb cpu/cc2538: wait for ongoing transmission before flushing TX FIFO 2016-08-25 21:25:11 +12:00
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
Jason Tran
4136b95930 cpu/cc2538: fix debug statements 2016-07-25 18:35:05 -07:00
Aaron Sowry
66b36397b6 cpu/cc2538: Enable CRC checking of received packets (#5654) 2016-07-25 12:34:44 -04:00
kYc0o
91410f5259 Merge pull request #5626 from aabadie/default_channel
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Aaron Sowry
105c31925f cpu/cc2538: Make ED and LQI values 802.15.4 compliant 2016-07-17 09:45:47 +12:00
Aaron Sowry
a301c37c2e cpu/cc2538: Remove union names from structs
Make the unions anonymous, since this makes referencing
their bytes much simpler.
2016-07-16 12:55:12 +12:00
271cbc26b8 drivers/cc2420 & cpu/cc2538: adding support for default channel configuration 2016-07-14 17:50:50 +02:00
Aaron Sowry
a2ba22dd0f cpu/cc2538: Add RF driver 2016-07-13 14:19:45 +12:00
Andreas "Paul" Pauli
29f0eea2ef cpu/cc2538: add GPIO_PIN() macro to periph_conf.h. (#5507) 2016-06-08 14:36:54 -04:00
zhuoshuguo
1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
Joakim Nohlgård
c2b20f1f27 cpu/cc2538: Cast enum to unsigned int for comparison 2016-06-01 16:42:15 +02:00
Ian Martin
10b001c3eb cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead 2016-05-10 12:21:29 -04:00
DipSwitch
eb6eed6c2c cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable 2016-04-19 22:43:51 +02:00
kYc0o
699410efc8 Merge pull request #5124 from locicontrols/fixes
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
2016-04-14 12:00:53 +02:00
Cenk Gündoğan
8b7512f0bf Merge pull request #5187 from Yonezawa-T2/i2c_debug
i2c: add missing #ifdef block
2016-03-30 09:34:40 +02:00
Yonezawa-T2
7271c928cc i2c: add missing #ifdef block 2016-03-30 16:24:38 +09:00
Yonezawa-T2
dc9f769835 NEEDS SQUASHING i2c: revert partially 2016-03-29 17:37:50 +09:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Ian Martin
a553fe0f84 cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled 2016-03-28 17:31:58 -04:00
Ian Martin
a2ac92b2bd cpu/cc2538: add periph/spi driver 2016-03-28 17:24:07 -04:00
Ian Martin
7b8c86ec16 cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3 2016-03-23 13:59:02 -04:00
Hauke Petersen
cfed0e33cc cpu/cc2538: adapted to GPIO inerface changes 2016-03-17 14:39:11 +01:00
Joakim Nohlgård
30ed36b236 cpu/cc2538: i2c: Make WARN_IF use {} to silence Clang warning when ENABLE_DEBUG=0 2016-03-13 08:14:39 +01:00
Ian Martin
705879741c cpu/cc2538: use the MCU's default UART FIFO interrupt levels 2016-03-07 17:52:06 -05:00
Ian Martin
5f05a956db cpu/cc2538: clear only the latched UART interrupt flags
Otherwise incoming bytes can remain in the receive FIFO indefinitely.
2016-03-07 17:52:06 -05:00
a6a98dc5a9 cpu: cc2538: add missing include to periph_cpu.h 2016-03-07 23:25:20 +01:00
kYc0o
740635daaa Merge pull request #3765 from locicontrols/cc2538-i2c
cpu/cc2538: add periph/i2c driver
2016-03-07 18:22:32 +01:00
6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 2016-03-05 18:20:17 +01:00
Ian Martin
4936edb80f cpu/cc2538: initialize the GPIO controller to a default state 2016-03-03 11:16:24 -05:00
Ian Martin
9642f2531a cpu/cc2538: add periph/i2c driver 2016-03-03 11:04:39 -05:00
kYc0o
e730f1bdc3 Merge pull request #4878 from locicontrols/cc2538-periph-timer
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
kYc0o
ec1bea389b Merge pull request #2753 from locicontrols/baudrate-fix
cpu/cc2538: avoid using bitfields with the LCRH register
2016-03-02 11:41:02 +01:00
Ian Martin
b6fbdb2f79 Avoid rounding errors during frequency scaling. 2016-03-01 15:18:45 -05:00
Ian Martin
4176d04b02 cpu/cc2538/periph/timer overhaul
* Use the 32-bit counter mode.
 * Apply frequency scaling for non-16 MHz frequencies.
2016-03-01 15:15:16 -05:00
Ian Martin
92a16a50dd cc2538 gptimer corrections. 2016-03-01 14:59:50 -05:00
Ian Martin
c91ae645a5 cpu/cc2538: break-out the bitfields in the GPTimer IMR register. 2016-03-01 14:59:50 -05:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +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
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
Hauke Petersen
216a4cb432 cpu/cc2538: adapted HWRNG implementation 2016-02-14 12:58:30 +01:00
Joakim Nohlgård
943c106461 cpu/cc2538: Update to match timer_init API change 2016-02-13 21:29:36 +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
Hauke Petersen
ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 2016-01-27 17:00:37 +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
Oleg Hahm
4780b5cba1 cc2538: fix pedantic compiler warnings 2015-12-07 20:28:53 +01:00
Hauke Petersen
a58d577cb1 cpu/cc2538: adapted UART driver 2015-10-27 14:59:38 +01:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Ian Martin
40b93ea6ad cpu/cc2538: uart init overhaul 2015-09-29 12:26:13 -04:00
Ian Martin
aca53006b0 cpu/cc2538: preserve UART_CTL flags when clearing an error condition 2015-09-29 12:26:13 -04:00
Ian Martin
b2c51bed6a cpu/cc2538: eliminate unused macros UART_1_CTS_PORT and UART_1_RTS_PORT 2015-09-29 12:26:13 -04:00
Ian Martin
d70705f840 cpu/cc2538: round when computing the UART baudrate divisor 2015-09-29 12:26:13 -04:00
8c147f1e3c cpu: cc2538: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
Emmanuel Baccelli
014939805e Merge pull request #3062 from alignan/pull/remote-port
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-08-25 21:18:13 +02:00
daniel-k
7a86344c4d cpu/cortexm_common: gather addition information on hardfault 2015-08-19 14:24:54 +02:00
Antonio Lignan
b8823b7afe Zolertia Re-Mote platform (cc2538 + cc1120) port 2015-08-17 14:17:32 +02:00
Hauke Petersen
37078856e7 cpu/cc2538: optimization of startup code
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
47e8472949 cpu/cc2538: adjusted to changed GPIO interface 2015-06-12 19:10:49 +02:00
Joakim Gebart
c09a8484e2 cortexm: Move ldscripts into separate directory
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Hauke Petersen
52e51bfea1 cpu/cc2538: adapted to centralized cpu conf 2015-05-29 16:42:05 +02:00
haukepetersen
0d5c8546f3 cpu: adapted Makefiles to unified cortexm module 2015-05-28 19:30:07 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
6e6e1eb2b3 cpu: cc2538: use cortex common makefile and newlib module 2015-05-26 10:46:03 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Joakim Gebart
e9c567107d all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
Ian Martin
c3417d151a cpu/cc2538: vector table address and alignment
Enforce the 512-byte vector table alignment and set the
VTOR register to the actual address of the vector table.
2015-02-11 11:09:19 -05:00
Oleg Hahm
a5dc951ef2 doc: fix doxygen group for cc2538 memory map 2014-12-06 14:32:22 +01:00
Oleg Hahm
000450c894 Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e doc: fix remaining doxygen warnings 2014-12-04 17:16:57 +01:00
Ian Martin
58e413afce cpu/cc2538: add eh_frame section to the linkerscript
Fixes linker errors on some toolchains, for example:
  ld: foo.elf section `.eh_frame' will not fit in region `cca'
  ld: region `cca' overflowed by 40 bytes
2014-12-03 11:41:59 -05:00
Oleg Hahm
ae8dd90884 doc: added missing closing doxygen brackets 2014-11-30 21:16:41 +01:00
DangNhat Pham-Huu
3e86b86472 Merge pull request #2083 from dangnhat/added_externc_for_missed_header
cpu/cc2538: added extern C for rfcore.h
2014-11-27 20:38:31 +07:00
Thomas Eichinger
b5071385db Merge pull request #2036 from haukepetersen/fix_openmote_cpp
boards: enable C++ for CC2538 based boards
2014-11-25 18:57:40 +01:00
Pham Huu Dang Nhat
964d96e362 cpu/cc2538: added extern C for rfcore.h 2014-11-25 22:10:36 +07:00
Hauke Petersen
2220a9fab0 core/cpu/boards: removed fw_puts from RIOT 2014-11-21 13:09:02 +01:00
Hauke Petersen
f5480234c3 cpu/cc2538: made _kill(_r) syscalls weak 2014-11-21 11:43:21 +01:00
Hauke Petersen
62b6522e01 cpu: moved reboot_arch for cortex cpus 2014-11-20 17:22:39 +01:00