Hugues Kamba
0cef209182
GigaDevice: Fix heap size formula in scatter files
...
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:30:44 +00:00
Hugues Kamba
1ca4b1a34f
NXP: Fix heap size formula in scatter files
...
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:29:03 +00:00
Hugues Kamba
a3fccf7d21
STM: Fix heap size formula in scatter files
...
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:18:40 +00:00
adbridge
9e7c82ceed
Fix astyle issues
2021-01-08 17:33:51 +00:00
adbridge
37f13bdeb2
Remove unecessary namespace qualified
...
(Also minor whitespace correction)
2021-01-08 17:15:13 +00:00
Rajkumar Kanagaraj
7d7159d20f
Apply suggestions from code review
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:21:03 -08:00
Rajkumar Kanagaraj
bc4b3f5846
Apply suggestions from code review
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:20:15 -08:00
paul.szczepanek@arm.com
497504dde1
remove deprecated examples
2021-01-07 14:10:03 +00:00
Vincent Coubard
4cfcadd9e9
BLE: Fix SM random number generation.
...
Ensure the more than 8 random bytes are fetched from the stack.
2021-01-07 12:38:47 +00:00
Vincent Coubard
b28e11574a
BLE: Regenerate CSRK if it is all zeroes.
2021-01-07 12:35:24 +00:00
Ahmet Alincak
819d3fc9e0
Add bare-metal support for MAXIM targets
2021-01-07 09:13:14 +03:00
Ahmet Alincak
0a036b3c2a
Add SLEEP/DEEPSLEEP support for MAX32630FTHR
2021-01-07 09:03:12 +03:00
adbridge
f2b86864d5
Fix some whitespace issues
2021-01-06 16:07:04 +00:00
adbridge
c0a57ba3b9
Updated event period handling and greentea test
...
non_periodic constant has been moved out of the Event class and
made static within the events namespace so that it is available
both internally within the class and externally.
The MBED_ASSERT has been changed to MBED_WARNING.
The greentea test has been updated:
1) timings reduced to make the test cases run faster
2) The call handler simplified
2021-01-06 16:07:04 +00:00
adbridge
6b2a0fe1d4
Update events period method to check for invalid values
...
The period method currently allows any ms value positive, negative
and zero. A negative value means dispatch a non periodic event
ie just once. 0 is unspecified behaviour. This commit forces the
user to use either positive periods or a new constant non_periodic
and should any other value be provided will default to
non_periodic.
A Greentea test case is also provided to check this works as
expected.
2021-01-06 16:07:04 +00:00
Dustin Crossman
82c98618cd
Ran astyle for mbed code format.
2021-01-05 13:51:52 -08:00
Dustin Crossman
782b23d626
Addressing review feedback.
2021-01-05 13:50:30 -08:00
Dustin Crossman
b0b07477fd
Add missing includes.
2021-01-05 12:54:56 -08:00
Dustin Crossman
f3caf6a805
Add back nvram image for CYTFM board.
...
Add label so nvram image is found for 064B0S2 board.
2021-01-05 10:43:57 -08:00
Rajkumar Kanagaraj
2d53e005e8
CMake: Add CMake support for rtos greentea test
2021-01-05 09:11:41 -08:00
Rajkumar Kanagaraj
48829eee60
CMake: Add CMake support for netsocket greentea test
2021-01-05 09:11:22 -08:00
Rajkumar Kanagaraj
accf24aeaf
CMake: Add CMake support for events greentea test
2021-01-05 09:11:06 -08:00
Rajkumar Kanagaraj
71729238f0
CMake: Add support for mbed_timing_fpga_ci_test_shield greentea test
2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj
d9f2d765f4
CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test
2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj
f78d7e1fe5
CMake: Add CMake support for mbed_hal greentea test
2021-01-05 09:10:45 -08:00
Rajkumar Kanagaraj
20fb74f829
Add CMake support
2021-01-05 09:10:05 -08:00
Martin Kojtal
e917282d60
Merge pull request #14072 from rajkan01/add_cmake_greentea_platform
...
CMake: Add CMake to platform greentea test
2021-01-05 17:08:30 +00:00
Martin Kojtal
dd4eca1b69
Merge pull request #14100 from hugueskamba/hk_cmake_fix_ambiq_ble
...
CMake: Fix path to Ambiq BLE source file
2021-01-05 15:50:32 +00:00
Martin Kojtal
d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
...
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Rajkumar Kanagaraj
eb9bb7bf33
Apply suggestions from code review
...
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-05 06:52:44 -08:00
Rajkumar Kanagaraj
634d3be5f0
Incorporating the review comments
2021-01-05 06:52:12 -08:00
Rajkumar Kanagaraj
bcbd243b1b
Create Greentea CMake Macro
2021-01-05 06:52:12 -08:00
Rajkumar Kanagaraj
9596c1beea
CMake: Add platform greentea test with CMake
2021-01-05 06:52:12 -08:00
Martin Kojtal
6e81af259c
Merge pull request #14068 from rvasquez6089/master
...
Enabled USBDevice in targets.json for H743ZI2
2021-01-05 14:51:03 +00:00
Hugues Kamba
a1e80925af
CMake: Fix path to Ambiq BLE source file
...
Update the hci_drv_apollo3.c listing as the file location was changed.
2021-01-05 13:50:50 +00:00
Martino Facchin
62b6cc9a05
cmake: STM32H7: enable PORTENTA* target
2021-01-05 14:49:37 +01:00
Martin Kojtal
e1d1753726
Merge pull request #14111 from paul-szczepanek-arm/ble-fix-ext
...
BLE: fix scanning/advertising when extended features are available but disabled on host
2021-01-05 13:28:13 +00:00
jeromecoutant
d689e90917
STM32: RESET GPIO during init is configurable
...
Default value is disabled
2021-01-05 13:56:07 +01:00
Martin Kojtal
9c0cfa9a44
Merge pull request #14078 from hugueskamba/hk_rename_ospif_include_dir
...
CMake: Add support for OSPIF blockdevice
2021-01-05 11:26:43 +00:00
Martin Kojtal
ce825bcd45
Merge pull request #14084 from paul-szczepanek-arm/gatt-copy-callbacks
...
BLE: Fix GattServer callbacks not being copied to GattServer instance of the service
2021-01-05 11:26:25 +00:00
Martin Kojtal
82fbf7f406
Merge pull request #14074 from harmut01/port_toshiba_targets
...
CMake: Add cmake support for Toshiba targets
2021-01-05 10:27:34 +00:00
Martin Kojtal
7ad4304c8e
Merge pull request #14112 from paul-szczepanek-arm/fix-arm-compile
...
ARM linking issue: compile out trace when not available
2021-01-05 09:45:27 +00:00
Harrison Mutai
f8805df55b
CMake: add cmake support for Toshiba targets
2021-01-05 09:20:41 +00:00
paul.szczepanek@arm.com
2e714f4b6f
compile out trace when not available
2021-01-04 19:38:03 +00:00
paul.szczepanek@arm.com
6746573b34
add missing guards for extended advertising feature
2021-01-04 18:05:50 +00:00
Paul Szczeanek
5e99ea8d7e
correct the documentation for GattServer::addService
2021-01-04 17:11:03 +00:00
Paul Szczeanek
cdc8845b3c
copy authorsation callbacks to gattserver
2021-01-04 17:11:03 +00:00
Martino Facchin
26f758d83c
cmake: STM32H7: fix stm32h747 targets
...
This needs to be defined for "final" targets not contained in their processor subdirectory
2021-01-04 18:04:03 +01:00
Martin Kojtal
c28f0d64dc
Merge pull request #14108 from 0xc0170/travis_remove_py3.5
...
travis: set attrs to 19.1.0, fixes python 3.5 issue
2021-01-04 16:53:30 +00:00
Martino Facchin
a723b4ce23
cmake: STM32H7: fix mbed-emac target
2021-01-04 17:31:54 +01:00