2019-01-25 06:12:28 +01:00
|
|
|
# The west manifest file for upstream Zephyr.
|
|
|
|
#
|
|
|
|
# The per-installation west configuration file, .west/config, sets the
|
|
|
|
# path to the project containing this file in the [manifest] section's
|
|
|
|
# "path" variable.
|
|
|
|
#
|
|
|
|
# You are free to create your own manifest files and put them in any
|
|
|
|
# repository you want, to create your own custom Zephyr installations.
|
|
|
|
# For example, you could create a manifest file in your own out of
|
|
|
|
# tree application directory, which would pull this zephyr repository
|
|
|
|
# in as an ordinary project.
|
|
|
|
#
|
|
|
|
# You can pass your manifest repositories to west init when creating a
|
|
|
|
# new Zephyr installation. See the west documentation for more
|
|
|
|
# information.
|
|
|
|
|
|
|
|
manifest:
|
|
|
|
defaults:
|
|
|
|
remote: upstream
|
|
|
|
|
|
|
|
remotes:
|
|
|
|
- name: upstream
|
|
|
|
url-base: https://github.com/zephyrproject-rtos
|
2023-06-07 16:33:18 +02:00
|
|
|
- name: babblesim
|
|
|
|
url-base: https://github.com/BabbleSim
|
2019-01-25 06:12:28 +01:00
|
|
|
|
2023-03-10 15:08:27 +01:00
|
|
|
group-filter: [-babblesim]
|
|
|
|
|
2019-06-13 14:03:43 +02:00
|
|
|
#
|
|
|
|
# Please add items below based on alphabetical order
|
2019-01-25 06:12:28 +01:00
|
|
|
projects:
|
2023-03-30 07:47:50 +02:00
|
|
|
- name: acpica
|
|
|
|
revision: f16a0b4d0f0edd7b78a332fcf507be2187fac21e
|
|
|
|
path: modules/lib/acpica
|
2023-03-10 15:08:27 +01:00
|
|
|
- name: bsim
|
|
|
|
repo-path: babblesim-manifest
|
2023-06-14 15:15:34 +02:00
|
|
|
revision: 384a091445c57b44ac8cbd18ebd245b47c71db94
|
2023-06-07 16:33:18 +02:00
|
|
|
path: tools/bsim
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_base
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: base.git
|
|
|
|
path: tools/bsim/components
|
2023-06-14 15:15:34 +02:00
|
|
|
revision: 19d62424c0802c6c9fc15528febe666e40f372a1
|
2023-06-07 16:33:18 +02:00
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_libPhyComv1
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_libPhyComv1.git
|
|
|
|
path: tools/bsim/components/ext_2G4_libPhyComv1
|
|
|
|
revision: 9018113a362fa6c9e8f4b9cab9e5a8f12cc46b94
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_phy_v1
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_phy_v1.git
|
|
|
|
path: tools/bsim/components/ext_2G4_phy_v1
|
2023-06-14 15:15:34 +02:00
|
|
|
revision: d47c6dd90035b41b14f6921785ccb7b8484868e2
|
2023-06-07 16:33:18 +02:00
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_channel_NtNcable
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_channel_NtNcable.git
|
|
|
|
path: tools/bsim/components/ext_2G4_channel_NtNcable
|
|
|
|
revision: 20a38c997f507b0aa53817aab3d73a462fff7af1
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_channel_multiatt
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_channel_multiatt.git
|
|
|
|
path: tools/bsim/components/ext_2G4_channel_multiatt
|
2023-06-14 15:15:34 +02:00
|
|
|
revision: bde72a57384dde7a4310bcf3843469401be93074
|
2023-06-07 16:33:18 +02:00
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_modem_magic
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_modem_magic.git
|
|
|
|
path: tools/bsim/components/ext_2G4_modem_magic
|
|
|
|
revision: cb70771794f0bf6f262aa474848611c68ae8f1ed
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_modem_BLE_simple
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_modem_BLE_simple.git
|
|
|
|
path: tools/bsim/components/ext_2G4_modem_BLE_simple
|
2023-06-14 15:15:34 +02:00
|
|
|
revision: 809ab073159c9ab6686c2fea5749b0702e0909f7
|
2023-06-07 16:33:18 +02:00
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_device_burst_interferer
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_device_burst_interferer.git
|
|
|
|
path: tools/bsim/components/ext_2G4_device_burst_interferer
|
|
|
|
revision: 5b5339351d6e6a2368c686c734dc8b2fc65698fc
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_device_WLAN_actmod
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_device_WLAN_actmod.git
|
|
|
|
path: tools/bsim/components/ext_2G4_device_WLAN_actmod
|
|
|
|
revision: 9cb6d8e72695f6b785e57443f0629a18069d6ce4
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_2G4_device_playback
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_2G4_device_playback.git
|
|
|
|
path: tools/bsim/components/ext_2G4_device_playback
|
|
|
|
revision: 85c645929cf1ce995d8537107d9dcbd12ed64036
|
|
|
|
groups:
|
|
|
|
- babblesim
|
|
|
|
- name: babblesim_ext_libCryptov1
|
|
|
|
remote: babblesim
|
|
|
|
repo-path: ext_libCryptov1.git
|
|
|
|
path: tools/bsim/components/ext_libCryptov1
|
|
|
|
revision: eed6d7038e839153e340bd333bc43541cb90ba64
|
|
|
|
groups:
|
|
|
|
- babblesim
|
2019-07-01 20:46:07 +02:00
|
|
|
- name: canopennode
|
2023-01-09 14:46:19 +01:00
|
|
|
revision: dec12fa3f0d790cafa8414a4c2930ea71ab72ffd
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/lib/canopennode
|
2021-07-27 21:46:34 +02:00
|
|
|
- name: chre
|
2022-12-09 19:19:58 +01:00
|
|
|
revision: b7955c27e50485b7dafdc3888d7d6afdc2ac6d96
|
2021-07-27 21:46:34 +02:00
|
|
|
path: modules/lib/chre
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: cmsis
|
2022-10-07 07:54:46 +02:00
|
|
|
revision: 74981bf893e8b10931464b9945e2143d99a3f0a3
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/cmsis
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: edtt
|
2023-03-07 10:49:27 +01:00
|
|
|
revision: 64e5105ad82390164fb73fc654be3f73a608209a
|
2021-06-30 09:51:53 +02:00
|
|
|
path: tools/edtt
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- tools
|
2019-05-12 16:35:56 +02:00
|
|
|
- name: fatfs
|
2023-01-16 13:22:47 +01:00
|
|
|
revision: 427159bf95ea49b7680facffaa29ad506b42709b
|
2019-05-12 16:35:56 +02:00
|
|
|
path: modules/fs/fatfs
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- fs
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_altera
|
2022-05-10 16:21:38 +02:00
|
|
|
revision: 0d225ddd314379b32355a00fb669eacf911e750d
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/altera
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_atmel
|
2023-03-30 19:16:22 +02:00
|
|
|
revision: 5ab43007eda3f380c125f957f03638d2e8d1144d
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/atmel
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_espressif
|
2023-07-20 18:24:09 +02:00
|
|
|
revision: ae1bd648a1ac701672c46b6ff4eadfa716937ce3
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/espressif
|
|
|
|
west-commands: west/west-commands.yml
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2022-05-30 16:17:20 +02:00
|
|
|
- name: hal_ethos_u
|
|
|
|
revision: 90ada2ea5681b2a2722a10d2898eac34c2510791
|
|
|
|
path: modules/hal/ethos_u
|
|
|
|
groups:
|
|
|
|
- hal
|
2021-10-19 14:06:33 +02:00
|
|
|
- name: hal_gigadevice
|
2023-01-11 22:45:09 +01:00
|
|
|
revision: 2994b7dde8b0b0fa9b9c0ccb13474b6a486cddc3
|
2021-10-19 14:06:33 +02:00
|
|
|
path: modules/hal/gigadevice
|
|
|
|
groups:
|
|
|
|
- hal
|
2020-04-21 11:37:42 +02:00
|
|
|
- name: hal_infineon
|
2023-05-01 07:37:59 +02:00
|
|
|
revision: 0bebc14d8bd1a249ee7fbc70b37db6f01f72544f
|
2020-04-21 11:37:42 +02:00
|
|
|
path: modules/hal/infineon
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_microchip
|
2022-04-11 12:00:24 +02:00
|
|
|
revision: 5d079f1683a00b801373bbbbf5d181d4e33b30d5
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/microchip
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-08-15 17:17:01 +02:00
|
|
|
- name: hal_nordic
|
2023-07-26 16:44:42 +02:00
|
|
|
revision: cf6e9fc5f7c2c98df26f2a4227a95df9a50823e7
|
2019-08-15 17:17:01 +02:00
|
|
|
path: modules/hal/nordic
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2020-04-15 10:04:50 +02:00
|
|
|
- name: hal_nuvoton
|
2023-07-20 15:10:29 +02:00
|
|
|
revision: 3e0a4c4d3328b2f72b164219add19d5308b53cb5
|
2020-04-15 10:04:50 +02:00
|
|
|
path: modules/hal/nuvoton
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_nxp
|
2023-06-20 09:43:24 +02:00
|
|
|
revision: 1a55ccfde649a97df74a8853cbd9787ddd34bfc4
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/nxp
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_openisa
|
2022-11-02 20:25:47 +01:00
|
|
|
revision: d1e61c0c654d8ca9e73d27fca3a7eb3b7881cb6a
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/openisa
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_quicklogic
|
|
|
|
revision: b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0
|
|
|
|
path: modules/hal/quicklogic
|
|
|
|
repo-path: hal_quicklogic
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2022-06-21 12:00:02 +02:00
|
|
|
- name: hal_renesas
|
|
|
|
path: modules/hal/renesas
|
2023-03-15 12:37:10 +01:00
|
|
|
revision: f2d791d28cd8fdbc5861652b863822632c91f690
|
2022-06-21 12:00:02 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-11-29 22:10:37 +01:00
|
|
|
- name: hal_rpi_pico
|
|
|
|
path: modules/hal/rpi_pico
|
2023-01-21 12:04:48 +01:00
|
|
|
revision: b7801e4db6a62ea2d37bbef7880c3d056530c9bf
|
2021-11-29 22:10:37 +01:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-04-06 06:06:14 +02:00
|
|
|
- name: hal_silabs
|
2023-06-29 17:35:32 +02:00
|
|
|
revision: 5fbe78d3676b5500585f8e4534a8e56e7dae74a8
|
2019-04-06 06:06:14 +02:00
|
|
|
path: modules/hal/silabs
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-06-18 06:13:45 +02:00
|
|
|
- name: hal_st
|
2023-03-29 16:19:38 +02:00
|
|
|
revision: 5948f7b3304f1628a45ee928cd607619a7f53bbb
|
2019-06-18 06:13:45 +02:00
|
|
|
path: modules/hal/st
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-06-18 06:13:45 +02:00
|
|
|
- name: hal_stm32
|
2023-07-11 16:46:57 +02:00
|
|
|
revision: 1bc72c299d0365c0ee2575a97918b22df0899e10
|
2019-06-18 06:13:45 +02:00
|
|
|
path: modules/hal/stm32
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2021-07-09 10:40:33 +02:00
|
|
|
- name: hal_telink
|
2022-06-15 10:50:30 +02:00
|
|
|
revision: 38573af589173259801ae6c2b34b7d4c9e626746
|
2021-07-09 10:40:33 +02:00
|
|
|
path: modules/hal/telink
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-08-20 15:37:49 +02:00
|
|
|
- name: hal_ti
|
init: remove the need for a dummy device pointer in SYS_INIT functions
The init infrastructure, found in `init.h`, is currently used by:
- `SYS_INIT`: to call functions before `main`
- `DEVICE_*`: to initialize devices
They are all sorted according to an initialization level + a priority.
`SYS_INIT` calls are really orthogonal to devices, however, the required
function signature requires a `const struct device *dev` as a first
argument. The only reason for that is because the same init machinery is
used by devices, so we have something like:
```c
struct init_entry {
int (*init)(const struct device *dev);
/* only set by DEVICE_*, otherwise NULL */
const struct device *dev;
}
```
As a result, we end up with such weird/ugly pattern:
```c
static int my_init(const struct device *dev)
{
/* always NULL! add ARG_UNUSED to avoid compiler warning */
ARG_UNUSED(dev);
...
}
```
This is really a result of poor internals isolation. This patch proposes
a to make init entries more flexible so that they can accept sytem
initialization calls like this:
```c
static int my_init(void)
{
...
}
```
This is achieved using a union:
```c
union init_function {
/* for SYS_INIT, used when init_entry.dev == NULL */
int (*sys)(void);
/* for DEVICE*, used when init_entry.dev != NULL */
int (*dev)(const struct device *dev);
};
struct init_entry {
/* stores init function (either for SYS_INIT or DEVICE*)
union init_function init_fn;
/* stores device pointer for DEVICE*, NULL for SYS_INIT. Allows
* to know which union entry to call.
*/
const struct device *dev;
}
```
This solution **does not increase ROM usage**, and allows to offer clean
public APIs for both SYS_INIT and DEVICE*. Note that however, init
machinery keeps a coupling with devices.
**NOTE**: This is a breaking change! All `SYS_INIT` functions will need
to be converted to the new signature. See the script offered in the
following commit.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
init: convert SYS_INIT functions to the new signature
Conversion scripted using scripts/utils/migrate_sys_init.py.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
manifest: update projects for SYS_INIT changes
Update modules with updated SYS_INIT calls:
- hal_ti
- lvgl
- sof
- TraceRecorderSource
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: devicetree: devices: adjust test
Adjust test according to the recently introduced SYS_INIT
infrastructure.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: kernel: threads: adjust SYS_INIT call
Adjust to the new signature: int (*init_fn)(void);
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-19 09:33:44 +02:00
|
|
|
revision: ae1db23f32dde779cdfc4afaa9a60ea219310a64
|
2019-08-20 15:37:49 +02:00
|
|
|
path: modules/hal/ti
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2022-07-21 16:00:51 +02:00
|
|
|
- name: hal_wurthelektronik
|
|
|
|
revision: 24ca9873c3d608fad1fea0431836bc8f144c132e
|
|
|
|
path: modules/hal/wurthelektronik
|
|
|
|
groups:
|
|
|
|
- hal
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: hal_xtensa
|
2023-03-15 23:36:16 +01:00
|
|
|
revision: 41a631d4aeeeaedc0daece21eecc338807296ad7
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/hal/xtensa
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2019-05-23 01:58:54 +02:00
|
|
|
- name: libmetal
|
2023-05-19 10:00:00 +02:00
|
|
|
revision: b91611a6f47dd29fb24c46e5621e797557f80ec6
|
2019-05-23 01:58:54 +02:00
|
|
|
path: modules/hal/libmetal
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- hal
|
2022-06-27 11:31:23 +02:00
|
|
|
- name: liblc3
|
2022-08-22 14:48:27 +02:00
|
|
|
revision: 448f3de31f49a838988a162ef1e23a89ddf2d2ed
|
|
|
|
path: modules/lib/liblc3
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: littlefs
|
|
|
|
path: modules/fs/littlefs
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- fs
|
2022-08-31 21:14:16 +02:00
|
|
|
revision: ca583fd297ceb48bced3c2548600dc615d67af24
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: loramac-node
|
2022-09-28 08:20:12 +02:00
|
|
|
revision: ce57712f3e426bbbb13acaec97b45369f716f43a
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/lib/loramac-node
|
2019-07-03 21:45:39 +02:00
|
|
|
- name: lvgl
|
2023-07-14 09:56:23 +02:00
|
|
|
revision: 5da257f782a8f9c6e265bdc60ebc2a93fdee24de
|
2019-07-03 21:45:39 +02:00
|
|
|
path: modules/lib/gui/lvgl
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: lz4
|
|
|
|
revision: 8e303c264fc21c2116dc612658003a22e933124d
|
|
|
|
path: modules/lib/lz4
|
2019-06-13 14:03:43 +02:00
|
|
|
- name: mbedtls
|
2023-07-22 15:04:28 +02:00
|
|
|
revision: 6e7841e5a08eb5da3c82dbc8b6b6d82ae4b7d2a0
|
2019-06-13 14:03:43 +02:00
|
|
|
path: modules/crypto/mbedtls
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- crypto
|
2019-07-30 14:13:35 +02:00
|
|
|
- name: mcuboot
|
2023-07-24 09:54:40 +02:00
|
|
|
revision: 76d19b3b8885ea7ae25a6f4f5d8501f7ec646447
|
2019-07-30 14:13:35 +02:00
|
|
|
path: bootloader/mcuboot
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: mipi-sys-t
|
|
|
|
path: modules/debug/mipi-sys-t
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- debug
|
2023-06-15 21:41:58 +02:00
|
|
|
revision: a819419603a2dfcb47f7f39092e1bc112e45d1ef
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: nanopb
|
2023-03-17 10:14:47 +01:00
|
|
|
revision: 42fa8b211e946b90b9d968523fce7b1cfe27617e
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/lib/nanopb
|
2019-06-13 14:03:43 +02:00
|
|
|
- name: net-tools
|
2022-05-27 10:28:29 +02:00
|
|
|
revision: e0828aa9629b533644dc96ff6d1295c939bd713c
|
2019-06-13 17:31:41 +02:00
|
|
|
path: tools/net-tools
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- tools
|
2021-06-30 09:51:53 +02:00
|
|
|
- name: nrf_hw_models
|
2023-07-27 10:32:10 +02:00
|
|
|
revision: cee41373eb0bb720a370586de1ee5eb693e62c95
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/bsim_hw_models/nrf_hw_models
|
2019-05-23 02:00:01 +02:00
|
|
|
- name: open-amp
|
2023-07-18 11:13:06 +02:00
|
|
|
revision: 42b7c577714b8f22ce82a901e19c1814af4609a8
|
2019-05-23 02:00:01 +02:00
|
|
|
path: modules/lib/open-amp
|
2019-07-22 11:34:26 +02:00
|
|
|
- name: openthread
|
2023-07-14 09:17:19 +02:00
|
|
|
revision: f7690fe7e9d638341921808cba6a3e695ec0131e
|
2019-07-22 11:34:26 +02:00
|
|
|
path: modules/lib/openthread
|
lib/libc: Add picolibc support (aarch32, aarch64 and RISC-V) [v21]
Picolibc is a fork of newlib designed and tested on embedded systems. It
offers a smaller memory footprint (both ROM and RAM), and native TLS
support, which uses the Zephyr TLS support.
By default, the full printf version is included in the executable, which
includes exact floating point and long long input and output. A
configuration option has been added to switch to the integer-only
version (which also omits long long support).
Here are some size comparisons using qemu-cortex-m3 and this application
(parameters passed to printf to avoid GCC optimizing it into puts):
void main(void)
{
printf("Hello World! %s %d\n", CONFIG_BOARD, 12);
}
FLASH SRAM
minimal 8696 3952
picolibc int 7600 3960
picolibc float 12304 3960
newlib-nano int 11696 4128
newlib-nano float 30516 4496
newlib 34800 6112
---
v2:
Include picolibc-tls.ld
v3:
Document usage in guides/c_library.rst and
getting_started/toolchain_other_x_compilers.rst
v4:
Lost the lib/libc/picolibc directory somehow!
v5:
Add PICOLIBC_ALIGNED_HEAP_SIZE configuration option.
Delete PICOLIBC_SEMIHOST option support code
v6:
Don't allocate static RAM for TLS values; TLS
values only need to be allocated for each thread.
v7:
Use arm coprocessor for TLS pointer storage where supported for
compatibility with the -mtp=cp15 compiler option (or when the
target cpu type selects this option)
Add a bunch of tests
Round TLS segment up to stack alignment so that overall stack
remains correctly aligned
Add aarch64 support
Rebase to upstream head
v8:
Share NEWLIB, NEWLIB_NANO and PICOLIBC library configuration
variables in a single LIBC_PARTITIONS variable instead of
having separate PICOLIBC_PART and NEWLIB_PART variables.
v9:
Update docs to reference pending sdk-ng support for picolibc
v10:
Support memory protection by creating a partition for
picolibc shared data and any pre-defined picolibc heap.
v11:
Fix formatting in arch/arm/core/aarch64/switch.S
v12:
Remove TLS support from this patch now that TLS is upstream
Require THREAD_LOCAL_STORAGE when using PICOLIBC for architectures
that support it.
v13:
Merge errno changes as they're only needed for picolibc.
Adapt cmake changes suggested by Torsten Tejlmand Rasmussen
v14:
Update to picolibc 1.7 and newer (new stdin/stdout/stderr ABI)
v15:
Respond to comments from dcpleung:
* switch kernel/errno to use CONFIG_LIBC_ERRNO instead of
CONFIG_PICOLIBC
* Add comment to test/lib/sprintf as to why the %n test
was disabled for picolibc.
v16:
Switch picolibc to a module built with Zephyr. This eliminates
toolchain dependencies and allows compiler settings for Zephyr
to also be applied to picolibc.
v17:
Provide Zephyr-specific 'abort' implementation.
Support systems with MMU
v18:
Allow use of toolchain picolibc version.
v19:
Use zephyr/ for zephyr headers
v20:
Add locking
Use explicit commit for picolibc module
v21:
Create PICOLIBC_SUPPORTED config param. Set on arc, arm, arm64,
mips and riscv architectures.
Signed-off-by: Keith Packard <keithp@keithp.com>
2020-10-27 03:07:50 +01:00
|
|
|
- name: picolibc
|
|
|
|
path: modules/lib/picolibc
|
2023-05-29 07:51:36 +02:00
|
|
|
revision: d07c38ff051386f8e09a143ea0a6c1d6d66dd1d8
|
2019-05-23 21:47:26 +02:00
|
|
|
- name: segger
|
2023-03-30 12:56:45 +02:00
|
|
|
revision: 5792675a2470d0f3857de1e77bff57b38c28de3b
|
2019-05-23 21:47:26 +02:00
|
|
|
path: modules/debug/segger
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- debug
|
2020-06-26 02:30:00 +02:00
|
|
|
- name: sof
|
2023-04-19 10:19:03 +02:00
|
|
|
revision: ffbf9c2a6ea2930b0ac7e3a37c7cd7f5c417d090
|
2020-06-26 02:30:00 +02:00
|
|
|
path: modules/audio/sof
|
2021-07-29 22:09:39 +02:00
|
|
|
- name: tflite-micro
|
|
|
|
revision: 9156d050927012da87079064db59d07f03b8baf6
|
|
|
|
path: modules/lib/tflite-micro
|
|
|
|
repo-path: tflite-micro
|
2020-03-20 12:11:33 +01:00
|
|
|
- name: tinycrypt
|
|
|
|
revision: 3e9a49d2672ec01435ffbf0d788db6d95ef28de0
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/crypto/tinycrypt
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- crypto
|
2021-05-06 18:31:13 +02:00
|
|
|
- name: TraceRecorderSource
|
init: remove the need for a dummy device pointer in SYS_INIT functions
The init infrastructure, found in `init.h`, is currently used by:
- `SYS_INIT`: to call functions before `main`
- `DEVICE_*`: to initialize devices
They are all sorted according to an initialization level + a priority.
`SYS_INIT` calls are really orthogonal to devices, however, the required
function signature requires a `const struct device *dev` as a first
argument. The only reason for that is because the same init machinery is
used by devices, so we have something like:
```c
struct init_entry {
int (*init)(const struct device *dev);
/* only set by DEVICE_*, otherwise NULL */
const struct device *dev;
}
```
As a result, we end up with such weird/ugly pattern:
```c
static int my_init(const struct device *dev)
{
/* always NULL! add ARG_UNUSED to avoid compiler warning */
ARG_UNUSED(dev);
...
}
```
This is really a result of poor internals isolation. This patch proposes
a to make init entries more flexible so that they can accept sytem
initialization calls like this:
```c
static int my_init(void)
{
...
}
```
This is achieved using a union:
```c
union init_function {
/* for SYS_INIT, used when init_entry.dev == NULL */
int (*sys)(void);
/* for DEVICE*, used when init_entry.dev != NULL */
int (*dev)(const struct device *dev);
};
struct init_entry {
/* stores init function (either for SYS_INIT or DEVICE*)
union init_function init_fn;
/* stores device pointer for DEVICE*, NULL for SYS_INIT. Allows
* to know which union entry to call.
*/
const struct device *dev;
}
```
This solution **does not increase ROM usage**, and allows to offer clean
public APIs for both SYS_INIT and DEVICE*. Note that however, init
machinery keeps a coupling with devices.
**NOTE**: This is a breaking change! All `SYS_INIT` functions will need
to be converted to the new signature. See the script offered in the
following commit.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
init: convert SYS_INIT functions to the new signature
Conversion scripted using scripts/utils/migrate_sys_init.py.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
manifest: update projects for SYS_INIT changes
Update modules with updated SYS_INIT calls:
- hal_ti
- lvgl
- sof
- TraceRecorderSource
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: devicetree: devices: adjust test
Adjust test according to the recently introduced SYS_INIT
infrastructure.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: kernel: threads: adjust SYS_INIT call
Adjust to the new signature: int (*init_fn)(void);
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-19 09:33:44 +02:00
|
|
|
revision: bc839bf94904bcdb91b33760e918afbef82e3ab4
|
2021-06-30 09:51:53 +02:00
|
|
|
path: modules/debug/TraceRecorder
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- debug
|
2020-05-08 15:22:52 +02:00
|
|
|
- name: trusted-firmware-m
|
2023-07-22 15:04:28 +02:00
|
|
|
revision: 79a6115d3a8d0e04864ae8156c1dc8532b750f5a
|
2021-10-19 17:57:44 +02:00
|
|
|
path: modules/tee/tf-m/trusted-firmware-m
|
|
|
|
groups:
|
|
|
|
- tee
|
2022-07-08 04:32:56 +02:00
|
|
|
- name: trusted-firmware-a
|
2023-05-29 09:32:20 +02:00
|
|
|
revision: 421dc050278287839f5c70019bd6aec617f2bbdb
|
2022-07-08 04:32:56 +02:00
|
|
|
path: modules/tee/tf-a/trusted-firmware-a
|
|
|
|
groups:
|
|
|
|
- tee
|
2021-10-19 17:57:44 +02:00
|
|
|
- name: tf-m-tests
|
2023-07-22 15:04:28 +02:00
|
|
|
revision: 0f80a65193ddbbe3f0ac38b33b07b26138c11fa7
|
2021-10-19 17:57:44 +02:00
|
|
|
path: modules/tee/tf-m/tf-m-tests
|
|
|
|
groups:
|
|
|
|
- tee
|
|
|
|
- name: psa-arch-tests
|
2023-03-01 13:19:54 +01:00
|
|
|
revision: 6a17330e0dfb5f319730f974d5b05f7b7f04757b
|
2021-10-19 17:57:44 +02:00
|
|
|
path: modules/tee/tf-m/psa-arch-tests
|
2021-07-15 11:14:56 +02:00
|
|
|
groups:
|
|
|
|
- tee
|
2022-02-08 12:56:43 +01:00
|
|
|
- name: uoscore-uedhoc
|
|
|
|
revision: e8920192b66db4f909eb9cd3f155d5245c1ae825
|
|
|
|
path: modules/lib/uoscore-uedhoc
|
2022-03-01 17:23:07 +01:00
|
|
|
- name: zcbor
|
2023-04-03 13:56:56 +02:00
|
|
|
revision: 67fd8bb88d3136738661fa8bb5f9989103f4599e
|
2022-03-01 17:23:07 +01:00
|
|
|
path: modules/lib/zcbor
|
2021-10-22 23:55:40 +02:00
|
|
|
- name: zscilib
|
|
|
|
path: modules/lib/zscilib
|
2023-05-28 13:44:32 +02:00
|
|
|
revision: 34c3432e81085bb717e4871d21ca419ae0058ec5
|
2023-01-23 02:47:48 +01:00
|
|
|
- name: thrift
|
|
|
|
path: modules/lib/thrift
|
|
|
|
revision: 10023645a0e6cb7ce23fcd7fd3dbac9f18df6234
|
2019-01-25 06:12:28 +01:00
|
|
|
|
|
|
|
self:
|
|
|
|
path: zephyr
|
|
|
|
west-commands: scripts/west-commands.yml
|
2021-07-23 02:29:15 +02:00
|
|
|
import: submanifests
|