82eb48964d
makefiles/qemu: renode: define FLASHFILE
2020-11-27 13:39:23 +01:00
2bcc754fe5
makefiles/tools: ensure all FLASHER/DEBUGGER* vars are overridable
2020-11-27 13:39:22 +01:00
9eadcb38f3
makefiles/renode: make emulate depends on board config file
2020-11-27 13:39:22 +01:00
dcaa9eb59c
makefiles/tools/renode: improve debugger management
...
When using the debug target, the GDB server is spawned automatically in the background. This logic is moved in a external script
2020-11-27 13:39:22 +01:00
4707de2a5f
makefiles/renode: add debugger config
2020-11-27 13:39:22 +01:00
3cca8f4ee2
makefiles/tools/renode: control renode via Makefile only
2020-11-27 13:37:52 +01:00
3bafb6e2bc
makefiles/edbg: include openocd.inc.mk to define debug vars
2020-11-25 22:31:13 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
benpicco
09defe017f
Merge pull request #15483 from aabadie/pr/makefiles/renode_dont_export
...
makefiles/renode: dont export EMULATOR* variables
2020-11-25 00:33:35 +01:00
benpicco
638cb00a28
Merge pull request #15486 from aabadie/pr/make/emulator_enh
...
make: handle emulator backend in Makefile.include
2020-11-25 00:31:19 +01:00
784eb048b7
Merge pull request #15391 from maribu/riscv-detect-triple
...
makefiles/arch/riscv.inc.mk: Detect target triple
2020-11-24 10:42:57 +01:00
Francisco Molina
5b10bdfcb8
makefiles/utils: add util to compare to software versions
2020-11-23 09:12:51 +01:00
e1558b4487
makefiles/tools/qemu: add common qemu makefile
2020-11-20 14:17:54 +01:00
b7c1f7b2dd
makefiles/renode: don't export EMULATOR variables
2020-11-20 12:30:49 +01:00
Bas Stottelaar
8e1f6efa6d
makefiles: model efm32_coretemp as a feature
2020-11-18 17:27:17 +01:00
Francisco Molina
6a606e3f21
makefiles/tools/cc2538-bsl: use --write-erase to avoid mass erase
2020-11-16 09:13:57 +01:00
Francisco Molina
8f1e2cbe00
dist/tools/cc2538-bsl: add Makefile to build dependencies
2020-11-16 09:13:57 +01:00
Martine Lenders
a07d3e0fc9
Merge pull request #14755 from benpicco/examples/gnrc_border_router-native
...
examples/gnrc_border_route: simplify ZEP setup on native
2020-11-13 18:41:03 +01:00
benpicco
be9eb22bb8
Merge pull request #15106 from chrysn-pull-requests/saul-rgbleds
...
saul_pwm: auto-init'able RGB LEDs and dimmers
2020-11-13 18:22:30 +01:00
Benjamin Valentin
90f3c15084
socket_zep: send dummy HELLO packet on connect
2020-11-13 18:10:57 +01:00
Gilles DOFFE
4bfbb75578
cpu/stm32: add stm32mp1_eng_mode pseudomodule
...
In Engineering mode (BOOT0 off and BOOT2 on), only the Cortex-M4
core is running. It means that all clocks have to be setup
by the Cortex-M4 core.
In other modes, the clocks are setup by the Cortex-A7 and then should
not be setup by Cortex-M4.
stm32mp1_eng_mode pseudomodule have to be used in Engineering mode
to ensure clocks configuration with IS_USED(MODULE_STM32MP1_ENG_MODE)
macro.
This macro can also be used in periph_conf.h to define clock source
for each peripheral.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
cca2d70808
tools/openocd: add stlink-dap adapter
...
stlink-dap adapter is based on stlink-dap.cfg and is used by
STM32MP1 family.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
8a35e114c0
tools/openocd: add GDB_PORT_CORE_OFFSET variable
...
In case of muticore CPU, openocd opens one debug port by core for gdb.
Thus add a GDB_PORT_CORE_OFFSET port offset to select the right port
for debugging.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
4f3ea5c74c
tools/openocd: select target core
...
For multi-arch SoC like STM32MP1, the right target core has
to be selected to avoid debugging the wrong default cpu.
This is done using openocd command 'targets ${OPENOCD_CORE}'.
OPENOCD_CORE has to be set in board Makefile.include file.
In case it is not set, the command just display available targets, thus it
has no effect on already existing boards using openocd.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
792e031a95
Merge pull request #14331 from maribu/atomic_utils
...
sys/atomic_utils: Functions for atomic access
2020-11-12 21:44:53 +01:00
Marian Buschsieweke
feee507bf9
makefiles/arch/riscv.inc.mk: Detect target triple
...
This improves the target triple detection logic to include all possible target
triples of compilers that might be able to generate our binaries.
2020-11-06 20:53:28 +01:00
Leandro Lanzieri
5e0ce392d1
makefiles/kconfig: run kconfig always when menuconfig is called
2020-11-06 15:58:01 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files
2020-11-06 15:58:00 +01:00
Bas Stottelaar
12e9818430
riotboot: quote PATH variable
2020-11-05 22:59:29 +01:00
Marian Buschsieweke
0e8b8ffa64
sys/atomic_utils: Functions for atomic access
...
A set of functions competing with C11 atomics feature-wise, but are implemented
more efficient.
2020-11-05 10:23:32 +01:00
Leandro Lanzieri
e815863aa9
tools/genconfig: add invalid configurations checks
2020-11-05 09:04:07 +01:00
benpicco
ad294aa340
Merge pull request #15203 from maribu/stm32-eth-negotiate
...
cpu/stm32: periph_eth: Use auto-negotation
2020-10-23 14:22:56 +02:00
Francisco Molina
e2c57cde95
cpu/cc2538: cleanup init, add cc2538_rf_obs_sig module
2020-10-22 18:17:08 +02:00
Marian Buschsieweke
5f9b55a182
cpu/stm32: Add stm32_eth_auto for auto-negotiation
...
Expose the auto-negotiation feature of the Ethernet device via the
pseudo-module stm32_eth_auto. With this enabled, the static speed configuration
set in the boards periph_conf.h will only be used if the PHY lacks
auto-negotiation capabilities - which is unlikely to ever happen.
2020-10-22 12:37:23 +02:00
chrysn
d196c7c4a6
drivers/saul/auto_init: Add PWM for LEDs
...
In analogy to the existing GPIO mappings, this provides (write-only)
SAUL entries for PWM'd LEDs in a single-LED (as SAUL_ACT_DIMMER) and an
RGB (as SAUL_ACT_RGB_LED) mode.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2020-10-17 11:20:17 +02:00
benpicco
ee189fa428
Merge pull request #15187 from bergzand/pr/info/add_json
...
info.inc.mk: Add info-build-json as JSON-formatted build info
2020-10-15 21:27:26 +02:00
Cenk Gündoğan
f05ac07f19
Merge pull request #15217 from leandrolanzieri/pr/kconfig/allow_merge_configs
...
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG
2020-10-13 15:11:09 +02:00
benpicco
4852c09027
Merge pull request #15058 from benpicco/feature_stdio_highlevel
...
boards: remove the bootloader_% pseudo-feature, replace it with highlevel_stdio
2020-10-13 14:25:03 +02:00
Benjamin Valentin
971f0f6fee
boards: remove the bootloader_% pseudo-feature
...
This feature is only used to blacklist stdio via CDC ACM.
Introduce the `highlevel_stdio` feature instead to indicate
that stdio functionality requires a running thread to print
anything
2020-10-13 10:30:22 +02:00
Leandro Lanzieri
4d7ea1b50a
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG
2020-10-13 09:53:00 +02:00
Leandro Lanzieri
34d84ad8c6
makefile: add check for ERROR_ Kconfig symbols
...
This adds a check in the build process to verify that no ERROR_ Kconfig
symbols are set. These symbols indicate invalid conditions in the
Kconfig configuration.
2020-10-09 18:01:33 +02:00
aba91f144c
info.inc.mk: Add info-build-json as JSON-formatted build info
2020-10-09 12:02:28 +02:00
2dac4db343
make: Use common comma variable definition
2020-10-09 12:02:28 +02:00
8e0ac2aeab
make: Add variable definitions for comma and space
2020-10-09 12:02:27 +02:00
benpicco
c979fda1f3
Merge pull request #14367 from basilfx/feature/cortex_m33
...
cpu/cortex: add initial support for Cortex-M33
2020-10-08 22:55:06 +02:00
9006d7ad43
info-objsize: Restore info-objsize target
...
This restores the functionality of the info-objsize target.
2020-10-07 14:44:56 +02:00
Bas Stottelaar
0f8cecb50b
cpu/cortexm_common: add support for Cortex-M33
2020-10-06 17:11:26 +02:00
0941867bf9
Merge pull request #15022 from fjmolinas/pr_default_modules_info_global
...
makefiles/info-global.inc.mk: add initial default modules inclusion
2020-10-01 14:07:06 +02:00
benpicco
6cb8da7813
Merge pull request #14950 from jia200x/pr/ieee802154/submac
...
ieee802154_submac: add initial support for common MAC sub layer
2020-10-01 11:31:52 +02:00
benpicco
f2a1043654
Merge pull request #13565 from jia200x/pr/netdev_submodule
...
netdev: make netdev_% variants a submodule
2020-09-30 22:55:45 +02:00