- 27 Apr, 2021 40 commits
-
-
Daniel Leung authored
Due to the use of gperf to generate hash table for kobjects, the addresses of these kobjects cannot change during the last few phases of linking (especially between zephyr_prebuilt.elf and zephyr.elf). Because of this, the gperf generated data needs to be placed at the end of memory to avoid pushing symbols around in memory. This prevents moving these generated blocks to earlier sections, for example, pinned data section needed for demand paging. So create placeholders for use in intermediate linking to reserve space for these generated blocks. Due to uncertainty on the size of these blocks, more space is being reserved which could result in wasted space. Though, this retains the use of hash table for faster lookup. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
-
Daniel Leung authored
There is no need to specify linker section for variables in the output. The compiled object file from the produced source file will be further processed to have them renamed anyway. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
-
Daniel Leung authored
The metadata array for priv_stacks doesn't change and can be marked const so this can put in ROM. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
-
Qi Feng authored
Add document about debugging with Arm Development Studio and some description. Standardize the names. Signed-off-by: Qi Feng <qi.feng@arm.com>
-
Qi Feng authored
So that rst files located in a certain board are not listed in board level table of contents. Signed-off-by: Qi Feng <qi.feng@arm.com>
-
Torsten Rasmussen authored
Fixes: #34368 Now added WEST_PYTHON to list of preferred pythons to check. WEST_PYTHON is added after PYTHON_PREFER so that a user may still request a specific python is used by supplying `-DPYTHON_PREFER=<python>` even when building using `west build`. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
-
Emil Gydesen authored
The error check was removed earlier as it was assumed that we would either get an error, or the data would be valid. However, without an error check, we are not guarded against bad reads. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
If the output description of the server is empty (legal by the spec), then we should not return an error to the application when read. Also added some debug statements when the value is truncated. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
Fixes 2 issues: 1) The write callback always returned an error 2) The auto-read of the offset state did not, unlike what the comment suggested, retry only once and fail on the second attempt, but rather keep retrying. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
Add authentication check to the security checks for GATT notify and indicate. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
Adds a security checks when notifying or indicating, such that we don't send notifications for characteristics that require encryption on an unencrypted link. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Enjia Mai authored
Make some change on two codvar test cases to fit testing under SMP, and shorter the test cases execution time. Fixes #33558. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
-
Enjia Mai authored
Try to remove CONFIG_MP_NUM_CPUS=1 configuration for the test of condvar, sysmutex and semaphore, in order to test SMP condition more. Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
-
Carlo Caione authored
To make it consistent with the yaml of the other FVP board. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
-
Carlo Caione authored
Add support for the FVP Base RevC 2xAEMv8A board to be emulated using the same FVP. For now the virtual platform is only exposing one core and the basic set of peripherals (GICv3, ARM arch timer, PL011, etc...). INFO - Total complete: 256/ 256 100% skipped: 933, failed: 0 Signed-off-by: Carlo Caione <ccaione@baylibre.com>
-
Navin Sankar Velliangiri authored
Implement new workqueue API changes. Signed-off-by: Navin Sankar Velliangiri <navin@linumiz.com>
-
William MARTIN authored
Update the I2S_INIT macro to correct the i2s_pins loading. Signed-off-by: William MARTIN <william.martin@power-lan.com>
-
Peter Bigot authored
Refactor best practices from the API refactoring issue and integrate them into the existing documentation. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Minor terminology misuse, style changes, or clarifications. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Reference the helper macro used to obtain the containing context structure from a work item pointer within a work handler. Also document the proper way to do this for delayable work items. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Point out that this macro can be used to avoid the need to initialize a work item. This is still of limited use since it can't statically initialize a work item within another structure. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Use queued uniformly when referring to items that are in a work queue, rather than "pending" which includes items that are scheduled or running. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
The return value is documented to be true if the work was pending, but the implementation returned true only if the work was actually running (i.e. the caller had to wait). It should also return true if scheduled or submitted work was cancelled. Note that this means the return value cannot be used to determine whether the call slept. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Alberto Escolar Piedras authored
The NATIVE_TASK macro uses macros from the toolchain header. Instead of relaying on the header to be included by somebody else, include it explicity here. Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
-
Robert Lubos authored
Initializing a work item from its handler will destroy the content of the kernel structures used to process the work item. This can lead to a system crash for example when the delayed work is being rescheduled when the previous run is already queued for processing but not yet executed. Fix this by initializing the work item once during trickle timer creation and moving the logic, previously achieved by switching the work handler, into the new work handler. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
-
Anas Nashif authored
Do not configure this as a test, this will change footprint drastically and will skew results and tracking. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-
Gerson Fernando Budke authored
Introduce revision for cy8ckit_062_ble board. Revision 0.0.0 represent the original board schematic which connects Arduino header signals to PSoC-6 KitProg. The revision 1.0.0 should be used after board rework to access other serial ports and full Arduino headers. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
-
Gerson Fernando Budke authored
Add pinctrl and interrupt information for both cores. The uart-6 is the default serial communication on the kit connected to m0 core. It uses SCB[6] and the NVIC line 21 as interrupt source on Cortex-M0+ cpu. The line 21 is an arbitrary value and users can select any value. The SCB[6] shares pins with Arduino headers D8/D9. It may be necessary an USB serial converter to sample signals and enable Zephyr console on PC. The uart-5 is the default serial communication port for m4. It is connected to Arduino serial line. A HW rework may need to allow Arduino header to be useful. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
-
Gerson Fernando Budke authored
Add pinctrl and interrupt information for both m0/4 cores. The uart-5 is the default serial communication on the kit and it is connected to Cortex-M0+ cpu. It uses SCB[5] and the NVIC line 21 as interrupt source on Cortex-M0+ cpu. The line 21 is an arbitrary value and users can select any value. The SCB[5] shares pins with Arduino headers D0/D1 and it is wired with the on-board USB Serial converter. This means, if use wants use an external shield it must rework the board. The uart-6 is the default serial communication for Cortex-M4 cpu, which uses SCB[6]. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
-
Gerson Fernando Budke authored
Current Cypress PSoC-6 serial driver only works using polling mode. Add serial driver interrupt routines to allow use of interrupts. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
-
Gerson Fernando Budke authored
The current serial driver uses hard code configuration. Rework driver to use pinctrl and enable full configuration from device tree. Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
-
Marek Pieta authored
Change adds LED GPIO driver to build_all test. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
-
Marek Pieta authored
Change introduces LED GPIO driver. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
-
Krzysztof Chruscinski authored
Fixed C++ warnings coming from implicit casting. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Add guard to not use C11 specific feature when in C++. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Krzysztof Chruscinski authored
Cleanup to fix warnings coming from c++ compilation. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
Henrik Brix Andersen authored
Add pinctrl-0 properties for configuration of UART, I2C, SPI, FTM, DAC, ADC, ACMP, and PWT peripherals. These settings are based on what is defined in the board/pinmux.c file. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
-
Peter Bigot authored
Add a function that uses the JESD216 SFDP BFP DW16 Enter 4-Byte Addressing parameter to put the device into 4-byte addressing mode if one of the entry modes that's supported by the driver is available on the device. Perform the transition if SFDP data is provided (either by devicetree or at runtime), or if a special devicetree property provides the entry mode descriptor. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Add a helper function to decode the address byte support data from the SFDP BFP. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-
Peter Bigot authored
Support both 24-bit and 32-bit address values when constructing the device command. Note that some commands require 24-bit address regardless of mode, and some require 32-bit addresses regardless of mode, so provide command-specific overrides of a generic (but not yet configurable) default address size. With this we no longer need a special interface for READ_SFDP which uses a 24-bit address but with a wait state introduced by clocking out a fifth command byte. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
-