Commit Graph

32496 Commits (5614af0f1bde596518f193f74ee8b4726f18edc7)

Author SHA1 Message Date
Martin Kojtal 5614af0f1b
Merge pull request #14349 from harmut01/baremetal_nordic
Add bare metal support to Nordic targets
2021-03-02 09:41:41 +00:00
Martin Kojtal f78c24135c
Merge pull request #14325 from AGlass0fMilk/ep-atlas-reg-init
EP Atlas Target Updates
2021-03-02 09:41:28 +00:00
Martin Kojtal 44e9e3ca80
Merge pull request #14324 from hugueskamba/hk_fix_psoc6_post_build_script
PSOC6: Catch possible error in post build script
2021-03-02 09:40:57 +00:00
Martin Kojtal e2a5f8f8ba
Merge pull request #14291 from harmut01/baremetal_freescale
Add bare metal support to freescale targets
2021-03-02 09:40:17 +00:00
Martin Kojtal 03b9d5a357
Merge pull request #14271 from ladislas/ladislas/feature/add-editorconfig
Add .editorconfig file
2021-03-02 09:39:24 +00:00
Martin Kojtal c5bfa7e471
Merge pull request #14340 from chrJost/master
STM32L5: enable USBDEVICE
2021-03-01 15:28:44 +00:00
Martin Kojtal 1f28e6e7dd
Merge pull request #14334 from hugueskamba/hk_cmake_remove_app_target_post_build_calls
CMake: Remove references of APP_TARGET
2021-03-01 14:59:02 +00:00
Martin Kojtal fbafcf2b0d
Merge pull request #14355 from ladislas/feature/ladislas/cmake-map-per-target
CMake - Configure memory map per target to allow multiple add_executable
2021-03-01 12:55:36 +00:00
Ladislas de Toldi fd7ea7305f
Configure memory map per target to allow multiple add_executable 2021-02-27 13:16:03 +01:00
George Beckstein d00699c70f Add subtarget_init files to cmake 2021-02-25 10:34:42 -05:00
Ladislas de Toldi b23a8eb1c3
Add .editorconfig file 2021-02-25 16:26:34 +01:00
Martin Kojtal 63eeb93a5f
Merge pull request #14341 from artokin/update_traces_in_stm_emac_driver
Update stm32xx_emac driver traces
2021-02-25 15:09:10 +00:00
Martin Kojtal eceaea54fd
Merge pull request #14299 from hugueskamba/hk_cmake_refactor_mapfile_generation
CMake: Refactor mapfile generation
2021-02-25 15:08:55 +00:00
Martin Kojtal 1de9e3973d
Merge pull request #14344 from hugueskamba/hk_cmake_fix_psoc6_post_build
CMake: Fix PSOC6 post build script
2021-02-25 15:06:48 +00:00
Martin Kojtal b845246d43
Merge pull request #14343 from JojoS62/add-lwIP-opttion-for-RDNSS
Add lw ip opttion for rdnss
2021-02-25 15:05:27 +00:00
Harrison Mutai de162d4087 Remove IAR from list of supported toolchains 2021-02-25 14:15:16 +00:00
Martin Kojtal 36b6013afe
Merge pull request #14350 from LDong-Arm/fix_iar_config_conflict
ARM_MPS2_Target: Fix conflicts in IAR configuration
2021-02-25 13:18:45 +00:00
Lingkai Dong c1d115e25b Fix conflicts in IAR configuration
In `targets.json`, the base target ARM_MPS2_Target does not have `iar`
in `supported_c_libs`. But its inherited targets have `IAR` in
`supported_toolchains`, causing configuration check to fail.
2021-02-25 12:03:26 +00:00
Martin Kojtal 7da6100ff6
Merge pull request #14304 from hugueskamba/hk_cmake_remove_app_target_reference
CMake: Refactor post-build hook to remove APP_TARGET references
2021-02-25 10:41:44 +00:00
Harrison Mutai accc081c6e Add bare metal support to Nordic targets 2021-02-25 09:25:52 +00:00
Hugues Kamba 131e0fa2bf CMake: Fix PSOC6 post build script
Ensure the signing image ids are of type int.
2021-02-24 22:30:40 +00:00
Johannes Stratmann 73ce15ccbb turn off rdnss for compatibility 2021-02-24 21:13:26 +01:00
Johannes Stratmann ddbc2d7b88 add options to use RDNSS and IPv6 queuing 2021-02-24 21:09:40 +01:00
Martin Kojtal 737153bcc1
Merge pull request #14328 from hugueskamba/hk_cmake_fix_greentea_tests
CMake: Fix Greentea tests
2021-02-24 16:09:55 +00:00
Jost, Chris 96c31e15da fixed copy paste errors 2021-02-24 14:41:04 +01:00
Arto Kinnunen e4e2f79cc8 Update stm32xx_emac traces
- Make packet trace optional, can be enabled by enabling macro
  STM32xx_DEEP_TRACE
- Shorten traces during driver initialisation to avoid problems with
  driver startup when soft reset is used.
2021-02-24 13:46:58 +02:00
Jost, Chris cb032d2365 enable USBDEVICE for STM32L5 2021-02-24 10:21:54 +01:00
George Beckstein 0212fde7fb Fix astyle issues 2021-02-23 15:44:09 -05:00
Hugues Kamba 03914d1875 CMake: Remove references of APP_TARGET
This needs to be removed as there should not be a
name requirement for application CMake variable name.
Furthermore, in certain uses cases it prevents
successful builds for some Mbed targets. For instance
when building Greentea test applications for Mbed
targets that require post build operations as they do
not define APP_TARGET.
2021-02-23 17:24:31 +00:00
George Beckstein ec9d647c31 Add default app start and size limitations
This commit introduces a default application start address (`0x1000`) and size limitation (`0xDF000`) to accomodate the Nordic USB bootloader.

The bootloader consists of a master boot record in flash from address `0x0` to `0x1000` and the actual bootloader application starting at `0xE0000` to the end of flash (`0x100000`). The bootloader enables firmware updates over USB using nRF Connect for Desktop.

More documentation regarding the open bootloader can be found here: https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_open_bootloader.html
2021-02-23 10:03:26 -05:00
George Beckstein 95415ebd47 Add option to use USBSerial for stdio console
This commit introduces an option, `ep-atlas.enable-usb-stdio-console`, that will retarget the Mbed stdio console handle to a USBSerial instance if enabled.

Please note that if your application uses USB, it will conflict with this option. You should disable this option and implement a composite USB device in your application if you require stdio over USB.

This option is disabled by default so it will not cause issues with existing user code.
2021-02-23 10:03:26 -05:00
George Beckstein 392d0f8f72 Configure internal regulators at startup
This commit introduces an implementation of the `subtarget_sdk_init` startup hook (called during `mbed_sdk_init`) that configures the internal regulators of the nRF52840.

The configuration sets up the internal regulator to output 3.3V. If this is not done, the default system voltage may be too low for the on-board indicator LEDs to conduct (ie: system voltage is lower than LED forward voltage).
2021-02-23 10:03:26 -05:00
George Beckstein 9e4d46262d Introduce `subtarget_sdk_init` startup hook.
The `mbed_sdk_init` startup hook is implemented at the NRF52-series level and so is unavailable for override. This commit adds an additional startup hook for NRF52 subtargets to perform any other startup initialization required.
2021-02-23 10:03:26 -05:00
Martin Kojtal 8340ea2d2b
Merge pull request #14305 from paul-szczepanek-arm/cordio-host-fix-index
BLE: fix indexing of array in Cordio host stack
2021-02-23 14:23:21 +00:00
Martin Kojtal 6c08123dff
Merge pull request #14313 from hugueskamba/hk_cmake_fix_cortex_m33_gcc
CMake: Fix Cortex-M33 GCC build
2021-02-23 14:23:01 +00:00
Hugues Kamba 1ba3b73a30 CMake: Fix Greentea tests
* Specify new Greentea tests build steps in README
* Correct path to generated CMake configuration module
2021-02-23 13:08:43 +00:00
Hugues Kamba ed09a5cc95 CMake: Refactor mapfile generation
The refactoring was necessary to remove a function call
(mbed_configure_app_target()) from application's CMakeLists.txt.
2021-02-23 11:39:00 +00:00
Martin Kojtal 57a6fe3a8e
Merge pull request #14314 from hugueskamba/hk_cmake_fix_musca_ns
CMake: Fix ARM MUSCA NS targets build
2021-02-23 11:04:38 +00:00
Martin Kojtal 88a242f749
Merge pull request #14306 from hugueskamba/hk_cmake_create_cmsis_cortex_libs
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
2021-02-23 08:36:49 +00:00
Martin Kojtal da51cb2185
Merge pull request #14318 from harmut01/example_build_errors
CMake: Fix path to STM32F0 GCC linker scripts
2021-02-23 08:36:27 +00:00
Martin Kojtal 14a5c79a33
Merge pull request #14298 from ARMmbed/cmake-remove-debug-print
CMake: remove debug print
2021-02-23 08:35:45 +00:00
Martin Kojtal 7b6c7cc2ad
Merge pull request #14295 from 0xc0170/cmake-remove-iar
CMake remove IAR references in the tree
2021-02-22 20:10:40 +00:00
Martin Kojtal 7369b63769
Merge pull request #14300 from harmut01/baremetal_arm_ssg
Add bare metal support to ARM_MPS2_Target family of targets
2021-02-22 20:10:25 +00:00
Martin Kojtal 120b25f138
Merge pull request #14315 from hugueskamba/hk_cmake_fix_nuvonton_m261
NUVOTON: Remove CMake listing of M261 include directory that do not exist
2021-02-22 20:10:02 +00:00
Martin Kojtal 8bff51dea1
Merge pull request #14311 from hugueskamba/hk_cmake_fix_cortex_a9_gcc
CMake: Fix Cortex-A9 builds with GCC_ARM
2021-02-22 20:09:55 +00:00
Martin Kojtal 778f833108
Merge pull request #14316 from hugueskamba/hk_cmake_fix_max32625
MAX32625: Fix CMake build
2021-02-22 20:09:33 +00:00
Hugues Kamba a8b9d49cfa PSOC6: Fix post build script
Raise an exception in case of a failure to find an image to use
for the binary signature. This prevents the method from assuming
the image is always successfully retrieved and crash when
attempting to print a message
2021-02-22 17:14:35 +00:00
Martin Kojtal dbbdd0f077
Merge pull request #14309 from hugueskamba/hk_cmake_fix_stm32f091xc_gcc_arm
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
2021-02-22 15:56:05 +00:00
Hugues Kamba cd6cb71c29 CMake: Fix Cortex-M33 GCC build
The GCC flag to specify the floating-point hardware (`mfpu`) does not accept
the value `none`. The default value is `auto` which causes the compiler to
select the floating-point and Advanced SIMD instructions based on the
settings of -mcpu and -march. The extension option `+nofp` has been added
to disable floating point instructions.
2021-02-22 15:21:20 +00:00
Martin Kojtal 3bb8de6ea3
Merge pull request #14308 from hugueskamba/hk_cmake_create_flash_cmsis_algo
Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS
2021-02-22 14:36:44 +00:00