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

3737 Commits

Author SHA1 Message Date
d6264f56c8
Merge pull request #13168 from fjmolinas/pr_iotlab_openocd
boards/iotlab: add DEBUG_ADAPTER_ID openocd
2020-02-05 11:30:11 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
4fbca251bc boards/same54-xpro: use 48 MHz GCLK6 for I2C
We can't run I2C off the 120 MHz main clock as the availiable dividers are too small.
Use the 48 MHz GCLK 6 instead which offers an appropriate frequency.

fixes #12037
2020-02-04 21:16:54 +01:00
Benjamin Valentin
1496149bba cpu/sam0: don't hard-code peripheral clocks
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.

This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.

As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
Benjamin Valentin
a51d167a43 cpu/sam0: use GCLK ID instead of bitmask
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
Jean Pierre Dudey
8c68796ff8
boards/cc1312-launchpad: correct config. for gdb_agent_server
This enables the usage of `monitor reset` command in gdb.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-04 07:13:20 -05:00
benpicco
cc90a896c7
Merge pull request #13166 from jeandudey/2020_01_19-cc26x2-cc13x2
cpu/cc13x2: rename cpu to cc26x2_cc13x2.
2020-02-04 11:45:59 +01:00
benpicco
5d1bf26f0c
Merge pull request #13076 from gschorcht/boards/esp32/ttgo_t_beam_gps
boards/esp32: enable GPS module on ESP32 TTGO T-Beam V1.0
2020-02-01 23:25:55 +01:00
Gunar Schorcht
c30674d539 boards/esp32-ttgo-t-beam: switch on GPS module 2020-02-01 16:12:05 +01:00
Gunar Schorcht
624c6f24ca boards/esp32: allow board specific initialization 2020-02-01 16:12:05 +01:00
32f4986757
boards/hifive1*: remove useless stdio_uart include
stdio_uart is already pulled by default by the dependency resolution
mechanism.
2020-01-31 14:30:32 +01:00
Dylan Laduranty
d929087e57
Merge pull request #13233 from benpicco/edbg-update
tools/edbg: update to latest upstream version
2020-01-31 11:04:23 +01:00
benpicco
cdb427b760
Merge pull request #12475 from francois-berder/wifire-gpio-refactor
cpu: mips_pic32_common: Refactor GPIO peripheral
2020-01-31 09:46:57 +01:00
Benjamin Valentin
bd19a55804 boards: remove EDBG_DEVICE_TYPE
EDBG_DEVICE_TYPE is a property of the CPU, is should not be set
by every board individually.
2020-01-31 09:35:27 +01:00
Sören Tempel
8485c535d5 waspmote-pro: don't build the boards_common_atmega module
Only include its headers. Without this change board_init would be
defined twice. Once in `boards/waspmote-pro/board.c` and the other time
`boards/common/atmega/board.c`.
2020-01-29 12:32:16 +01:00
Francisco Molina
94853d5e1d boards/iotlab-%: define DEBUG_ADAPTER 2020-01-28 11:56:56 +01:00
Francisco Molina
f79397f7be boards/iotlab-%: use common openocd config 2020-01-28 11:56:38 +01:00
98995f685b
Merge pull request #13179 from fjmolinas/pr_openocd_stm32f7_probe
boards/nucleo-f767zi: add correct flash bank openocd config
2020-01-28 10:48:23 +01:00
Francisco Molina
1dec5ba61b boards/common/stm32f7: add correct flash bank configuration
openocd configuration file for `stm32f7` relies on probing to find out
FLASH_ADDR. On nucleo-f767zi board probing (`flash probe 0`) fails when
`srst` is asserted, but `srst` needs to be asserted to be able to flash
the `BOARD` when sleeping or after a hardfault.

To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
flash bank with the appropriate fash start address and specify that this is
the flash bank to be used as default configuration instead of the
default by setting FLASH_BANK=4
2020-01-27 22:32:06 +01:00
Frits Kuipers
9206b955eb boards/pinetime: Add pyocd support to pinetime board 2020-01-27 19:43:48 +01:00
benpicco
f6d750afe9
Merge pull request #13201 from gschorcht/boards/nucleo-f4xx-doc-fix
boards: doc fix for several nucleo-f4xxxx boards
2020-01-25 15:19:55 +01:00
Gunar Schorcht
6fc82f2b2a boards: doc fix for several nucleo-f4xxxx boards
Rows in markdown tables must not contain a line break. Otherwise the table is broken.
2020-01-25 13:28:15 +01:00
benpicco
43b736969b
Merge pull request #13138 from francois-berder/pic32-docs
boards: Improve documentation for pic32-clicker and pic32-wifire
2020-01-24 17:48:43 +01:00
Francois Berder
f4404f2df6 boards: pic32-wifire: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-24 09:49:09 +00:00
Francois Berder
f1e1de5710 boards: pic32-clicker: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-24 09:49:09 +00:00
benpicco
358a2625fc
Merge pull request #13136 from jeandudey/2020_01_15-cc2538dk-resc
boards: cc2538dk: remove `machine SetClockSource`.
2020-01-24 10:45:59 +01:00
Marian Buschsieweke
f58b82bd39
Merge pull request #13163 from gschorcht/board/mega-xplained/fix_adc_lines
boards/mega-xplained: fix ADC line defintions
2020-01-23 11:34:38 +01:00
Jean Pierre Dudey
a73f3809cc
cpu/cc13x2: rename cc13x2 cpu to cc26x2_cc13x2
The CC26x2 and CC13x2 share the same register definitions, and both are
treated equally in the TI's technical reference manual. [1]

- To avoid confusions in the future I renamed it to `cc26x2_cc13x2`.
- Documentation was updated.
- The `cc1312-launchpad` board that uses the `cc13x2` MCU was updated.
- The `cc1352-launchpad` board that uses the `cc13x2` MCU was updated.

[1]: https://www.ti.com/lit/ug/swcu185d/swcu185d.pdf

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 09:31:48 -05:00
Jean Pierre Dudey
f96fc62369
cc1352-launchpad: fix documentation errors.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:05:52 -05:00
Jean Pierre Dudey
cc170e9987
cc1352-launchpad: remove export from XDEBUGGER
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:54 -05:00
Jean Pierre Dudey
a6117ff0a2
cc1352-launchpad: enable periph_gpio_irq.
This feature is supported by the processor.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:02 -05:00
97cb4c5707
Merge pull request #13134 from jeandudey/2020_01_15-cc1312-launchpad
boards: add cc1312-launchpad board.
2020-01-20 07:39:38 +01:00
Jean Pierre Dudey
633aa8cd41
boards: add cc1312-launchpad board.
This is mostly based on the cc1352-launchpad boards, is essentially the same
buttons and leds pins, what changes is the CCXML files used to flash with
`make flash` and the UART pins.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-19 11:36:31 -05:00
Gunar Schorcht
f53534ed44 boards/mega-xplained: fix ADC line defintions
For the ATmega platform the ADC lines are not defined according to the GPIOs. Instead, they are defined from 0 to ADC_NUMOF-1, which in turn represents the bit in the corresponding ADC registers.  The mapping from the line number to the corresponding ADC register/bit combination is done implicitly by the periph/adc implementation.
2020-01-18 13:19:11 +01:00
9ae80f56d1
pinetime: Fix battery ADC line define 2020-01-18 11:15:04 +01:00
c4877c6d41
Merge pull request #13141 from gschorcht/cpu/esp32/fix_c_linkage
cpu/esp32: fix C linkage compilation error
2020-01-16 15:06:01 +01:00
Gunar Schorcht
416e8ce8e6 cpu/esp32: fix C linkage compilatio error
With the new toolchain version required to fix issue #13133, the compilation of `examples/posix_socket` fails due to a C linkage error in `atomic_base.h`. The reason is that including `drivers/include/mtd.h` in `boards/esp32/board_common.h` inside the `extern C` block finally leads to including `atomic_base.h` inside the `extern C` block which in turn to the C linkage error for the template definitions in this file.
2020-01-16 13:03:49 +01:00
81dbba2588 boards/pinetime: fix jlink rtt configuration 2020-01-15 22:12:06 +01:00
Martine S. Lenders
78b5c1ee5c boards: initial import of Adafruit Feather nRF52840 Express
This provides support initial support for the [Adafruit Feather nRF52840
Express][feather-nrf52840]. The current feature set includes:

- Default flashing via Segger J-Link
- UART, SPI, and I2C exposed in accordance to the Feather [pinout]
- SAUL support for on-board LEDs and button

[feather-nrf52840]: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/
[pinout]: https://cdn-learn.adafruit.com/assets/assets/000/046/243/original/adafruit_products_Feather_M0_Adalogger_v2.2-1.png
[pid.codes]: http://pid.codes/1209/7D00/
2020-01-15 22:11:58 +01:00
3b4fe41296
Merge pull request #13130 from kaspar030/ili9341_resolution_param
drivers/ili9341: add number of lines parameter
2020-01-15 18:33:14 +01:00
Jean Pierre Dudey
94ca53c3b9
boards: cc2538dk: remove machine SetClockSource.
It causes errors on current Renode versions. It wasn't documented on the
Renode changelog, but SetClockSource property was removed. Before this
change it showed this error:

    There was an error executing command 'machine SetClockSource cpu'
    machine does not provide a field, method or property SetClockSource.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-15 11:44:02 -05:00
47634addf3 boards/pinetime: configure ili9341 LCD number of lines 2020-01-15 15:36:21 +01:00
76b9cfb677
Merge pull request #12973 from fjmolinas/pr_atmega_tx_isr
cpu/atmega_common/periph/uart: use TX_ISR to check TX end
2020-01-15 11:51:22 +01:00
Hauke Petersen
8b408fc828
Merge pull request #12724 from aabadie/pr/stdio_rtt_blacklist
make: improve handling of the stdio_rtt module, improve dependency management at application level
2020-01-15 10:12:13 +01:00
Francisco Molina
fb388bf5b6 boards/atmega/include/periph_conf_atmega_common: add USARTn_TX_vect 2020-01-15 10:02:41 +01:00
fcec59261c
Merge pull request #12552 from kaspar030/add_pinetime_support
boards: add initial support for the PINE64 PineTime smartwatch
2020-01-15 09:51:40 +01:00
630ff1425a
Merge pull request #13125 from francois-berder/clicker-pic32prog
boards: pic32-clicker: Use pic32prog as default programmer
2020-01-15 07:08:31 +01:00
benpicco
2ff710c762
Merge pull request #12669 from benpicco/mcb2388
boards: add mcb2388
2020-01-14 22:46:49 +01:00
Benjamin Valentin
9183d16278 boards: add mcb2388
The MCB2388 Evaluation Board is a development board for the LPC2388 MCU.

LPC2388 and LPC2387 are very simmilar, the only difference is added USB Host
support.
Since this is not used yet, I chose to just pretend it's an lpc2387.

So far, only the two UARTs, LEDs and LCD display are configured.
2020-01-14 21:21:08 +01:00
5c21df5fee boards/pinetime: initial support for the PINE64 PineTime smartwatch 2020-01-14 21:06:43 +01:00