You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/07/27 23:14:20 UTC
[51/51] [partial] incubator-mynewt-core git commit: add stm32 and
nordic sdks based on new structure
add stm32 and nordic sdks based on new structure
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f06c2d2b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f06c2d2b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f06c2d2b
Branch: refs/heads/sterly_refactor
Commit: f06c2d2b9f8219102d2acf117b1aa4946d009c43
Parents: a0810f7
Author: Sterling Hughes <st...@apache.org>
Authored: Wed Jul 27 16:10:59 2016 -0700
Committer: Sterling Hughes <st...@apache.org>
Committed: Wed Jul 27 16:12:40 2016 -0700
----------------------------------------------------------------------
apps/blinky/pkg.yml | 1 +
apps/blinky/src/main.c | 43 +
hw/bsp/nrf52dk/include/bsp/boards.h | 0
hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h | 2 +-
hw/bsp/nrf52dk/include/bsp/nrf_drv_config.h | 464 +
hw/bsp/nrf52dk/pkg.yml | 3 +-
.../include/bsp/cmsis_nvic.h | 2 +-
.../include/bsp/stm32f4xx_hal_conf.h | 840 +-
hw/bsp/olimex_stm32-e407_devboard/src/hal_bsp.c | 6 +-
.../src/system_stm32f4xx.c | 79 +-
hw/mcu/nordic/nrf52xxx/include/mcu/cortex_m4.h | 2 +-
hw/mcu/nordic/nrf52xxx/include/mcu/nrf52.h | 2028 ---
hw/mcu/nordic/nrf52xxx/pkg.yml | 4 +
hw/mcu/nordic/nrf52xxx/src/hal_cputime.c | 4 +-
hw/mcu/nordic/nrf52xxx/src/hal_gpio.c | 4 +-
hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c | 2 +-
hw/mcu/nordic/nrf52xxx/src/nrf52_hw_id.c | 2 +-
hw/mcu/nordic/pkg.yml | 47 +
.../components/device/compiler_abstraction.h | 126 +
.../components/device/nrf.h | 66 +
.../components/device/nrf51.h | 1285 ++
.../components/device/nrf51_bitfields.h | 6892 ++++++++
.../components/device/nrf51_deprecated.h | 438 +
.../components/device/nrf51_to_nrf52.h | 935 ++
.../components/device/nrf52.h | 2125 +++
.../components/device/nrf52_bitfields.h | 14861 +++++++++++++++++
.../components/device/nrf52_name_change.h | 70 +
.../components/drivers_nrf/adc/nrf_drv_adc.c | 253 +
.../components/drivers_nrf/adc/nrf_drv_adc.h | 288 +
.../drivers_nrf/ble_flash/ble_flash.c | 286 +
.../drivers_nrf/ble_flash/ble_flash.h | 142 +
.../drivers_nrf/clock/nrf_drv_clock.c | 479 +
.../drivers_nrf/clock/nrf_drv_clock.h | 246 +
.../drivers_nrf/common/nrf_drv_common.c | 208 +
.../drivers_nrf/common/nrf_drv_common.h | 194 +
.../components/drivers_nrf/comp/nrf_drv_comp.c | 174 +
.../components/drivers_nrf/comp/nrf_drv_comp.h | 268 +
.../drivers_nrf/config/nrf_drv_config.h | 464 +
.../config/nrf_drv_config_validation.h | 83 +
.../components/drivers_nrf/delay/nrf_delay.c | 26 +
.../components/drivers_nrf/delay/nrf_delay.h | 242 +
.../drivers_nrf/gpiote/nrf_drv_gpiote.c | 580 +
.../drivers_nrf/gpiote/nrf_drv_gpiote.h | 309 +
.../components/drivers_nrf/hal/nrf_adc.c | 78 +
.../components/drivers_nrf/hal/nrf_adc.h | 416 +
.../components/drivers_nrf/hal/nrf_clock.h | 414 +
.../components/drivers_nrf/hal/nrf_comp.h | 469 +
.../components/drivers_nrf/hal/nrf_ecb.c | 74 +
.../components/drivers_nrf/hal/nrf_ecb.h | 66 +
.../components/drivers_nrf/hal/nrf_egu.h | 286 +
.../components/drivers_nrf/hal/nrf_gpio.h | 647 +
.../components/drivers_nrf/hal/nrf_gpiote.h | 391 +
.../components/drivers_nrf/hal/nrf_i2s.h | 523 +
.../components/drivers_nrf/hal/nrf_lpcomp.h | 367 +
.../components/drivers_nrf/hal/nrf_nvmc.c | 117 +
.../components/drivers_nrf/hal/nrf_nvmc.h | 90 +
.../components/drivers_nrf/hal/nrf_pdm.h | 359 +
.../components/drivers_nrf/hal/nrf_ppi.h | 402 +
.../components/drivers_nrf/hal/nrf_pwm.h | 661 +
.../components/drivers_nrf/hal/nrf_qdec.h | 468 +
.../components/drivers_nrf/hal/nrf_rng.h | 211 +
.../components/drivers_nrf/hal/nrf_rtc.h | 304 +
.../components/drivers_nrf/hal/nrf_saadc.c | 31 +
.../components/drivers_nrf/hal/nrf_saadc.h | 554 +
.../components/drivers_nrf/hal/nrf_spi.h | 334 +
.../components/drivers_nrf/hal/nrf_spim.h | 520 +
.../components/drivers_nrf/hal/nrf_spis.h | 512 +
.../components/drivers_nrf/hal/nrf_temp.h | 55 +
.../components/drivers_nrf/hal/nrf_timer.h | 576 +
.../components/drivers_nrf/hal/nrf_twi.h | 402 +
.../components/drivers_nrf/hal/nrf_twim.h | 478 +
.../components/drivers_nrf/hal/nrf_twis.h | 676 +
.../components/drivers_nrf/hal/nrf_uart.h | 471 +
.../components/drivers_nrf/hal/nrf_uarte.h | 534 +
.../components/drivers_nrf/hal/nrf_wdt.h | 299 +
.../components/drivers_nrf/i2s/nrf_drv_i2s.c | 355 +
.../components/drivers_nrf/i2s/nrf_drv_i2s.h | 219 +
.../drivers_nrf/lpcomp/nrf_drv_lpcomp.c | 151 +
.../drivers_nrf/lpcomp/nrf_drv_lpcomp.h | 107 +
.../drivers_nrf/nrf_soc_nosd/nrf_error.h | 48 +
.../drivers_nrf/nrf_soc_nosd/nrf_nvic.c | 96 +
.../drivers_nrf/nrf_soc_nosd/nrf_nvic.h | 130 +
.../drivers_nrf/nrf_soc_nosd/nrf_soc.c | 21 +
.../drivers_nrf/nrf_soc_nosd/nrf_soc.h | 44 +
.../components/drivers_nrf/pdm/nrf_drv_pdm.c | 170 +
.../components/drivers_nrf/pdm/nrf_drv_pdm.h | 167 +
.../components/drivers_nrf/ppi/nrf_drv_ppi.c | 427 +
.../components/drivers_nrf/ppi/nrf_drv_ppi.h | 284 +
.../pstorage/config/pstorage_platform.h | 72 +
.../components/drivers_nrf/pstorage/pstorage.c | 1572 ++
.../components/drivers_nrf/pstorage/pstorage.h | 381 +
.../drivers_nrf/pstorage/pstorage_nosd.c | 525 +
.../drivers_nrf/pstorage/pstorage_raw.c | 471 +
.../components/drivers_nrf/pwm/nrf_drv_pwm.c | 350 +
.../components/drivers_nrf/pwm/nrf_drv_pwm.h | 426 +
.../components/drivers_nrf/qdec/nrf_drv_qdec.c | 168 +
.../components/drivers_nrf/qdec/nrf_drv_qdec.h | 149 +
.../drivers_nrf/radio_config/radio_config.c | 160 +
.../drivers_nrf/radio_config/radio_config.h | 21 +
.../components/drivers_nrf/rng/nrf_drv_rng.c | 250 +
.../components/drivers_nrf/rng/nrf_drv_rng.h | 115 +
.../components/drivers_nrf/rtc/nrf_drv_rtc.c | 290 +
.../components/drivers_nrf/rtc/nrf_drv_rtc.h | 325 +
.../drivers_nrf/saadc/nrf_drv_saadc.c | 509 +
.../drivers_nrf/saadc/nrf_drv_saadc.h | 303 +
.../drivers_nrf/sdio/config/sdio_config.h | 18 +
.../components/drivers_nrf/sdio/sdio.c | 217 +
.../components/drivers_nrf/sdio/sdio.h | 69 +
.../drivers_nrf/spi_master/nrf_drv_spi.c | 655 +
.../drivers_nrf/spi_master/nrf_drv_spi.h | 368 +
.../drivers_nrf/spi_master/spi_5W_master.c | 602 +
.../drivers_nrf/spi_master/spi_5W_master.h | 170 +
.../drivers_nrf/spi_slave/nrf_drv_spis.c | 396 +
.../drivers_nrf/spi_slave/nrf_drv_spis.h | 223 +
.../components/drivers_nrf/swi/nrf_drv_swi.c | 326 +
.../components/drivers_nrf/swi/nrf_drv_swi.h | 167 +
.../drivers_nrf/timer/nrf_drv_timer.c | 280 +
.../drivers_nrf/timer/nrf_drv_timer.h | 372 +
.../deprecated/config/twi_master_config.h | 18 +
.../twi_master/deprecated/twi_hw_master.c | 304 +
.../twi_master/deprecated/twi_master.h | 101 +
.../twi_master/deprecated/twi_sw_master.c | 492 +
.../drivers_nrf/twi_master/nrf_drv_twi.c | 972 ++
.../drivers_nrf/twi_master/nrf_drv_twi.h | 384 +
.../drivers_nrf/twis_slave/nrf_drv_twis.c | 881 +
.../drivers_nrf/twis_slave/nrf_drv_twis.h | 398 +
.../twis_slave/nrf_drv_twis_inst.def | 20 +
.../components/drivers_nrf/uart/nrf_drv_uart.c | 851 +
.../components/drivers_nrf/uart/nrf_drv_uart.h | 293 +
.../components/drivers_nrf/wdt/nrf_drv_wdt.c | 118 +
.../components/drivers_nrf/wdt/nrf_drv_wdt.h | 124 +
.../components/libraries/ant_fs/antfs.c | 2337 +++
.../components/libraries/ant_fs/antfs.h | 350 +
.../components/libraries/ant_fs/crc.c | 55 +
.../components/libraries/ant_fs/crc.h | 42 +
.../components/libraries/ant_fs/defines.h | 60 +
.../ble_transport/hci_mem_pool_internal.h | 32 +
.../libraries/bootloader_dfu/bootloader.c | 382 +
.../libraries/bootloader_dfu/bootloader.h | 97 +
.../bootloader_dfu/bootloader_settings.c | 63 +
.../bootloader_dfu/bootloader_settings.h | 35 +
.../libraries/bootloader_dfu/bootloader_types.h | 59 +
.../libraries/bootloader_dfu/bootloader_util.c | 152 +
.../libraries/bootloader_dfu/bootloader_util.h | 38 +
.../components/libraries/bootloader_dfu/dfu.h | 134 +
.../libraries/bootloader_dfu/dfu_app_handler.c | 192 +
.../libraries/bootloader_dfu/dfu_app_handler.h | 86 +
.../bootloader_dfu/dfu_bank_internal.h | 87 +
.../libraries/bootloader_dfu/dfu_ble_svc.h | 80 +
.../bootloader_dfu/dfu_ble_svc_internal.h | 43 +
.../libraries/bootloader_dfu/dfu_dual_bank.c | 834 +
.../libraries/bootloader_dfu/dfu_init.h | 134 +
.../bootloader_dfu/dfu_init_template.c | 155 +
.../libraries/bootloader_dfu/dfu_single_bank.c | 783 +
.../libraries/bootloader_dfu/dfu_transport.h | 40 +
.../bootloader_dfu/dfu_transport_ble.c | 1100 ++
.../bootloader_dfu/dfu_transport_serial.c | 306 +
.../libraries/bootloader_dfu/dfu_types.h | 168 +
.../experimental/dfu_init_template_signing.c | 210 +
.../bootloader_dfu/experimental/nrf_sec.h | 108 +
.../hci_transport/hci_mem_pool_internal.h | 32 +
.../hci_transport/hci_transport_config.h | 45 +
.../components/libraries/button/app_button.c | 191 +
.../components/libraries/button/app_button.h | 112 +
.../components/libraries/crc16/crc16.c | 31 +
.../components/libraries/crc16/crc16.h | 44 +
.../components/libraries/crc32/crc32.c | 31 +
.../components/libraries/crc32/crc32.h | 43 +
.../components/libraries/ecc/ecc.c | 123 +
.../components/libraries/ecc/ecc.h | 61 +
.../experimental_section_vars/section_vars.h | 263 +
.../libraries/fds/config/fds_config.h | 63 +
.../components/libraries/fds/fds.c | 2058 +++
.../components/libraries/fds/fds.h | 733 +
.../libraries/fds/fds_internal_defs.h | 305 +
.../components/libraries/fifo/app_fifo.c | 186 +
.../components/libraries/fifo/app_fifo.h | 145 +
.../libraries/fstorage/config/fstorage_config.h | 59 +
.../components/libraries/fstorage/fstorage.c | 494 +
.../components/libraries/fstorage/fstorage.h | 235 +
.../libraries/fstorage/fstorage_internal_defs.h | 135 +
.../libraries/fstorage/fstorage_nosd.c | 0
.../components/libraries/gpiote/app_gpiote.c | 260 +
.../components/libraries/gpiote/app_gpiote.h | 219 +
.../libraries/gpiote/app_gpiote_fast_detect.c | 527 +
.../components/libraries/hardfault/hardfault.h | 60 +
.../hardfault/hardfault_implementation.c | 47 +
.../nrf51/handler/hardfault_handler_gcc.c | 52 +
.../nrf51/handler/hardfault_handler_iar.c | 65 +
.../nrf51/handler/hardfault_handler_keil.c | 61 +
.../nrf52/handler/hardfault_handler_gcc.c | 49 +
.../nrf52/handler/hardfault_handler_iar.c | 64 +
.../nrf52/handler/hardfault_handler_keil.c | 60 +
.../hci/config/hci_mem_pool_internal.h | 32 +
.../libraries/hci/config/hci_transport_config.h | 40 +
.../components/libraries/hci/hci_mem_pool.c | 235 +
.../components/libraries/hci/hci_mem_pool.h | 132 +
.../components/libraries/hci/hci_slip.c | 428 +
.../components/libraries/hci/hci_slip.h | 129 +
.../components/libraries/hci/hci_transport.c | 779 +
.../components/libraries/hci/hci_transport.h | 220 +
.../components/libraries/ic_info/nrf_ic_info.c | 67 +
.../components/libraries/ic_info/nrf_ic_info.h | 57 +
.../libraries/led_softblink/led_softblink.c | 201 +
.../libraries/led_softblink/led_softblink.h | 131 +
.../libraries/low_power_pwm/low_power_pwm.c | 216 +
.../libraries/low_power_pwm/low_power_pwm.h | 168 +
.../components/libraries/mailbox/app_mailbox.c | 152 +
.../components/libraries/mailbox/app_mailbox.h | 143 +
.../libraries/mailbox/app_mailbox_local.h | 41 +
.../libraries/mem_manager/mem_manager.c | 925 +
.../libraries/mem_manager/mem_manager.h | 139 +
.../components/libraries/pwm/app_pwm.c | 876 +
.../components/libraries/pwm/app_pwm.h | 295 +
.../libraries/scheduler/app_scheduler.c | 227 +
.../libraries/scheduler/app_scheduler.h | 163 +
.../libraries/scheduler/app_scheduler_serconn.c | 262 +
.../components/libraries/sensorsim/sensorsim.c | 73 +
.../components/libraries/sensorsim/sensorsim.h | 85 +
.../components/libraries/sha256/sha256.c | 183 +
.../components/libraries/sha256/sha256.h | 91 +
.../libraries/simple_timer/app_simple_timer.c | 187 +
.../libraries/simple_timer/app_simple_timer.h | 98 +
.../components/libraries/slip/slip.c | 112 +
.../components/libraries/slip/slip.h | 66 +
.../components/libraries/timer/app_timer.c | 1152 ++
.../components/libraries/timer/app_timer.h | 287 +
.../libraries/timer/app_timer_appsh.c | 34 +
.../libraries/timer/app_timer_appsh.h | 44 +
.../libraries/timer/app_timer_ble_gzll.c | 1119 ++
.../libraries/timer/app_timer_freertos.c | 230 +
.../components/libraries/timer/app_timer_rtx.c | 239 +
.../components/libraries/trace/app_trace.c | 43 +
.../components/libraries/trace/app_trace.h | 56 +
.../components/libraries/twi/app_twi.c | 376 +
.../components/libraries/twi/app_twi.h | 290 +
.../components/libraries/uart/app_uart.c | 132 +
.../components/libraries/uart/app_uart.h | 227 +
.../components/libraries/uart/app_uart_fifo.c | 191 +
.../components/libraries/uart/retarget.c | 101 +
.../components/libraries/util/app_error.c | 124 +
.../components/libraries/util/app_error.h | 201 +
.../components/libraries/util/app_error_weak.c | 53 +
.../components/libraries/util/app_error_weak.h | 51 +
.../components/libraries/util/app_util.h | 493 +
.../components/libraries/util/app_util_bds.h | 413 +
.../libraries/util/app_util_platform.c | 60 +
.../libraries/util/app_util_platform.h | 211 +
.../components/libraries/util/common.h | 38 +
.../components/libraries/util/nordic_common.h | 108 +
.../components/libraries/util/nrf_assert.c | 28 +
.../components/libraries/util/nrf_assert.h | 60 +
.../components/libraries/util/nrf_log.c | 425 +
.../components/libraries/util/nrf_log.h | 699 +
.../components/libraries/util/sdk_common.h | 174 +
.../components/libraries/util/sdk_errors.h | 115 +
.../components/libraries/util/sdk_macros.h | 72 +
.../libraries/util/sdk_mapped_flags.c | 161 +
.../libraries/util/sdk_mapped_flags.h | 153 +
.../components/libraries/util/sdk_os.h | 40 +
.../components/libraries/util/sdk_resources.h | 50 +
.../application/codecs/common/ble_dtm_app.c | 73 +
.../application/codecs/common/ble_dtm_app.h | 84 +
.../application/codecs/common/ble_dtm_init.c | 56 +
.../codecs/common/conn_systemreset.c | 42 +
.../codecs/common/conn_systemreset.h | 43 +
.../codecs/s130/middleware/app_mw_ble.c | 498 +
.../codecs/s130/middleware/app_mw_ble_gap.c | 1453 ++
.../codecs/s130/middleware/app_mw_ble_gattc.c | 467 +
.../codecs/s130/middleware/app_mw_ble_gatts.c | 665 +
.../codecs/s130/middleware/app_mw_ble_l2cap.c | 165 +
.../codecs/s130/middleware/app_mw_nrf_soc.c | 144 +
.../s130/serializers/app_ble_gap_sec_keys.c | 73 +
.../s130/serializers/app_ble_gap_sec_keys.h | 81 +
.../codecs/s130/serializers/app_ble_user_mem.c | 74 +
.../codecs/s130/serializers/app_ble_user_mem.h | 81 +
.../codecs/s130/serializers/ble_app.h | 447 +
.../codecs/s130/serializers/ble_enable.c | 50 +
.../codecs/s130/serializers/ble_event.c | 262 +
.../codecs/s130/serializers/ble_evt_app.h | 111 +
.../s130/serializers/ble_evt_tx_complete.c | 49 +
.../s130/serializers/ble_evt_user_mem_release.c | 78 +
.../s130/serializers/ble_evt_user_mem_request.c | 52 +
.../s130/serializers/ble_gap_address_get.c | 75 +
.../s130/serializers/ble_gap_address_set.c | 60 +
.../s130/serializers/ble_gap_adv_data_set.c | 52 +
.../codecs/s130/serializers/ble_gap_adv_start.c | 72 +
.../codecs/s130/serializers/ble_gap_adv_stop.c | 40 +
.../codecs/s130/serializers/ble_gap_app.h | 1320 ++
.../s130/serializers/ble_gap_appearance_get.c | 70 +
.../s130/serializers/ble_gap_appearance_set.c | 44 +
.../s130/serializers/ble_gap_auth_key_reply.c | 76 +
.../s130/serializers/ble_gap_authenticate.c | 52 +
.../serializers/ble_gap_conn_param_update.c | 55 +
.../s130/serializers/ble_gap_conn_sec_get.c | 74 +
.../codecs/s130/serializers/ble_gap_connect.c | 54 +
.../s130/serializers/ble_gap_connect_cancel.c | 42 +
.../s130/serializers/ble_gap_device_name_get.c | 84 +
.../s130/serializers/ble_gap_device_name_set.c | 66 +
.../s130/serializers/ble_gap_disconnect.c | 45 +
.../codecs/s130/serializers/ble_gap_encrypt.c | 68 +
.../s130/serializers/ble_gap_evt_adv_report.c | 72 +
.../codecs/s130/serializers/ble_gap_evt_app.h | 458 +
.../serializers/ble_gap_evt_auth_key_request.c | 53 +
.../s130/serializers/ble_gap_evt_auth_status.c | 72 +
.../serializers/ble_gap_evt_conn_param_update.c | 58 +
.../ble_gap_evt_conn_param_update_request.c | 59 +
.../serializers/ble_gap_evt_conn_sec_update.c | 57 +
.../s130/serializers/ble_gap_evt_connected.c | 53 +
.../s130/serializers/ble_gap_evt_disconnected.c | 48 +
.../s130/serializers/ble_gap_evt_key_pressed.c | 52 +
.../ble_gap_evt_lesc_dhkey_request.c | 71 +
.../serializers/ble_gap_evt_passkey_display.c | 63 +
.../s130/serializers/ble_gap_evt_rssi_changed.c | 53 +
.../serializers/ble_gap_evt_scan_req_report.c | 58 +
.../serializers/ble_gap_evt_sec_info_request.c | 55 +
.../ble_gap_evt_sec_params_request.c | 55 +
.../s130/serializers/ble_gap_evt_sec_request.c | 59 +
.../s130/serializers/ble_gap_evt_timeout.c | 52 +
.../s130/serializers/ble_gap_keypress_notify.c | 52 +
.../s130/serializers/ble_gap_lesc_dhkey_reply.c | 52 +
.../serializers/ble_gap_lesc_oob_data_get.c | 77 +
.../serializers/ble_gap_lesc_oob_data_set.c | 56 +
.../codecs/s130/serializers/ble_gap_ppcp_get.c | 68 +
.../codecs/s130/serializers/ble_gap_ppcp_set.c | 54 +
.../codecs/s130/serializers/ble_gap_rssi_get.c | 80 +
.../s130/serializers/ble_gap_rssi_start.c | 53 +
.../codecs/s130/serializers/ble_gap_rssi_stop.c | 45 +
.../s130/serializers/ble_gap_scan_start.c | 45 +
.../codecs/s130/serializers/ble_gap_scan_stop.c | 40 +
.../s130/serializers/ble_gap_sec_info_reply.c | 78 +
.../s130/serializers/ble_gap_sec_params_reply.c | 87 +
.../s130/serializers/ble_gap_tx_power_set.c | 45 +
.../codecs/s130/serializers/ble_gattc_app.h | 443 +
.../serializers/ble_gattc_attr_info_discover.c | 49 +
.../ble_gattc_char_value_by_uuid_read.c | 61 +
.../serializers/ble_gattc_char_values_read.c | 48 +
.../ble_gattc_characteristics_discover.c | 57 +
.../ble_gattc_descriptors_discover.c | 53 +
.../codecs/s130/serializers/ble_gattc_evt_app.h | 311 +
.../ble_gattc_evt_attr_info_disc_rsp.c | 62 +
.../serializers/ble_gattc_evt_char_disc_rsp.c | 103 +
.../ble_gattc_evt_char_val_by_uuid_read_rsp.c | 78 +
.../ble_gattc_evt_char_vals_read_rsp.c | 66 +
.../serializers/ble_gattc_evt_desc_disc_rsp.c | 95 +
.../codecs/s130/serializers/ble_gattc_evt_hvx.c | 65 +
.../ble_gattc_evt_prim_srvc_disc_rsp.c | 78 +
.../s130/serializers/ble_gattc_evt_read_rsp.c | 66 +
.../serializers/ble_gattc_evt_rel_disc_rsp.c | 65 +
.../s130/serializers/ble_gattc_evt_timeout.c | 75 +
.../s130/serializers/ble_gattc_evt_write_rsp.c | 66 +
.../s130/serializers/ble_gattc_hv_confirm.c | 49 +
.../ble_gattc_primary_services_discover.c | 59 +
.../codecs/s130/serializers/ble_gattc_read.c | 47 +
.../ble_gattc_relationships_discover.c | 57 +
.../codecs/s130/serializers/ble_gattc_write.c | 68 +
.../codecs/s130/serializers/ble_gatts_app.h | 631 +
.../s130/serializers/ble_gatts_attr_get.c | 86 +
.../serializers/ble_gatts_characteristic_add.c | 89 +
.../s130/serializers/ble_gatts_descriptor_add.c | 91 +
.../codecs/s130/serializers/ble_gatts_evt_app.h | 186 +
.../codecs/s130/serializers/ble_gatts_evt_hvc.c | 51 +
.../ble_gatts_evt_rw_authorize_request.c | 78 +
.../s130/serializers/ble_gatts_evt_sc_confirm.c | 49 +
.../ble_gatts_evt_sys_attr_missing.c | 51 +
.../s130/serializers/ble_gatts_evt_timeout.c | 50 +
.../s130/serializers/ble_gatts_evt_write.c | 78 +
.../codecs/s130/serializers/ble_gatts_hvx.c | 115 +
.../s130/serializers/ble_gatts_include_add.c | 74 +
.../ble_gatts_initial_user_handle_get.c | 78 +
.../serializers/ble_gatts_rw_authorize_reply.c | 57 +
.../s130/serializers/ble_gatts_service_add.c | 83 +
.../serializers/ble_gatts_service_changed.c | 55 +
.../s130/serializers/ble_gatts_sys_attr_get.c | 113 +
.../s130/serializers/ble_gatts_sys_attr_set.c | 65 +
.../s130/serializers/ble_gatts_value_get.c | 126 +
.../s130/serializers/ble_gatts_value_set.c | 84 +
.../codecs/s130/serializers/ble_l2cap_app.h | 162 +
.../s130/serializers/ble_l2cap_cid_register.c | 45 +
.../s130/serializers/ble_l2cap_cid_unregister.c | 45 +
.../codecs/s130/serializers/ble_l2cap_evt_app.h | 61 +
.../codecs/s130/serializers/ble_l2cap_evt_rx.c | 56 +
.../codecs/s130/serializers/ble_l2cap_tx.c | 61 +
.../codecs/s130/serializers/ble_opt_get.c | 126 +
.../codecs/s130/serializers/ble_opt_set.c | 117 +
.../s130/serializers/ble_tx_packet_count_get.c | 72 +
.../s130/serializers/ble_user_mem_reply.c | 65 +
.../codecs/s130/serializers/ble_uuid_decode.c | 84 +
.../codecs/s130/serializers/ble_uuid_encode.c | 93 +
.../codecs/s130/serializers/ble_uuid_vs_add.c | 83 +
.../codecs/s130/serializers/ble_version_get.c | 73 +
.../codecs/s130/serializers/ecb_block_encrypt.c | 79 +
.../codecs/s130/serializers/nrf_soc_app.h | 126 +
.../codecs/s130/serializers/power_system_off.c | 32 +
.../codecs/s130/serializers/temp_get.c | 71 +
.../application/hal/arm_startup_nrf51.s | 240 +
.../serialization/application/hal/ser_app_hal.h | 80 +
.../application/hal/ser_app_hal_nrf51.c | 139 +
.../application/hal/ser_app_power_system_off.c | 35 +
.../application/hal/ser_app_power_system_off.h | 24 +
.../application/transport/ser_sd_transport.c | 259 +
.../application/transport/ser_sd_transport.h | 153 +
.../transport/ser_softdevice_handler.c | 200 +
.../transport/ser_softdevice_handler.h | 44 +
.../serialization/common/ble_serialization.c | 520 +
.../serialization/common/ble_serialization.h | 582 +
.../common/cond_field_serialization.c | 62 +
.../common/cond_field_serialization.h | 64 +
.../serialization/common/ser_config.h | 113 +
.../s130/ble_gap_struct_serialization.c | 1495 ++
.../s130/ble_gap_struct_serialization.h | 383 +
.../s130/ble_gattc_struct_serialization.c | 523 +
.../s130/ble_gattc_struct_serialization.h | 117 +
.../s130/ble_gatts_struct_serialization.c | 899 +
.../s130/ble_gatts_struct_serialization.h | 150 +
.../struct_ser/s130/ble_struct_serialization.c | 571 +
.../struct_ser/s130/ble_struct_serialization.h | 135 +
.../s130/nrf_soc_struct_serialization.c | 82 +
.../s130/nrf_soc_struct_serialization.h | 33 +
.../transport/debug/debug_hci_config_nrf6310.h | 44 +
.../common/transport/debug/debug_hci_nrf6310.c | 228 +
.../common/transport/dtm_uart_params.h | 57 +
.../common/transport/ser_hal_transport.c | 460 +
.../common/transport/ser_hal_transport.h | 231 +
.../ser_phy/config/ser_config_5W_app.h | 16 +
.../ser_phy/config/ser_phy_config_app_nrf51.h | 70 +
.../ser_phy/config/ser_phy_config_conn_nrf51.h | 42 +
.../ser_phy/config/ser_phy_debug_app.h | 162 +
.../ser_phy/config/ser_phy_debug_conn.h | 130 +
.../common/transport/ser_phy/ser_phy.c | 61 +
.../common/transport/ser_phy/ser_phy.h | 256 +
.../common/transport/ser_phy/ser_phy_hci.c | 1668 ++
.../common/transport/ser_phy/ser_phy_hci.h | 147 +
.../common/transport/ser_phy/ser_phy_hci_slip.c | 634 +
.../common/transport/ser_phy/ser_phy_nohci.c | 356 +
.../ser_phy/ser_phy_nrf51_nrf_drv_spi.c | 784 +
.../ser_phy/ser_phy_nrf51_spi_5W_master.c | 803 +
.../ser_phy/ser_phy_nrf51_spi_5W_slave.c | 618 +
.../transport/ser_phy/ser_phy_nrf51_spi_slave.c | 580 +
.../transport/ser_phy/ser_phy_nrf51_uart.c | 440 +
.../ser_phy/ser_phy_nrf51_uart_stm_app.c | 754 +
.../ser_phy/ser_phy_nrf51_uart_stm_conn.c | 784 +
.../common/transport/ser_phy/spi_5W_master.c | 603 +
.../common/transport/ser_phy/spi_5W_master.h | 170 +
.../common/transport/ser_phy_debug_comm.h | 167 +
.../connectivity/codecs/common/ble_dtm_conn.h | 77 +
.../connectivity/codecs/common/ble_dtm_init.c | 56 +
.../connectivity/codecs/common/conn_mw.c | 84 +
.../connectivity/codecs/common/conn_mw.h | 38 +
.../codecs/s130/middleware/conn_mw.h | 38 +
.../codecs/s130/middleware/conn_mw_ble.c | 312 +
.../codecs/s130/middleware/conn_mw_ble.h | 179 +
.../codecs/s130/middleware/conn_mw_ble_gap.c | 967 ++
.../codecs/s130/middleware/conn_mw_ble_gap.h | 607 +
.../codecs/s130/middleware/conn_mw_ble_gattc.c | 322 +
.../codecs/s130/middleware/conn_mw_ble_gattc.h | 196 +
.../codecs/s130/middleware/conn_mw_ble_gatts.c | 463 +
.../codecs/s130/middleware/conn_mw_ble_gatts.h | 252 +
.../codecs/s130/middleware/conn_mw_ble_l2cap.c | 91 +
.../codecs/s130/middleware/conn_mw_ble_l2cap.h | 72 +
.../codecs/s130/middleware/conn_mw_items.c | 83 +
.../codecs/s130/middleware/conn_mw_nrf_soc.c | 86 +
.../codecs/s130/middleware/conn_mw_nrf_soc.h | 74 +
.../codecs/s130/serializers/ble_conn.h | 449 +
.../codecs/s130/serializers/ble_enable.c | 46 +
.../codecs/s130/serializers/ble_event.c | 193 +
.../codecs/s130/serializers/ble_evt_conn.h | 95 +
.../s130/serializers/ble_evt_tx_complete.c | 38 +
.../s130/serializers/ble_evt_user_mem_release.c | 56 +
.../s130/serializers/ble_evt_user_mem_request.c | 46 +
.../s130/serializers/ble_gap_address_get.c | 79 +
.../s130/serializers/ble_gap_address_set.c | 52 +
.../s130/serializers/ble_gap_adv_data_set.c | 49 +
.../codecs/s130/serializers/ble_gap_adv_start.c | 88 +
.../codecs/s130/serializers/ble_gap_adv_stop.c | 23 +
.../s130/serializers/ble_gap_appearance_get.c | 76 +
.../s130/serializers/ble_gap_appearance_set.c | 42 +
.../s130/serializers/ble_gap_auth_key_reply.c | 68 +
.../s130/serializers/ble_gap_authenticate.c | 57 +
.../codecs/s130/serializers/ble_gap_conn.h | 1204 ++
.../serializers/ble_gap_conn_param_update.c | 71 +
.../s130/serializers/ble_gap_conn_sec_get.c | 75 +
.../codecs/s130/serializers/ble_gap_connect.c | 55 +
.../s130/serializers/ble_gap_connect_cancel.c | 25 +
.../s130/serializers/ble_gap_device_name_get.c | 92 +
.../s130/serializers/ble_gap_device_name_set.c | 61 +
.../s130/serializers/ble_gap_disconnect.c | 52 +
.../codecs/s130/serializers/ble_gap_encrypt.c | 60 +
.../s130/serializers/ble_gap_evt_adv_report.c | 61 +
.../serializers/ble_gap_evt_auth_key_request.c | 49 +
.../s130/serializers/ble_gap_evt_auth_status.c | 64 +
.../codecs/s130/serializers/ble_gap_evt_conn.h | 376 +
.../serializers/ble_gap_evt_conn_param_update.c | 49 +
.../ble_gap_evt_conn_param_update_request.c | 49 +
.../serializers/ble_gap_evt_conn_sec_update.c | 51 +
.../s130/serializers/ble_gap_evt_connected.c | 49 +
.../s130/serializers/ble_gap_evt_disconnected.c | 49 +
.../s130/serializers/ble_gap_evt_key_pressed.c | 46 +
.../ble_gap_evt_lesc_dhkey_request.c | 52 +
.../serializers/ble_gap_evt_passkey_display.c | 47 +
.../s130/serializers/ble_gap_evt_rssi_changed.c | 38 +
.../serializers/ble_gap_evt_scan_req_report.c | 49 +
.../serializers/ble_gap_evt_sec_info_request.c | 51 +
.../ble_gap_evt_sec_params_request.c | 51 +
.../s130/serializers/ble_gap_evt_sec_request.c | 49 +
.../s130/serializers/ble_gap_evt_timeout.c | 38 +
.../s130/serializers/ble_gap_keypress_notify.c | 56 +
.../s130/serializers/ble_gap_lesc_dhkey_reply.c | 56 +
.../serializers/ble_gap_lesc_oob_data_get.c | 75 +
.../serializers/ble_gap_lesc_oob_data_set.c | 61 +
.../codecs/s130/serializers/ble_gap_ppcp_get.c | 80 +
.../codecs/s130/serializers/ble_gap_ppcp_set.c | 64 +
.../codecs/s130/serializers/ble_gap_rssi_get.c | 77 +
.../s130/serializers/ble_gap_rssi_start.c | 49 +
.../codecs/s130/serializers/ble_gap_rssi_stop.c | 39 +
.../s130/serializers/ble_gap_scan_start.c | 44 +
.../codecs/s130/serializers/ble_gap_scan_stop.c | 23 +
.../s130/serializers/ble_gap_sec_info_reply.c | 72 +
.../s130/serializers/ble_gap_sec_params_reply.c | 90 +
.../s130/serializers/ble_gap_tx_power_set.c | 39 +
.../serializers/ble_gattc_attr_info_discover.c | 59 +
.../ble_gattc_char_value_by_uuid_read.c | 65 +
.../serializers/ble_gattc_char_values_read.c | 53 +
.../ble_gattc_characteristics_discover.c | 63 +
.../codecs/s130/serializers/ble_gattc_conn.h | 434 +
.../ble_gattc_descriptors_discover.c | 62 +
.../ble_gattc_evt_attr_info_disc_rsp.c | 51 +
.../serializers/ble_gattc_evt_char_disc_rsp.c | 73 +
.../ble_gattc_evt_char_val_by_uuid_read_rsp.c | 52 +
.../ble_gattc_evt_char_vals_read_rsp.c | 59 +
.../s130/serializers/ble_gattc_evt_conn.h | 256 +
.../serializers/ble_gattc_evt_desc_disc_rsp.c | 53 +
.../codecs/s130/serializers/ble_gattc_evt_hvx.c | 52 +
.../ble_gattc_evt_prim_srvc_disc_rsp.c | 62 +
.../s130/serializers/ble_gattc_evt_read_rsp.c | 52 +
.../serializers/ble_gattc_evt_rel_disc_rsp.c | 51 +
.../s130/serializers/ble_gattc_evt_timeout.c | 37 +
.../s130/serializers/ble_gattc_evt_write_rsp.c | 53 +
.../s130/serializers/ble_gattc_hv_confirm.c | 45 +
.../ble_gattc_primary_services_discover.c | 67 +
.../codecs/s130/serializers/ble_gattc_read.c | 49 +
.../ble_gattc_relationships_discover.c | 64 +
.../codecs/s130/serializers/ble_gattc_write.c | 59 +
.../s130/serializers/ble_gatts_attr_get.c | 80 +
.../serializers/ble_gatts_characteristic_add.c | 88 +
.../codecs/s130/serializers/ble_gatts_conn.h | 591 +
.../s130/serializers/ble_gatts_descriptor_add.c | 94 +
.../s130/serializers/ble_gatts_evt_conn.h | 156 +
.../codecs/s130/serializers/ble_gatts_evt_hvc.c | 38 +
.../ble_gatts_evt_rw_authorize_request.c | 59 +
.../s130/serializers/ble_gatts_evt_sc_confirm.c | 37 +
.../ble_gatts_evt_sys_attr_missing.c | 37 +
.../s130/serializers/ble_gatts_evt_timeout.c | 37 +
.../s130/serializers/ble_gatts_evt_write.c | 63 +
.../codecs/s130/serializers/ble_gatts_hvx.c | 81 +
.../s130/serializers/ble_gatts_include_add.c | 74 +
.../ble_gatts_initial_user_handle_get.c | 69 +
.../serializers/ble_gatts_rw_authorize_reply.c | 53 +
.../s130/serializers/ble_gatts_service_add.c | 76 +
.../serializers/ble_gatts_service_changed.c | 55 +
.../s130/serializers/ble_gatts_sys_attr_get.c | 125 +
.../s130/serializers/ble_gatts_sys_attr_set.c | 76 +
.../s130/serializers/ble_gatts_value_get.c | 105 +
.../s130/serializers/ble_gatts_value_set.c | 74 +
.../s130/serializers/ble_l2cap_cid_register.c | 46 +
.../s130/serializers/ble_l2cap_cid_unregister.c | 46 +
.../codecs/s130/serializers/ble_l2cap_conn.h | 156 +
.../s130/serializers/ble_l2cap_evt_conn.h | 56 +
.../codecs/s130/serializers/ble_l2cap_evt_rx.c | 50 +
.../codecs/s130/serializers/ble_l2cap_tx.c | 67 +
.../codecs/s130/serializers/ble_opt_get.c | 130 +
.../s130/serializers/ble_opt_id_pre_decoder.c | 36 +
.../codecs/s130/serializers/ble_opt_set.c | 109 +
.../s130/serializers/ble_tx_packet_count_get.c | 69 +
.../s130/serializers/ble_user_mem_reply.c | 66 +
.../codecs/s130/serializers/ble_uuid_decode.c | 77 +
.../codecs/s130/serializers/ble_uuid_encode.c | 117 +
.../codecs/s130/serializers/ble_uuid_vs_add.c | 73 +
.../codecs/s130/serializers/ble_version_get.c | 77 +
.../s130/serializers/conn_ble_gap_sec_keys.c | 73 +
.../s130/serializers/conn_ble_gap_sec_keys.h | 88 +
.../codecs/s130/serializers/conn_ble_user_mem.c | 78 +
.../codecs/s130/serializers/conn_ble_user_mem.h | 81 +
.../codecs/s130/serializers/ecb_block_encrypt.c | 72 +
.../codecs/s130/serializers/nrf_soc_conn.h | 127 +
.../codecs/s130/serializers/power_system_off.c | 28 +
.../codecs/s130/serializers/temp_get.c | 72 +
.../serialization/connectivity/hal/dtm_uart.c | 233 +
.../serialization/connectivity/hal/dtm_uart.h | 23 +
.../connectivity/pstorage_platform.h | 70 +
.../connectivity/ser_conn_cmd_decoder.c | 97 +
.../connectivity/ser_conn_cmd_decoder.h | 53 +
.../connectivity/ser_conn_dtm_cmd_decoder.c | 94 +
.../connectivity/ser_conn_dtm_cmd_decoder.h | 62 +
.../connectivity/ser_conn_error_handling.c | 104 +
.../connectivity/ser_conn_event_encoder.c | 75 +
.../connectivity/ser_conn_event_encoder.h | 50 +
.../connectivity/ser_conn_handlers.c | 129 +
.../connectivity/ser_conn_handlers.h | 84 +
.../connectivity/ser_conn_pkt_decoder.c | 86 +
.../connectivity/ser_conn_pkt_decoder.h | 54 +
.../connectivity/ser_conn_reset_cmd_decoder.c | 20 +
.../connectivity/ser_conn_reset_cmd_decoder.h | 45 +
.../startup/arm/arm_startup_nrf51.s | 240 +
.../toolchain/CMSIS/Include/arm_common_tables.h | 136 +
.../toolchain/CMSIS/Include/arm_const_structs.h | 79 +
.../toolchain/CMSIS/Include/arm_math.h | 7154 ++++++++
.../toolchain/CMSIS/Include/cmsis_armcc.h | 734 +
.../toolchain/CMSIS/Include/cmsis_armcc_V6.h | 1800 ++
.../toolchain/CMSIS/Include/cmsis_gcc.h | 1373 ++
.../toolchain/CMSIS/Include/core_cm0.h | 798 +
.../toolchain/CMSIS/Include/core_cm0plus.h | 914 +
.../toolchain/CMSIS/Include/core_cm3.h | 1763 ++
.../toolchain/CMSIS/Include/core_cm4.h | 1937 +++
.../toolchain/CMSIS/Include/core_cm7.h | 2512 +++
.../toolchain/CMSIS/Include/core_cmFunc.h | 87 +
.../toolchain/CMSIS/Include/core_cmInstr.h | 87 +
.../toolchain/CMSIS/Include/core_cmSimd.h | 96 +
.../toolchain/CMSIS/Include/core_sc000.h | 926 +
.../toolchain/CMSIS/Include/core_sc300.h | 1745 ++
.../toolchain/arm/arm_startup_nrf51.s | 251 +
.../toolchain/arm/arm_startup_nrf52.s | 489 +
.../components/toolchain/arm/uicr_config.h | 104 +
.../components/toolchain/gcc/Makefile.common | 156 +
.../components/toolchain/gcc/Makefile.posix | 4 +
.../components/toolchain/gcc/Makefile.windows | 10 +
.../toolchain/gcc/gcc_nrf51_common.ld | 164 +
.../toolchain/gcc/gcc_startup_nrf51.s | 290 +
.../toolchain/gcc/gcc_startup_nrf52.s | 524 +
.../components/toolchain/gcc/nrf51_common.ld | 160 +
.../components/toolchain/gcc/nrf51_xxaa.ld | 13 +
.../components/toolchain/gcc/nrf51_xxab.ld | 13 +
.../components/toolchain/gcc/nrf51_xxac.ld | 13 +
.../components/toolchain/gcc/nrf52_common.ld | 160 +
.../components/toolchain/gcc/nrf52_xxaa.ld | 13 +
.../components/toolchain/gcc/nrf5x_common.ld | 160 +
.../toolchain/iar/iar_nrf51_blank_xxaa.icf | 31 +
.../toolchain/iar/iar_nrf51_blank_xxac.icf | 31 +
.../toolchain/iar/iar_startup_nrf51.s | 304 +
.../toolchain/iar/iar_startup_nrf52.s | 578 +
.../components/toolchain/system_nrf51.c | 151 +
.../components/toolchain/system_nrf51.h | 69 +
.../components/toolchain/system_nrf51422.c | 121 +
.../components/toolchain/system_nrf52.c | 301 +
.../components/toolchain/system_nrf52.h | 69 +
hw/mcu/stm/stm32f4xx/include/mcu/cortex_m4.h | 4 +-
hw/mcu/stm/stm32f4xx/include/mcu/stm32f407xx.h | 8062 ---------
hw/mcu/stm/stm32f4xx/include/mcu/stm32f4xx.h | 205 -
.../stm/stm32f4xx/include/mcu/stm32f4xx_hal.h | 248 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_adc.h | 766 -
.../include/mcu/stm32f4xx_hal_adc_ex.h | 352 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_can.h | 775 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_cec.h | 681 -
.../include/mcu/stm32f4xx_hal_cortex.h | 200 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_crc.h | 249 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_cryp.h | 536 -
.../include/mcu/stm32f4xx_hal_cryp_ex.h | 221 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_dac.h | 412 -
.../include/mcu/stm32f4xx_hal_dac_ex.h | 199 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_dcmi.h | 515 -
.../include/mcu/stm32f4xx_hal_dcmi_ex.h | 221 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_def.h | 214 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_dma.h | 767 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_dma2d.h | 554 -
.../include/mcu/stm32f4xx_hal_dma_ex.h | 123 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_eth.h | 2217 ---
.../stm32f4xx/include/mcu/stm32f4xx_hal_flash.h | 442 -
.../include/mcu/stm32f4xx_hal_flash_ex.h | 866 -
.../include/mcu/stm32f4xx_hal_flash_ramfunc.h | 97 -
.../include/mcu/stm32f4xx_hal_fmpi2c.h | 577 -
.../include/mcu/stm32f4xx_hal_fmpi2c_ex.h | 151 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_gpio.h | 327 -
.../include/mcu/stm32f4xx_hal_gpio_ex.h | 1100 --
.../stm32f4xx/include/mcu/stm32f4xx_hal_hash.h | 450 -
.../include/mcu/stm32f4xx_hal_hash_ex.h | 200 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_hcd.h | 269 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_i2c.h | 535 -
.../include/mcu/stm32f4xx_hal_i2c_ex.h | 136 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_i2s.h | 511 -
.../include/mcu/stm32f4xx_hal_i2s_ex.h | 148 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_irda.h | 538 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_iwdg.h | 288 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_ltdc.h | 631 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_nand.h | 316 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_nor.h | 301 -
.../include/mcu/stm32f4xx_hal_pccard.h | 267 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_pcd.h | 341 -
.../include/mcu/stm32f4xx_hal_pcd_ex.h | 105 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_pwr.h | 484 -
.../include/mcu/stm32f4xx_hal_pwr_ex.h | 291 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_qspi.h | 788 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_rcc.h | 1537 --
.../include/mcu/stm32f4xx_hal_rcc_ex.h | 2707 ---
.../stm32f4xx/include/mcu/stm32f4xx_hal_rng.h | 364 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_rtc.h | 830 -
.../include/mcu/stm32f4xx_hal_rtc_ex.h | 1000 --
.../stm32f4xx/include/mcu/stm32f4xx_hal_sai.h | 908 -
.../include/mcu/stm32f4xx_hal_sai_ex.h | 101 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_sd.h | 789 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_sdram.h | 196 -
.../include/mcu/stm32f4xx_hal_smartcard.h | 620 -
.../include/mcu/stm32f4xx_hal_spdifrx.h | 559 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_spi.h | 575 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_sram.h | 202 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_tim.h | 1608 --
.../include/mcu/stm32f4xx_hal_tim_ex.h | 325 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_uart.h | 722 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_usart.h | 588 -
.../stm32f4xx/include/mcu/stm32f4xx_hal_wwdg.h | 349 -
.../stm32f4xx/include/mcu/stm32f4xx_ll_fmc.h | 1421 --
.../stm32f4xx/include/mcu/stm32f4xx_ll_fsmc.h | 978 --
.../stm32f4xx/include/mcu/stm32f4xx_ll_sdmmc.h | 908 -
.../stm32f4xx/include/mcu/stm32f4xx_ll_usb.h | 463 -
.../include/mcu/stm32f4xx_mynewt_hal.h | 37 +
.../stm32f4xx/include/mcu/system_stm32f4xx.h | 124 -
hw/mcu/stm/stm32f4xx/pkg.yml | 8 +
.../Device/ST/STM32F4xx/Include/stm32f401xc.h | 4805 ++++++
.../Device/ST/STM32F4xx/Include/stm32f401xe.h | 4805 ++++++
.../Device/ST/STM32F4xx/Include/stm32f405xx.h | 7491 +++++++++
.../Device/ST/STM32F4xx/Include/stm32f407xx.h | 8140 +++++++++
.../Device/ST/STM32F4xx/Include/stm32f410cx.h | 3997 +++++
.../Device/ST/STM32F4xx/Include/stm32f410rx.h | 4001 +++++
.../Device/ST/STM32F4xx/Include/stm32f410tx.h | 3967 +++++
.../Device/ST/STM32F4xx/Include/stm32f411xe.h | 4830 ++++++
.../Device/ST/STM32F4xx/Include/stm32f412cx.h | 6743 ++++++++
.../Device/ST/STM32F4xx/Include/stm32f412rx.h | 7393 ++++++++
.../Device/ST/STM32F4xx/Include/stm32f412vx.h | 7392 ++++++++
.../Device/ST/STM32F4xx/Include/stm32f412zx.h | 7394 ++++++++
.../Device/ST/STM32F4xx/Include/stm32f415xx.h | 7684 +++++++++
.../Device/ST/STM32F4xx/Include/stm32f417xx.h | 8328 +++++++++
.../Device/ST/STM32F4xx/Include/stm32f427xx.h | 8901 ++++++++++
.../Device/ST/STM32F4xx/Include/stm32f429xx.h | 9118 ++++++++++
.../Device/ST/STM32F4xx/Include/stm32f437xx.h | 9093 ++++++++++
.../Device/ST/STM32F4xx/Include/stm32f439xx.h | 9306 +++++++++++
.../Device/ST/STM32F4xx/Include/stm32f446xx.h | 8301 +++++++++
.../Device/ST/STM32F4xx/Include/stm32f469xx.h | 10250 ++++++++++++
.../Device/ST/STM32F4xx/Include/stm32f479xx.h | 10441 ++++++++++++
.../Device/ST/STM32F4xx/Include/stm32f4xx.h | 264 +
.../ST/STM32F4xx/Include/system_stm32f4xx.h | 122 +
.../Device/ST/STM32F4xx/Release_Notes.html | 545 +
.../Source/Templates/arm/startup_stm32f401xc.s | 392 +
.../Source/Templates/arm/startup_stm32f401xe.s | 392 +
.../Source/Templates/arm/startup_stm32f405xx.s | 434 +
.../Source/Templates/arm/startup_stm32f407xx.s | 440 +
.../Source/Templates/arm/startup_stm32f410cx.s | 398 +
.../Source/Templates/arm/startup_stm32f410rx.s | 398 +
.../Source/Templates/arm/startup_stm32f410tx.s | 392 +
.../Source/Templates/arm/startup_stm32f411xe.s | 395 +
.../Source/Templates/arm/startup_stm32f412cx.s | 445 +
.../Source/Templates/arm/startup_stm32f412rx.s | 449 +
.../Source/Templates/arm/startup_stm32f412vx.s | 449 +
.../Source/Templates/arm/startup_stm32f412zx.s | 449 +
.../Source/Templates/arm/startup_stm32f415xx.s | 436 +
.../Source/Templates/arm/startup_stm32f417xx.s | 442 +
.../Source/Templates/arm/startup_stm32f427xx.s | 459 +
.../Source/Templates/arm/startup_stm32f429xx.s | 465 +
.../Source/Templates/arm/startup_stm32f437xx.s | 463 +
.../Source/Templates/arm/startup_stm32f439xx.s | 467 +
.../Source/Templates/arm/startup_stm32f446xx.s | 462 +
.../Source/Templates/arm/startup_stm32f469xx.s | 471 +
.../Source/Templates/arm/startup_stm32f479xx.s | 473 +
.../Source/Templates/gcc/startup_stm32f401xc.s | 450 +
.../Source/Templates/gcc/startup_stm32f401xe.s | 450 +
.../Source/Templates/gcc/startup_stm32f405xx.s | 518 +
.../Source/Templates/gcc/startup_stm32f407xx.s | 523 +
.../Source/Templates/gcc/startup_stm32f410cx.s | 449 +
.../Source/Templates/gcc/startup_stm32f410rx.s | 449 +
.../Source/Templates/gcc/startup_stm32f410tx.s | 440 +
.../Source/Templates/gcc/startup_stm32f411xe.s | 454 +
.../Source/Templates/gcc/startup_stm32f412cx.s | 523 +
.../Source/Templates/gcc/startup_stm32f412rx.s | 526 +
.../Source/Templates/gcc/startup_stm32f412vx.s | 526 +
.../Source/Templates/gcc/startup_stm32f412zx.s | 526 +
.../Source/Templates/gcc/startup_stm32f415xx.s | 520 +
.../Source/Templates/gcc/startup_stm32f417xx.s | 530 +
.../Source/Templates/gcc/startup_stm32f427xx.s | 553 +
.../Source/Templates/gcc/startup_stm32f429xx.s | 561 +
.../Source/Templates/gcc/startup_stm32f437xx.s | 560 +
.../Source/Templates/gcc/startup_stm32f439xx.s | 570 +
.../Source/Templates/gcc/startup_stm32f446xx.s | 554 +
.../Source/Templates/gcc/startup_stm32f469xx.s | 574 +
.../Source/Templates/gcc/startup_stm32f479xx.s | 577 +
.../Templates/iar/linker/stm32f401xc_flash.icf | 31 +
.../Templates/iar/linker/stm32f401xc_sram.icf | 31 +
.../Templates/iar/linker/stm32f401xe_flash.icf | 31 +
.../Templates/iar/linker/stm32f401xe_sram.icf | 31 +
.../Templates/iar/linker/stm32f405xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f405xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f407xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f407xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f410cx_flash.icf | 31 +
.../Templates/iar/linker/stm32f410cx_sram.icf | 31 +
.../Templates/iar/linker/stm32f410rx_flash.icf | 31 +
.../Templates/iar/linker/stm32f410rx_sram.icf | 31 +
.../Templates/iar/linker/stm32f410tx_flash.icf | 31 +
.../Templates/iar/linker/stm32f410tx_sram.icf | 31 +
.../Templates/iar/linker/stm32f411xe_flash.icf | 31 +
.../Templates/iar/linker/stm32f411xe_sram.icf | 31 +
.../Templates/iar/linker/stm32f412cx_flash.icf | 31 +
.../Templates/iar/linker/stm32f412cx_sram.icf | 31 +
.../Templates/iar/linker/stm32f412rx_flash.icf | 31 +
.../Templates/iar/linker/stm32f412rx_sram.icf | 31 +
.../Templates/iar/linker/stm32f412vx_flash.icf | 31 +
.../Templates/iar/linker/stm32f412vx_sram.icf | 31 +
.../Templates/iar/linker/stm32f412zx_flash.icf | 31 +
.../Templates/iar/linker/stm32f412zx_sram.icf | 31 +
.../Templates/iar/linker/stm32f415xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f415xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f417xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f417xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f427xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f427xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f429xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f429xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f437xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f437xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f439xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f439xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f446xx_flash.icf | 31 +
.../Templates/iar/linker/stm32f446xx_sram.icf | 31 +
.../Templates/iar/linker/stm32f469xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f469xx_sram.icf | 34 +
.../Templates/iar/linker/stm32f479xx_flash.icf | 34 +
.../Templates/iar/linker/stm32f479xx_sram.icf | 34 +
.../Source/Templates/iar/startup_stm32f401xc.s | 517 +
.../Source/Templates/iar/startup_stm32f401xe.s | 517 +
.../Source/Templates/iar/startup_stm32f405xx.s | 623 +
.../Source/Templates/iar/startup_stm32f407xx.s | 638 +
.../Source/Templates/iar/startup_stm32f410cx.s | 510 +
.../Source/Templates/iar/startup_stm32f410rx.s | 510 +
.../Source/Templates/iar/startup_stm32f410tx.s | 495 +
.../Source/Templates/iar/startup_stm32f411xe.s | 523 +
.../Source/Templates/iar/startup_stm32f412cx.s | 630 +
.../Source/Templates/iar/startup_stm32f412rx.s | 640 +
.../Source/Templates/iar/startup_stm32f412vx.s | 639 +
.../Source/Templates/iar/startup_stm32f412zx.s | 639 +
.../Source/Templates/iar/startup_stm32f415xx.s | 628 +
.../Source/Templates/iar/startup_stm32f417xx.s | 643 +
.../Source/Templates/iar/startup_stm32f427xx.s | 683 +
.../Source/Templates/iar/startup_stm32f429xx.s | 693 +
.../Source/Templates/iar/startup_stm32f437xx.s | 688 +
.../Source/Templates/iar/startup_stm32f439xx.s | 698 +
.../Source/Templates/iar/startup_stm32f446xx.s | 678 +
.../Source/Templates/iar/startup_stm32f469xx.s | 704 +
.../Source/Templates/iar/startup_stm32f479xx.s | 709 +
.../Source/Templates/system_stm32f4xx.c | 763 +
.../Inc/Legacy/stm32_hal_legacy.h | 3123 ++++
.../STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h | 265 +
.../Inc/stm32f4xx_hal_adc.h | 860 +
.../Inc/stm32f4xx_hal_adc_ex.h | 413 +
.../Inc/stm32f4xx_hal_can.h | 777 +
.../Inc/stm32f4xx_hal_cec.h | 747 +
.../Inc/stm32f4xx_hal_conf_template.h | 454 +
.../Inc/stm32f4xx_hal_cortex.h | 467 +
.../Inc/stm32f4xx_hal_crc.h | 249 +
.../Inc/stm32f4xx_hal_cryp.h | 536 +
.../Inc/stm32f4xx_hal_cryp_ex.h | 221 +
.../Inc/stm32f4xx_hal_dac.h | 413 +
.../Inc/stm32f4xx_hal_dac_ex.h | 200 +
.../Inc/stm32f4xx_hal_dcmi.h | 537 +
.../Inc/stm32f4xx_hal_dcmi_ex.h | 230 +
.../Inc/stm32f4xx_hal_def.h | 214 +
.../Inc/stm32f4xx_hal_dfsdm.h | 691 +
.../Inc/stm32f4xx_hal_dma.h | 793 +
.../Inc/stm32f4xx_hal_dma2d.h | 577 +
.../Inc/stm32f4xx_hal_dma_ex.h | 122 +
.../Inc/stm32f4xx_hal_dsi.h | 1242 ++
.../Inc/stm32f4xx_hal_eth.h | 2183 +++
.../Inc/stm32f4xx_hal_flash.h | 442 +
.../Inc/stm32f4xx_hal_flash_ex.h | 984 ++
.../Inc/stm32f4xx_hal_flash_ramfunc.h | 97 +
.../Inc/stm32f4xx_hal_fmpi2c.h | 719 +
.../Inc/stm32f4xx_hal_fmpi2c_ex.h | 163 +
.../Inc/stm32f4xx_hal_gpio.h | 327 +
.../Inc/stm32f4xx_hal_gpio_ex.h | 1450 ++
.../Inc/stm32f4xx_hal_hash.h | 451 +
.../Inc/stm32f4xx_hal_hash_ex.h | 200 +
.../Inc/stm32f4xx_hal_hcd.h | 262 +
.../Inc/stm32f4xx_hal_i2c.h | 651 +
.../Inc/stm32f4xx_hal_i2c_ex.h | 138 +
.../Inc/stm32f4xx_hal_i2s.h | 494 +
.../Inc/stm32f4xx_hal_i2s_ex.h | 211 +
.../Inc/stm32f4xx_hal_irda.h | 594 +
.../Inc/stm32f4xx_hal_iwdg.h | 243 +
.../Inc/stm32f4xx_hal_lptim.h | 763 +
.../Inc/stm32f4xx_hal_ltdc.h | 660 +
.../Inc/stm32f4xx_hal_ltdc_ex.h | 151 +
.../Inc/stm32f4xx_hal_nand.h | 318 +
.../Inc/stm32f4xx_hal_nor.h | 305 +
.../Inc/stm32f4xx_hal_pccard.h | 266 +
.../Inc/stm32f4xx_hal_pcd.h | 343 +
.../Inc/stm32f4xx_hal_pcd_ex.h | 133 +
.../Inc/stm32f4xx_hal_pwr.h | 449 +
.../Inc/stm32f4xx_hal_pwr_ex.h | 370 +
.../Inc/stm32f4xx_hal_qspi.h | 784 +
.../Inc/stm32f4xx_hal_rcc.h | 1424 ++
.../Inc/stm32f4xx_hal_rcc_ex.h | 6590 ++++++++
.../Inc/stm32f4xx_hal_rng.h | 369 +
.../Inc/stm32f4xx_hal_rtc.h | 833 +
.../Inc/stm32f4xx_hal_rtc_ex.h | 1005 ++
.../Inc/stm32f4xx_hal_sai.h | 875 +
.../Inc/stm32f4xx_hal_sai_ex.h | 102 +
.../STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_sd.h | 795 +
.../Inc/stm32f4xx_hal_sdram.h | 197 +
.../Inc/stm32f4xx_hal_smartcard.h | 677 +
.../Inc/stm32f4xx_hal_spdifrx.h | 555 +
.../Inc/stm32f4xx_hal_spi.h | 583 +
.../Inc/stm32f4xx_hal_sram.h | 207 +
.../Inc/stm32f4xx_hal_tim.h | 1609 ++
.../Inc/stm32f4xx_hal_tim_ex.h | 344 +
.../Inc/stm32f4xx_hal_uart.h | 784 +
.../Inc/stm32f4xx_hal_usart.h | 588 +
.../Inc/stm32f4xx_hal_wwdg.h | 283 +
.../STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_fmc.h | 1421 ++
.../Inc/stm32f4xx_ll_fsmc.h | 1049 ++
.../Inc/stm32f4xx_ll_sdmmc.h | 919 +
.../STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h | 477 +
.../STM32F4xx_HAL_Driver/Release_Notes.html | 2158 +++
.../STM32F410Rx_User_Manual.chm | Bin 0 -> 7230602 bytes
.../STM32F411xE_User_Manual.chm | Bin 0 -> 7087370 bytes
.../STM32F412Zx_User_Manual.chm | Bin 0 -> 8611134 bytes
.../STM32F417xx_User_Manual.chm | Bin 0 -> 8705036 bytes
.../STM32F439xx_User_Manual.chm | Bin 0 -> 9575430 bytes
.../STM32F446xx_User_Manual.chm | Bin 0 -> 8999608 bytes
.../STM32F479xx_User_Manual.chm | Bin 0 -> 10186550 bytes
.../STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c | 532 +
.../Src/stm32f4xx_hal_adc.c | 1672 ++
.../Src/stm32f4xx_hal_adc_ex.c | 1069 ++
.../Src/stm32f4xx_hal_can.c | 1436 ++
.../Src/stm32f4xx_hal_cec.c | 670 +
.../Src/stm32f4xx_hal_cortex.c | 483 +
.../Src/stm32f4xx_hal_crc.c | 346 +
.../Src/stm32f4xx_hal_cryp.c | 3823 +++++
.../Src/stm32f4xx_hal_cryp_ex.c | 3043 ++++
.../Src/stm32f4xx_hal_dac.c | 965 ++
.../Src/stm32f4xx_hal_dac_ex.c | 390 +
.../Src/stm32f4xx_hal_dcmi.c | 881 +
.../Src/stm32f4xx_hal_dcmi_ex.c | 199 +
.../Src/stm32f4xx_hal_dfsdm.c | 2988 ++++
.../Src/stm32f4xx_hal_dma.c | 1319 ++
.../Src/stm32f4xx_hal_dma2d.c | 1719 ++
.../Src/stm32f4xx_hal_dma_ex.c | 333 +
.../Src/stm32f4xx_hal_dsi.c | 2261 +++
.../Src/stm32f4xx_hal_eth.c | 2061 +++
.../Src/stm32f4xx_hal_flash.c | 775 +
.../Src/stm32f4xx_hal_flash_ex.c | 1359 ++
.../Src/stm32f4xx_hal_flash_ramfunc.c | 193 +
.../Src/stm32f4xx_hal_fmpi2c.c | 4790 ++++++
.../Src/stm32f4xx_hal_fmpi2c_ex.c | 258 +
.../Src/stm32f4xx_hal_gpio.c | 547 +
.../Src/stm32f4xx_hal_hash.c | 1868 +++
.../Src/stm32f4xx_hal_hash_ex.c | 1638 ++
.../Src/stm32f4xx_hal_hcd.c | 1227 ++
.../Src/stm32f4xx_hal_i2c.c | 5314 ++++++
.../Src/stm32f4xx_hal_i2c_ex.c | 205 +
.../Src/stm32f4xx_hal_i2s.c | 1410 ++
.../Src/stm32f4xx_hal_i2s_ex.c | 1478 ++
.../Src/stm32f4xx_hal_irda.c | 1528 ++
.../Src/stm32f4xx_hal_iwdg.c | 258 +
.../Src/stm32f4xx_hal_lptim.c | 1696 ++
.../Src/stm32f4xx_hal_ltdc.c | 1910 +++
.../Src/stm32f4xx_hal_ltdc_ex.c | 164 +
.../Src/stm32f4xx_hal_msp_template.c | 119 +
.../Src/stm32f4xx_hal_nand.c | 1130 ++
.../Src/stm32f4xx_hal_nor.c | 1035 ++
.../Src/stm32f4xx_hal_pccard.c | 748 +
.../Src/stm32f4xx_hal_pcd.c | 1332 ++
.../Src/stm32f4xx_hal_pcd_ex.c | 324 +
.../Src/stm32f4xx_hal_pwr.c | 577 +
.../Src/stm32f4xx_hal_pwr_ex.c | 649 +
.../Src/stm32f4xx_hal_qspi.c | 2423 +++
.../Src/stm32f4xx_hal_rcc.c | 1108 ++
.../Src/stm32f4xx_hal_rcc_ex.c | 2603 +++
.../Src/stm32f4xx_hal_rng.c | 529 +
.../Src/stm32f4xx_hal_rtc.c | 1547 ++
.../Src/stm32f4xx_hal_rtc_ex.c | 1781 ++
.../Src/stm32f4xx_hal_sai.c | 2183 +++
.../Src/stm32f4xx_hal_sai_ex.c | 278 +
.../STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c | 3510 ++++
.../Src/stm32f4xx_hal_sdram.c | 853 +
.../Src/stm32f4xx_hal_smartcard.c | 1330 ++
.../Src/stm32f4xx_hal_spdifrx.c | 1298 ++
.../Src/stm32f4xx_hal_spi.c | 2778 +++
.../Src/stm32f4xx_hal_sram.c | 693 +
.../Src/stm32f4xx_hal_tim.c | 5387 ++++++
.../Src/stm32f4xx_hal_tim_ex.c | 1873 +++
.../stm32f4xx_hal_timebase_rtc_alarm_template.c | 317 +
...stm32f4xx_hal_timebase_rtc_wakeup_template.c | 296 +
.../Src/stm32f4xx_hal_timebase_tim_template.c | 186 +
.../Src/stm32f4xx_hal_uart.c | 1954 +++
.../Src/stm32f4xx_hal_usart.c | 2022 +++
.../Src/stm32f4xx_hal_wwdg.c | 314 +
.../STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c | 1710 ++
.../Src/stm32f4xx_ll_fsmc.c | 1026 ++
.../Src/stm32f4xx_ll_sdmmc.c | 511 +
.../STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c | 1710 ++
hw/mcu/stm/stm32f4xx/src/hal_cputime.c | 5 +-
hw/mcu/stm/stm32f4xx/src/hal_flash.c | 8 +-
hw/mcu/stm/stm32f4xx/src/hal_gpio.c | 7 +-
hw/mcu/stm/stm32f4xx/src/hal_os_tick.c | 2 +-
hw/mcu/stm/stm32f4xx/src/hal_system.c | 1 +
hw/mcu/stm/stm32f4xx/src/hal_uart.c | 11 +-
hw/mcu/stm/stm32f4xx/src/stm32f4xx_hal_flash.c | 766 -
.../stm/stm32f4xx/src/stm32f4xx_hal_flash_ex.c | 1341 --
hw/mcu/stm/stm32f4xx/src/stm32f4xx_hal_gpio.c | 545 -
hw/mcu/stm/stm32f4xx/src/stm32f4xx_hal_rcc.c | 1230 --
hw/mcu/stm/stm32f4xx/src/stm32f4xx_hal_uart.c | 1932 ---
libs/cmsis-core/pkg.yml | 1 +
libs/cmsis-core/src/ext/core_ca9.h | 271 +
libs/cmsis-core/src/ext/core_caFunc.h | 1161 ++
libs/cmsis-core/src/ext/core_caInstr.h | 45 +
libs/cmsis-core/src/ext/core_ca_mmu.h | 848 +
libs/cmsis-core/src/ext/core_cm0.h | 682 +
libs/cmsis-core/src/ext/core_cm0plus.h | 793 +
libs/cmsis-core/src/ext/core_cm3.h | 1627 ++
libs/cmsis-core/src/ext/core_cm4.h | 1772 ++
libs/cmsis-core/src/ext/core_cm4_simd.h | 673 +
libs/cmsis-core/src/ext/core_cmFunc.h | 636 +
libs/cmsis-core/src/ext/core_cmInstr.h | 688 +
1019 files changed, 514455 insertions(+), 53874 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/apps/blinky/pkg.yml
----------------------------------------------------------------------
diff --git a/apps/blinky/pkg.yml b/apps/blinky/pkg.yml
index 64bbace..adf9c3e 100644
--- a/apps/blinky/pkg.yml
+++ b/apps/blinky/pkg.yml
@@ -25,6 +25,7 @@ pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
pkg.deps:
+ - hw/mcu/nordic
- libs/console/full
- libs/newtmgr
- libs/os
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/apps/blinky/src/main.c
----------------------------------------------------------------------
diff --git a/apps/blinky/src/main.c b/apps/blinky/src/main.c
index 24d0311..f170d8a 100755
--- a/apps/blinky/src/main.c
+++ b/apps/blinky/src/main.c
@@ -30,6 +30,10 @@
#include <mcu/mcu_sim.h>
#endif
+#include "nrf.h"
+#include "nrf_drv_saadc.h"
+#include "app_error.h"
+
/* Init all tasks */
volatile int tasks_initialized;
int init_tasks(void);
@@ -72,6 +76,40 @@ uint8_t default_mbuf_mpool_data[DEFAULT_MBUF_MPOOL_BUF_LEN *
struct os_mbuf_pool default_mbuf_pool;
struct os_mempool default_mbuf_mpool;
+#define SAADC_SAMPLES_IN_BUFFER (4)
+static nrf_saadc_value_t m_buffer_pool[2][SAADC_SAMPLES_IN_BUFFER];
+
+int event_finished;
+int total_events;
+
+static void
+saadc_cb(const nrf_drv_saadc_evt_t *event)
+{
+ if (event->type == NRF_DRV_SAADC_EVT_DONE) {
+ ++event_finished;
+ }
+ ++total_events;
+}
+
+void
+saadc_test(void)
+{
+ ret_code_t rc;
+ nrf_saadc_channel_config_t cc =
+ NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN0);
+
+ rc = nrf_drv_saadc_init(NULL, saadc_cb);
+ APP_ERROR_CHECK(rc);
+ rc = nrf_drv_saadc_channel_init(0, &cc);
+ APP_ERROR_CHECK(rc);
+
+ rc = nrf_drv_saadc_buffer_convert(m_buffer_pool[0], SAADC_SAMPLES_IN_BUFFER);
+ APP_ERROR_CHECK(rc);
+
+ rc = nrf_drv_saadc_buffer_convert(m_buffer_pool[1], SAADC_SAMPLES_IN_BUFFER);
+ APP_ERROR_CHECK(rc);
+}
+
void
task1_handler(void *arg)
@@ -96,7 +134,10 @@ task1_handler(void *arg)
/* Release semaphore to task 2 */
os_sem_release(&g_test_sem);
+
+ nrf_drv_saadc_sample();
}
+
}
void
@@ -182,6 +223,8 @@ main(int argc, char **argv)
stats_module_init();
+ saadc_test();
+
rc = init_tasks();
os_start();
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/hw/bsp/nrf52dk/include/bsp/boards.h
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/include/bsp/boards.h b/hw/bsp/nrf52dk/include/bsp/boards.h
new file mode 100644
index 0000000..e69de29
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h b/hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h
index 6f07f11..856f7d0 100644
--- a/hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h
+++ b/hw/bsp/nrf52dk/include/bsp/cmsis_nvic.h
@@ -12,7 +12,7 @@
#define NVIC_NUM_VECTORS (16 + 38) // CORE + MCU Peripherals
#define NVIC_USER_IRQ_OFFSET 16
-#include "mcu/nrf52.h"
+#include "nrf52.h"
#ifdef __cplusplus
extern "C" {
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/hw/bsp/nrf52dk/include/bsp/nrf_drv_config.h
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/include/bsp/nrf_drv_config.h b/hw/bsp/nrf52dk/include/bsp/nrf_drv_config.h
new file mode 100644
index 0000000..320dd87
--- /dev/null
+++ b/hw/bsp/nrf52dk/include/bsp/nrf_drv_config.h
@@ -0,0 +1,464 @@
+/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
+ *
+ * The information contained herein is property of Nordic Semiconductor ASA.
+ * Terms and conditions of usage are described in detail in NORDIC
+ * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
+ *
+ * Licensees are granted free, non-transferable use of the information. NO
+ * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
+ * the file.
+ *
+ */
+
+#ifndef NRF_DRV_CONFIG_H
+#define NRF_DRV_CONFIG_H
+
+/**
+ * Provide a non-zero value here in applications that need to use several
+ * peripherals with the same ID that are sharing certain resources
+ * (for example, SPI0 and TWI0). Obviously, such peripherals cannot be used
+ * simultaneously. Therefore, this definition allows to initialize the driver
+ * for another peripheral from a given group only after the previously used one
+ * is uninitialized. Normally, this is not possible, because interrupt handlers
+ * are implemented in individual drivers.
+ * This functionality requires a more complicated interrupt handling and driver
+ * initialization, hence it is not always desirable to use it.
+ */
+#define PERIPHERAL_RESOURCE_SHARING_ENABLED 1
+
+/* CLOCK */
+#define CLOCK_ENABLED 1
+
+#if (CLOCK_ENABLED == 1)
+#define CLOCK_CONFIG_XTAL_FREQ NRF_CLOCK_XTALFREQ_Default
+#define CLOCK_CONFIG_LF_SRC NRF_CLOCK_LFCLK_Xtal
+#define CLOCK_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#endif
+
+/* GPIOTE */
+#define GPIOTE_ENABLED 1
+
+#if (GPIOTE_ENABLED == 1)
+#define GPIOTE_CONFIG_USE_SWI_EGU false
+#define GPIOTE_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
+#endif
+
+/* TIMER */
+#define TIMER0_ENABLED 1
+
+#if (TIMER0_ENABLED == 1)
+#define TIMER0_CONFIG_FREQUENCY NRF_TIMER_FREQ_16MHz
+#define TIMER0_CONFIG_MODE TIMER_MODE_MODE_Timer
+#define TIMER0_CONFIG_BIT_WIDTH TIMER_BITMODE_BITMODE_32Bit
+#define TIMER0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TIMER0_INSTANCE_INDEX 0
+#endif
+
+#define TIMER1_ENABLED 0
+
+#if (TIMER1_ENABLED == 1)
+#define TIMER1_CONFIG_FREQUENCY NRF_TIMER_FREQ_16MHz
+#define TIMER1_CONFIG_MODE TIMER_MODE_MODE_Timer
+#define TIMER1_CONFIG_BIT_WIDTH TIMER_BITMODE_BITMODE_16Bit
+#define TIMER1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TIMER1_INSTANCE_INDEX (TIMER0_ENABLED)
+#endif
+
+#define TIMER2_ENABLED 0
+
+#if (TIMER2_ENABLED == 1)
+#define TIMER2_CONFIG_FREQUENCY NRF_TIMER_FREQ_16MHz
+#define TIMER2_CONFIG_MODE TIMER_MODE_MODE_Timer
+#define TIMER2_CONFIG_BIT_WIDTH TIMER_BITMODE_BITMODE_16Bit
+#define TIMER2_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TIMER2_INSTANCE_INDEX (TIMER1_ENABLED+TIMER0_ENABLED)
+#endif
+
+#define TIMER3_ENABLED 0
+
+#if (TIMER3_ENABLED == 1)
+#define TIMER3_CONFIG_FREQUENCY NRF_TIMER_FREQ_16MHz
+#define TIMER3_CONFIG_MODE TIMER_MODE_MODE_Timer
+#define TIMER3_CONFIG_BIT_WIDTH TIMER_BITMODE_BITMODE_16Bit
+#define TIMER3_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TIMER3_INSTANCE_INDEX (TIMER2_ENABLED+TIMER1_ENABLED+TIMER0_ENABLED)
+#endif
+
+#define TIMER4_ENABLED 0
+
+#if (TIMER4_ENABLED == 1)
+#define TIMER4_CONFIG_FREQUENCY NRF_TIMER_FREQ_16MHz
+#define TIMER4_CONFIG_MODE TIMER_MODE_MODE_Timer
+#define TIMER4_CONFIG_BIT_WIDTH TIMER_BITMODE_BITMODE_16Bit
+#define TIMER4_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TIMER4_INSTANCE_INDEX (TIMER3_ENABLED+TIMER2_ENABLED+TIMER1_ENABLED+TIMER0_ENABLED)
+#endif
+
+
+#define TIMER_COUNT (TIMER0_ENABLED + TIMER1_ENABLED + TIMER2_ENABLED + TIMER3_ENABLED + TIMER4_ENABLED)
+
+/* RTC */
+#define RTC0_ENABLED 0
+
+#if (RTC0_ENABLED == 1)
+#define RTC0_CONFIG_FREQUENCY 32678
+#define RTC0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define RTC0_CONFIG_RELIABLE false
+
+#define RTC0_INSTANCE_INDEX 0
+#endif
+
+#define RTC1_ENABLED 0
+
+#if (RTC1_ENABLED == 1)
+#define RTC1_CONFIG_FREQUENCY 32768
+#define RTC1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define RTC1_CONFIG_RELIABLE false
+
+#define RTC1_INSTANCE_INDEX (RTC0_ENABLED)
+#endif
+
+#define RTC2_ENABLED 0
+
+#if (RTC2_ENABLED == 1)
+#define RTC2_CONFIG_FREQUENCY 32768
+#define RTC2_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define RTC2_CONFIG_RELIABLE false
+
+#define RTC2_INSTANCE_INDEX (RTC0_ENABLED+RTC1_ENABLED)
+#endif
+
+
+#define RTC_COUNT (RTC0_ENABLED+RTC1_ENABLED+RTC2_ENABLED)
+
+#define NRF_MAXIMUM_LATENCY_US 2000
+
+/* RNG */
+#define RNG_ENABLED 1
+
+#if (RNG_ENABLED == 1)
+#define RNG_CONFIG_ERROR_CORRECTION true
+#define RNG_CONFIG_POOL_SIZE 8
+#define RNG_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#endif
+
+/* PWM */
+
+#define PWM0_ENABLED 1
+
+#if (PWM0_ENABLED == 1)
+#define PWM0_CONFIG_OUT0_PIN 2
+#define PWM0_CONFIG_OUT1_PIN 3
+#define PWM0_CONFIG_OUT2_PIN 4
+#define PWM0_CONFIG_OUT3_PIN 5
+#define PWM0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define PWM0_CONFIG_BASE_CLOCK NRF_PWM_CLK_1MHz
+#define PWM0_CONFIG_COUNT_MODE NRF_PWM_MODE_UP
+#define PWM0_CONFIG_TOP_VALUE 1000
+#define PWM0_CONFIG_LOAD_MODE NRF_PWM_LOAD_COMMON
+#define PWM0_CONFIG_STEP_MODE NRF_PWM_STEP_AUTO
+
+#define PWM0_INSTANCE_INDEX 0
+#endif
+
+#define PWM1_ENABLED 0
+
+#if (PWM1_ENABLED == 1)
+#define PWM1_CONFIG_OUT0_PIN 2
+#define PWM1_CONFIG_OUT1_PIN 3
+#define PWM1_CONFIG_OUT2_PIN 4
+#define PWM1_CONFIG_OUT3_PIN 5
+#define PWM1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define PWM1_CONFIG_BASE_CLOCK NRF_PWM_CLK_1MHz
+#define PWM1_CONFIG_COUNT_MODE NRF_PWM_MODE_UP
+#define PWM1_CONFIG_TOP_VALUE 1000
+#define PWM1_CONFIG_LOAD_MODE NRF_PWM_LOAD_COMMON
+#define PWM1_CONFIG_STEP_MODE NRF_PWM_STEP_AUTO
+
+#define PWM1_INSTANCE_INDEX (PWM0_ENABLED)
+#endif
+
+#define PWM2_ENABLED 0
+
+#if (PWM2_ENABLED == 1)
+#define PWM2_CONFIG_OUT0_PIN 2
+#define PWM2_CONFIG_OUT1_PIN 3
+#define PWM2_CONFIG_OUT2_PIN 4
+#define PWM2_CONFIG_OUT3_PIN 5
+#define PWM2_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define PWM2_CONFIG_BASE_CLOCK NRF_PWM_CLK_1MHz
+#define PWM2_CONFIG_COUNT_MODE NRF_PWM_MODE_UP
+#define PWM2_CONFIG_TOP_VALUE 1000
+#define PWM2_CONFIG_LOAD_MODE NRF_PWM_LOAD_COMMON
+#define PWM2_CONFIG_STEP_MODE NRF_PWM_STEP_AUTO
+
+#define PWM2_INSTANCE_INDEX (PWM0_ENABLED + PWM1_ENABLED)
+#endif
+
+#define PWM_COUNT (PWM0_ENABLED + PWM1_ENABLED + PWM2_ENABLED)
+
+/* SPI */
+#define SPI0_ENABLED 1
+
+#if (SPI0_ENABLED == 1)
+#define SPI0_USE_EASY_DMA 0
+
+#define SPI0_CONFIG_SCK_PIN 2
+#define SPI0_CONFIG_MOSI_PIN 3
+#define SPI0_CONFIG_MISO_PIN 4
+#define SPI0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPI0_INSTANCE_INDEX 0
+#endif
+
+#define SPI1_ENABLED 0
+
+#if (SPI1_ENABLED == 1)
+#define SPI1_USE_EASY_DMA 0
+
+#define SPI1_CONFIG_SCK_PIN 2
+#define SPI1_CONFIG_MOSI_PIN 3
+#define SPI1_CONFIG_MISO_PIN 4
+#define SPI1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPI1_INSTANCE_INDEX (SPI0_ENABLED)
+#endif
+
+#define SPI2_ENABLED 0
+
+#if (SPI2_ENABLED == 1)
+#define SPI2_USE_EASY_DMA 0
+
+#define SPI2_CONFIG_SCK_PIN 2
+#define SPI2_CONFIG_MOSI_PIN 3
+#define SPI2_CONFIG_MISO_PIN 4
+#define SPI2_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPI2_INSTANCE_INDEX (SPI0_ENABLED + SPI1_ENABLED)
+#endif
+
+#define SPI_COUNT (SPI0_ENABLED + SPI1_ENABLED + SPI2_ENABLED)
+
+/* SPIS */
+#define SPIS0_ENABLED 1
+
+#if (SPIS0_ENABLED == 1)
+#define SPIS0_CONFIG_SCK_PIN 2
+#define SPIS0_CONFIG_MOSI_PIN 3
+#define SPIS0_CONFIG_MISO_PIN 4
+#define SPIS0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPIS0_INSTANCE_INDEX 0
+#endif
+
+#define SPIS1_ENABLED 0
+
+#if (SPIS1_ENABLED == 1)
+#define SPIS1_CONFIG_SCK_PIN 2
+#define SPIS1_CONFIG_MOSI_PIN 3
+#define SPIS1_CONFIG_MISO_PIN 4
+#define SPIS1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPIS1_INSTANCE_INDEX SPIS0_ENABLED
+#endif
+
+#define SPIS2_ENABLED 0
+
+#if (SPIS2_ENABLED == 1)
+#define SPIS2_CONFIG_SCK_PIN 2
+#define SPIS2_CONFIG_MOSI_PIN 3
+#define SPIS2_CONFIG_MISO_PIN 4
+#define SPIS2_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define SPIS2_INSTANCE_INDEX (SPIS0_ENABLED + SPIS1_ENABLED)
+#endif
+
+#define SPIS_COUNT (SPIS0_ENABLED + SPIS1_ENABLED + SPIS2_ENABLED)
+
+/* UART */
+#define UART0_ENABLED 1
+
+#if (UART0_ENABLED == 1)
+#define UART0_CONFIG_HWFC NRF_UART_HWFC_DISABLED
+#define UART0_CONFIG_PARITY NRF_UART_PARITY_EXCLUDED
+#define UART0_CONFIG_BAUDRATE NRF_UART_BAUDRATE_115200
+#define UART0_CONFIG_PSEL_TXD 0
+#define UART0_CONFIG_PSEL_RXD 0
+#define UART0_CONFIG_PSEL_CTS 0
+#define UART0_CONFIG_PSEL_RTS 0
+#define UART0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#ifdef NRF52
+#define UART0_CONFIG_USE_EASY_DMA false
+//Compile time flag
+#define UART_EASY_DMA_SUPPORT 1
+#define UART_LEGACY_SUPPORT 1
+#endif //NRF52
+#endif
+
+#define TWI0_ENABLED 1
+
+#if (TWI0_ENABLED == 1)
+#define TWI0_USE_EASY_DMA 0
+
+#define TWI0_CONFIG_FREQUENCY NRF_TWI_FREQ_100K
+#define TWI0_CONFIG_SCL 0
+#define TWI0_CONFIG_SDA 1
+#define TWI0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TWI0_INSTANCE_INDEX 0
+#endif
+
+#define TWI1_ENABLED 0
+
+#if (TWI1_ENABLED == 1)
+#define TWI1_USE_EASY_DMA 0
+
+#define TWI1_CONFIG_FREQUENCY NRF_TWI_FREQ_100K
+#define TWI1_CONFIG_SCL 0
+#define TWI1_CONFIG_SDA 1
+#define TWI1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+#define TWI1_INSTANCE_INDEX (TWI0_ENABLED)
+#endif
+
+#define TWI_COUNT (TWI0_ENABLED + TWI1_ENABLED)
+
+/* TWIS */
+#define TWIS0_ENABLED 1
+
+#if (TWIS0_ENABLED == 1)
+ #define TWIS0_CONFIG_ADDR0 0
+ #define TWIS0_CONFIG_ADDR1 0 /* 0: Disabled */
+ #define TWIS0_CONFIG_SCL 0
+ #define TWIS0_CONFIG_SDA 1
+ #define TWIS0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+ #define TWIS0_INSTANCE_INDEX 0
+#endif
+
+#define TWIS1_ENABLED 0
+
+#if (TWIS1_ENABLED == 1)
+ #define TWIS1_CONFIG_ADDR0 0
+ #define TWIS1_CONFIG_ADDR1 0 /* 0: Disabled */
+ #define TWIS1_CONFIG_SCL 0
+ #define TWIS1_CONFIG_SDA 1
+ #define TWIS1_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+
+ #define TWIS1_INSTANCE_INDEX (TWIS0_ENABLED)
+#endif
+
+#define TWIS_COUNT (TWIS0_ENABLED + TWIS1_ENABLED)
+/* For more documentation see nrf_drv_twis.h file */
+#define TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
+/* For more documentation see nrf_drv_twis.h file */
+#define TWIS_NO_SYNC_MODE 0
+
+/* QDEC */
+#define QDEC_ENABLED 1
+
+#if (QDEC_ENABLED == 1)
+#define QDEC_CONFIG_REPORTPER NRF_QDEC_REPORTPER_10
+#define QDEC_CONFIG_SAMPLEPER NRF_QDEC_SAMPLEPER_16384us
+#define QDEC_CONFIG_PIO_A 1
+#define QDEC_CONFIG_PIO_B 2
+#define QDEC_CONFIG_PIO_LED 3
+#define QDEC_CONFIG_LEDPRE 511
+#define QDEC_CONFIG_LEDPOL NRF_QDEC_LEPOL_ACTIVE_HIGH
+#define QDEC_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define QDEC_CONFIG_DBFEN false
+#define QDEC_CONFIG_SAMPLE_INTEN false
+#endif
+
+/* ADC */
+#define ADC_ENABLED 0
+
+#if (ADC_ENABLED == 1)
+#define ADC_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#endif
+
+
+/* SAADC */
+#define SAADC_ENABLED 1
+
+#if (SAADC_ENABLED == 1)
+#define SAADC_CONFIG_RESOLUTION NRF_SAADC_RESOLUTION_10BIT
+#define SAADC_CONFIG_OVERSAMPLE NRF_SAADC_OVERSAMPLE_DISABLED
+#define SAADC_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#endif
+
+/* PDM */
+#define PDM_ENABLED 0
+
+#if (PDM_ENABLED == 1)
+#define PDM_CONFIG_MODE NRF_PDM_MODE_MONO
+#define PDM_CONFIG_EDGE NRF_PDM_EDGE_LEFTFALLING
+#define PDM_CONFIG_CLOCK_FREQ NRF_PDM_FREQ_1032K
+#define PDM_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#endif
+
+/* COMP */
+#define COMP_ENABLED 1
+
+#if (COMP_ENABLED == 1)
+#define COMP_CONFIG_REF NRF_COMP_REF_Int1V8
+#define COMP_CONFIG_MAIN_MODE NRF_COMP_MAIN_MODE_SE
+#define COMP_CONFIG_SPEED_MODE NRF_COMP_SP_MODE_High
+#define COMP_CONFIG_HYST NRF_COMP_HYST_NoHyst
+#define COMP_CONFIG_ISOURCE NRF_COMP_ISOURCE_Off
+#define COMP_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define COMP_CONFIG_INPUT NRF_COMP_INPUT_0
+#endif
+
+/* LPCOMP */
+#define LPCOMP_ENABLED 1
+
+#if (LPCOMP_ENABLED == 1)
+#define LPCOMP_CONFIG_REFERENCE NRF_LPCOMP_REF_SUPPLY_4_8
+#define LPCOMP_CONFIG_DETECTION NRF_LPCOMP_DETECT_DOWN
+#define LPCOMP_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
+#define LPCOMP_CONFIG_INPUT NRF_LPCOMP_INPUT_0
+#endif
+
+/* WDT */
+#define WDT_ENABLED 1
+
+#if (WDT_ENABLED == 1)
+#define WDT_CONFIG_BEHAVIOUR NRF_WDT_BEHAVIOUR_RUN_SLEEP
+#define WDT_CONFIG_RELOAD_VALUE 2000
+#define WDT_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_HIGH
+#endif
+
+/* SWI EGU */
+#ifdef NRF52
+ #define EGU_ENABLED 0
+#endif
+
+/* I2S */
+#define I2S_ENABLED 1
+
+#if (I2S_ENABLED == 1)
+#define I2S_CONFIG_SCK_PIN 22
+#define I2S_CONFIG_LRCK_PIN 23
+#define I2S_CONFIG_MCK_PIN NRF_DRV_I2S_PIN_NOT_USED
+#define I2S_CONFIG_SDOUT_PIN 24
+#define I2S_CONFIG_SDIN_PIN 25
+#define I2S_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_HIGH
+#define I2S_CONFIG_MASTER NRF_I2S_MODE_MASTER
+#define I2S_CONFIG_FORMAT NRF_I2S_FORMAT_I2S
+#define I2S_CONFIG_ALIGN NRF_I2S_ALIGN_LEFT
+#define I2S_CONFIG_SWIDTH NRF_I2S_SWIDTH_16BIT
+#define I2S_CONFIG_CHANNELS NRF_I2S_CHANNELS_STEREO
+#define I2S_CONFIG_MCK_SETUP NRF_I2S_MCK_32MDIV8
+#define I2S_CONFIG_RATIO NRF_I2S_RATIO_256X
+#endif
+
+#include "nrf_drv_config_validation.h"
+
+#endif // NRF_DRV_CONFIG_H
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/hw/bsp/nrf52dk/pkg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/pkg.yml b/hw/bsp/nrf52dk/pkg.yml
index d350e70..d998894 100644
--- a/hw/bsp/nrf52dk/pkg.yml
+++ b/hw/bsp/nrf52dk/pkg.yml
@@ -32,8 +32,9 @@ pkg.linkerscript: "nrf52dk.ld"
pkg.linkerscript.bootloader.OVERWRITE: "boot-nrf52dk.ld"
pkg.downloadscript: nrf52dk_download.sh
pkg.debugscript: nrf52dk_debug.sh
-pkg.cflags: -DNRF52 -DBSP_HAS_32768_XTAL
+pkg.cflags: -DNRF52 -DBSP_HAS_32768_XTAL -DSPI_MASTER_0_ENABLE
pkg.deps:
+ - hw/mcu/nordic
- hw/mcu/nordic/nrf52xxx
- libs/baselibc
pkg.deps.BLE_DEVICE:
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f06c2d2b/hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h b/hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h
index 008b247..d0c8b44 100644
--- a/hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h
+++ b/hw/bsp/olimex_stm32-e407_devboard/include/bsp/cmsis_nvic.h
@@ -12,7 +12,7 @@
#define NVIC_NUM_VECTORS (16 + 81) // CORE + MCU Peripherals
#define NVIC_USER_IRQ_OFFSET 16
-#include "mcu/stm32f4xx.h"
+#include "stm32f4xx.h"
#ifdef __cplusplus
extern "C" {