- 04 Sep, 2020 40 commits
-
-
Jan Kowalewski authored
Add basic port for QuickLogic EOS S3 SoC. Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
-
Jan Kowalewski authored
Add basic devicetree for EOS S3 SoCs. Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
-
Jan Kowalewski authored
Add proper Kconfig for external QuickLogic module. Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
-
Jan Kowalewski authored
Add QuickLogic HAL module to west manifest. Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
-
Carles Cufi authored
When offloading only ZSOCK_POLLIN and DNS_EAI_MEMORY are available, so use those instead of the standard ones. Fixes #28069. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
-
Anas Nashif authored
On errors we were aborting immediately skipping any needed cleanup after the error has occured. This will run the cleanup function and upload reports of failure when something bad happens. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-
Torsten Rasmussen authored
This command add support for `<command>_flag_final` to all bintools commands. This allows users that has special use-cases to use a CMake script for bintool command execution, and thereby have full control of command invocation and argument processing. Example of how to specify the property for such use: Calling a custom script for elfconvert command: set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_COMMAND}) set_property(TARGET bintools PROPERTY elfconvert_flag "") set_property(TARGET bintools PROPERTY elfconvert_flag_final -P elfconvert.cmake) set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-DSTRIP_ALL=True") set_property(TARGET bintools PROPERTY elfconvert_flag_infile "-DINFILE=") set_property(TARGET bintools PROPERTY elfconvert_flag_outfile "-DOUT_FILE=") Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
This commit is to be squashed into compiler abstraction commit. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
This commit updates the get Zephyr settings functions to be able to handle settings if those settings are expressed using a generator expression. As example, zephyr_get_include_directories_for_lang(...) would prefix each include property of zephyr_interface with `-I`, like this: Property: include;include/generated;lib/libc/minimal/include becomes: `-Iinclude -Iinclude/generated -Ilib/libc/minimal/include` But if the property contains a generator expression: Property: include;$<TARGET_PROPERTY:compiler,some_include> becomes: -Iinclude -I$<TARGET_PROPERTY:compiler,some_include> and in case that property is a list, this results in: `-Iinclude -Iinclude/list_item1;include/list_item2;include/list_itemN` and thus breaking the build. This is fixed by using `$<JOIN:<list>>` expression instead, which ensures all list item, regardless of provided as simple list or through the usage another generator expression, will always expand correctly. Functions updated in the commit: - zephyr_get_include_directories_for_lang - zephyr_get_system_include_directories_for_lang - zephyr_get_compile_definitions_for_lang - zephyr_get_compile_options_for_lang The sample `application_development/external_lib` has been updated according to those changes. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
When fetching include, system include, compiler options, or compiler defines, then it is important to strip the SHELL: (no de-duplication) tag of any flag. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
This commit fixes an issue in the process_flags function. The function check a list of flags for generator expression for provided language, for example: $<$<COMPILE_LANGUAGE:C>:--flag> and then converts that into a single compile flag, `--flag` This works as long as $<COMPILE_LANGUAGE:[language]> is the only generator expression present in the flag. In case the flag contains multiple generator expression, then the current substitution fails. This commit keep existing behaviour for simple cases, but extends the more complex cases into a always enabled generator expression, that is $<$<COMPILE_LANGUAGE:C>:$<ADDITIONAL_EXPRESSION>> into $<1:$<ADDITIONAL_EXPRESSION>> and $<$<FIRST_EXPRESSION>$<COMPILE_LANGUAGE:C>:--flag> into $<$<FIRST_EXPRESSION>$<1:--flag> Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
The Xtense xcc compiler now uses the new compiler abstraction. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
This commit introduces disabling of de-duplication for imacro. Disabling of de-duplication allows for a space between the imacro flag and arguments. This allows for broader range of compiler support in future. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
As part of toolchain abstraction three template files to facilitate additional toolchain support development has been introduced. Those covers: - bintools - compiler flags - linker flags Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
GNU/bintools abstraction completed. The following commands and flags are now available in bintools: - memusage - elfconvert - dissassembly - readelf - strip The bintools template has now been updated with more description which will be useful when adding support for more toolchains in future. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Torsten Rasmussen authored
First abstraction completed for the toolchains: - gcc - clang Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Richard Osterloh authored
Add sample to show usage of VCNL4040 sensor driver Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
-
Richard Osterloh authored
Add support for Vishay VCNL4040 proximity and light sensor Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
-
Øyvind Rønningstad authored
Fix dox and restructure ASM. No functional changes. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
-
Guillaume Lager authored
Some logging configuration are compatible with software-base Link Layer. Currently only one configuration is supported: RTT back-end in drop mode and no clean output Signed-off-by: Guillaume Lager <guillaume.lager@gmail.com>
-
Kamil Piszczek authored
Used multi-instance macro defined in gatt.h for OTS instance definitions. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
-
Kamil Piszczek authored
Added macro that helps to declare multi-instance services. The macro allows to statically define service structure array. Each element of the array is linked to the service attribute array that is provided by the user. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
-
Joakim Andersson authored
Add the command add-subscription to the shell to test the bt_gatt_add_subscription API. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
Joakim Andersson authored
Allow the application to add subscription without resubscribing. This is needed for persistent bonds that can go to deep sleep and turn of the RAM or power-cycle. In this case the application as a GATT client must have a way to add the subscription callbacks back to the stack before the GATT server sends notifications. This should preferable be able to be done before even connecting since the notifications can arrive immediately after connecting to the peer. The stack cannot persist this on it's own since it must remember the function pointers for the callback functions. Storing these in persistent storage would not be compatible with a Device Firmware Upgrade (DFU) solution. Fixes: #21798 Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
Joakim Andersson authored
Refactor the gatt_sub_add function to be similar in structure to how find_cf_cfg is implemented. This is so that a subscription can be added without an active connection. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
Joakim Andersson authored
Clarify the note about the lifetime of the subscribe parameters. The note uses subscribe procedure lifetime, but the parameters must remain valid after having subscribed as well, until the subscription is removed. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
Torsten Rasmussen authored
Fixes: #27934 This commit introduces additional naming support of config files. It is now possible to create a config file of the form `prj_<build>.conf` and automatically have a corresponding `boards/<BOARD>_<build>.conf` config file merged. As example, one can create a structure as: |-- prj.conf |-- prj_debug.conf |-- boards |-- nrf52840dk_nrf52840.conf |-- nrf52840dk_nrf52840_debug.conf when building: (existing behavior) cmake -DBOARD=nrf52840dk_nrf52840 ... prj.conf is merged with nrf52840dk_nrf52840.conf when building: (new behavior) cmake -DBOARD=nrf52840dk_nrf52840 -DCONF_FILE=prj_debug.conf ... prj_debug.conf is merged with nrf52840dk_nrf52840_debug.conf Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Emil Obalski authored
Flag name usb_dev.configured is misleading as it does not mean the device is configured. This flag indicates whenever endpoints for the device were enabled. For all classes except for audio endpoints are enabled on set_configuration request. This sets the configured flag true. For Audio this will never happen as what enables audio endpoints is set_interface request. Without this patch audio samples will STALL all interface requests. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
-
Francois Ramu authored
The dmamux requires HEAP size definition, so that k_malloc is valid. The HEAP size config is defined in the common for any stm32 soc instead of specific to dma Kconfig Signed-off-by: Francois Ramu <francois.ramu@st.com>
-
Henrik Brix Andersen authored
Add a reference to the V2C-DAPLink shield from the Digilent Arty board documentation. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
-
Henrik Brix Andersen authored
Add support for the ARM DesignStart DAPLink board for Digilent Arty S7/A7 (V2C DAPLink) shield. This shield is designed to be used along with the ARM Cortex-M1/M3 DesignStart FPGA reference designs running on the Digilent Arty. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
-
Henrik Brix Andersen authored
Add missing default for enabling CONFIG_SPI if CONFIG_FLASH is enabled. This is needed for CONFIG_SPI_NOR. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
-
Henrik Brix Andersen authored
The ARM Cortex-M1/M3 DesignStart FPGA reference designs support booting from an off-board, memory-mapped QSPI NOR flash device. The V2C DAPlink shield from ARM Ltd. provides support for this feature. If the board/shield is not configured for booting from the QSPI NOR device, that same device is available as a regular QSPI NOR flash device. The presense of a shield configured for QSPI NOR flash boot is indicated through an IRQ line used as a level-detect, non-interrupt signal. Introduce a board specific devicetree binding for the DAPLink QSPI MUX and provide a board specific API accessing it. Automatically set the QSPI MUX to to provide regular QSPI NOR flash access if the board/shield is not configured for memory-mapped QSPI NOR flash boot. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
-
Andrei Gansari authored
Make BL2 configurable via Kconfig. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-
Andrei Gansari authored
Make BL2 setting configurable via Kconfig choice. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-
Andrei Gansari authored
Updates west.yml to use modules/tee/tfm commit number 143df675557305b61f7930a50459a53a8d2bb097. Change: make BL2 configurable. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-
Andrei Gansari authored
Adds documentation on how to run TFM samples on LPCxpresso55S69 board. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-
Andrei Gansari authored
Configures the Non-Secure target to work with TFM. Memory (Flash and RAM) mapping according to TFM definitions. How to build and flash the board. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com> Signed-off-by: Kevin Townsend <kevin@ktownsend.com>
-
Andrei Gansari authored
Moved the flash partitioning to the shared device tree include so all targets can benefit from the partitioning. This is implemented to MCUboot can run TFM(S) with Zephyr (lpc55s69 cpu 0 NS). Also defines RAM partitions as TFM expects them, first part of ram for S, second half for NS. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-
Andrei Gansari authored
Configure build variable BL2 depending on board configuration. BL2 is set to True by default. BL2 enabled building TFM with MCUboot. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
-