Skip to content

New support for the STM NUCLEO_L433RC-P board #5230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 717 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
717 commits
Select commit Hold shift + click to select a range
739b59b
Copy edit GattService.h
Nov 7, 2017
6e45541
Copy edit SafeBool.h
Nov 7, 2017
4702ff2
Copy edit GapAdvertisingParams.h
Nov 7, 2017
71bc3f7
Copy edit blecommon.h
Nov 7, 2017
1720a48
Copy edit UUID.h
Nov 7, 2017
fcb50dd
Copy edit ServiceDiscovery.h
Nov 7, 2017
9052cf4
Copy edit GattAttribute.h
Nov 7, 2017
91fa78d
Copy edit GapScanningParams.h
Nov 7, 2017
5178f89
Copy edit GattCallbackParamTypes.h
Nov 7, 2017
6e20887
Copy edit GattServer.h
Nov 7, 2017
4118afa
[M487/NUC472] TRN_Get support 32 bytes unalignment
cyliangtw Nov 8, 2017
2eaf58d
Merge pull request #5445 from 0xc0170/fix_realtek_remove_wifi_config
0xc0170 Nov 8, 2017
d9bda28
STM32F4: Flash: fix 2MB GetSector computation
LMESTM Nov 8, 2017
48a49b4
STM32: remove trailing white spaces
LMESTM Nov 8, 2017
76c2c19
[M487/NUC472] Unified code-path for remaining bytes of TRNG_Get
cyliangtw Nov 8, 2017
3a80f8b
Copy edit Gap.h
Nov 8, 2017
6f7f5ae
Copy edit GattClient.h
Nov 8, 2017
bdf0cbb
Copy edit GapAdvertisingData.h
Nov 8, 2017
3dc28ce
Copy edit GattCharacteristic.h
Nov 8, 2017
d5122c5
- Removed .mbedignore due to an issue with the eclipse exporter not p…
dave-wu Nov 9, 2017
e252b10
[M487/NUC472] zeroize random data on the stack memory
cyliangtw Nov 9, 2017
17c86d1
STM32F412 IAR linker file issue
jeromecoutant Nov 9, 2017
05cf468
Update HAL library to fix lockup issue
Archcady Nov 9, 2017
6af9a5a
Remove lines to improve readability
Archcady Nov 9, 2017
82933bf
Merge pull request #5463 from jeromecoutant/PR_IAR_F412
0xc0170 Nov 9, 2017
66054f4
Merge pull request #5455 from LMESTM/flash_2MB_GetSector_fix
0xc0170 Nov 9, 2017
a65d37e
Merge pull request #5453 from marcuschangarm/rtl8195am_flash
0xc0170 Nov 9, 2017
75537a8
Merge pull request #5436 from LMESTM/rmii_wa_extension
0xc0170 Nov 9, 2017
249ed02
Merge pull request #5430 from maciejbocianski/malloc_fix2
0xc0170 Nov 9, 2017
242c870
Merge pull request #5428 from kjbracey-arm/rtos_attrs
0xc0170 Nov 9, 2017
dbda1b1
Merge pull request #5426 from pan-/fix_hvx_handling
0xc0170 Nov 9, 2017
adfe004
Merge pull request #5425 from fkjagodzinski/test-rtostimer-update
0xc0170 Nov 9, 2017
18393f3
Merge pull request #5424 from jeromecoutant/PR_L496
0xc0170 Nov 9, 2017
f17355f
Merge pull request #5422 from soramame21/master
0xc0170 Nov 9, 2017
c3a14c9
Merge pull request #5270 from ryankurte/fix/nanostack-efr32-threading
0xc0170 Nov 9, 2017
2b39144
Merge pull request #5390 from 0xc0170/fix_fire_int_ncs
0xc0170 Nov 9, 2017
c45dd26
Merge pull request #3648 from c1728p9/condition_variable
0xc0170 Nov 9, 2017
fbd9e7e
Merge pull request #5372 from SenRamakri/sen_PlatformDoxygenUpdates
0xc0170 Nov 9, 2017
6713513
Merge pull request #5370 from maciejbocianski/event_queue_mem_fix
0xc0170 Nov 9, 2017
494c25d
Merge pull request #5344 from gorazdko/add-new-target-L-TEK-FF-LPC546XX
0xc0170 Nov 9, 2017
555ae12
Merge pull request #5328 from MikeDK/master
0xc0170 Nov 9, 2017
c67d91a
Merge pull request #5322 from chrissnow/LPC1768_LWIP
0xc0170 Nov 9, 2017
8acf00a
Merge pull request #5319 from kegilbert/fix-build-warnings
0xc0170 Nov 9, 2017
82f5b58
Merge pull request #5295 from pan-/GAP-platform-abstraction-layer
0xc0170 Nov 9, 2017
589d76e
Merge pull request #5058 from 0x6d61726b/patch-2
0xc0170 Nov 9, 2017
0d1dc83
Merge pull request #5432 from JammuKekkonen/master
0xc0170 Nov 9, 2017
5fe03af
Increase flash program granularity on Realtek RTL8195AM
Nov 9, 2017
423cd23
BLE: Update BatteryService documentation.
pan- Nov 9, 2017
a072995
Reorganize defines for firmware updates on Realtek RTL8195AM
Nov 9, 2017
5213453
Copy edit BatteryService.h
Nov 9, 2017
8c5c905
Limit size of equeue for sigio net test
sarahmarshy Nov 9, 2017
2ee058b
[M487/NUC472] Refine for correctness control
cyliangtw Nov 10, 2017
47bae16
Merge pull request #5305 from andcor02/master
0xc0170 Nov 10, 2017
c10dd0a
RZ_A1H: Fix cmsis header name
bulislaw Jul 4, 2017
855844f
Update CThunk to support new CMSIS Cortex A ops
bulislaw Jul 25, 2017
717087c
Renesas: Add empty mbed_rtx.h
Jul 25, 2017
048a896
Update definitions of CPSR modes
Jul 25, 2017
8eebcff
Disable heap and stack tests for Cortex A
bulislaw Sep 5, 2017
4b354f8
Update include paths to match updated CMSIS
bulislaw Oct 12, 2017
2ea01ac
Enabled restrict keyword for IAR
bulislaw Oct 18, 2017
7bee352
Update SysTick API usage for tickless mode
bulislaw Oct 18, 2017
106f34e
Add arm_math.h
bulislaw Oct 19, 2017
c5a5438
Update params in calls to LD/STREXW to be uint32_t
bulislaw Oct 19, 2017
6e11dc2
Modification to arm_math.h
bulislaw Oct 20, 2017
a451498
rtl8195am - remove redundant header file inclusion
tung7970 Oct 24, 2017
220652f
BLE: Fix assertion in Battery service.
pan- Nov 10, 2017
93a4a2a
BLE: update heart rate service definition.
pan- Nov 10, 2017
1dc3941
Apply feedback by @Patater
stevew817 Nov 11, 2017
ed8f0a8
Copied TARGET_STM32L432 to TARGET_STM32L433
helmut64 Sep 30, 2017
563b880
Added proper Pin and Peripheral defines for the STM433RC Nucleo.
helmut64 Sep 30, 2017
906d5cd
Added stm32l433xx.h defined STM32L433xx
helmut64 Sep 30, 2017
d0ad790
Renmed 432 startup files to 433
helmut64 Sep 30, 2017
4664f3b
Updated startup.s files for the 433 vectors (ARM/GCC/IAR)
helmut64 Sep 30, 2017
4c21a2c
disabled CAN define like in other STM platforms, we use CAN1 instead
helmut64 Oct 1, 2017
ab94385
Added TARGET_STM32L433RC stack size define into mbed_rtx.h
helmut64 Oct 1, 2017
1fea548
Added NUCLEO_L433RC into build targets
helmut64 Oct 1, 2017
3c87e3e
Added support for 433 100 pins versions and 48 pin versions via extra…
helmut64 Oct 1, 2017
f907e3b
Changed PinMap mapping to be weak linking. This allows
helmut64 Oct 1, 2017
63e3205
Disabled LPUART on PA_2/PA_3 because this is in conflict with SERIAL_…
helmut64 Oct 1, 2017
f0ca7fd
Updated 433RC name to accurate names
helmut64 Oct 2, 2017
9582a9e
Added missing PC5, PD2 pins,
helmut64 Oct 2, 2017
c027c30
Renamed folder TARGET_NUCLEO_L433RC to TARGET_NUCLEO_L433RC_P
helmut64 Oct 2, 2017
b40ff55
removed the TIM6/TIM7 TODOs, no PWM support this this.
helmut64 Oct 2, 2017
efe2787
Removed illegal entered char
helmut64 Oct 2, 2017
3493a60
Added the alternative pin names and adjusted the mappings.
helmut64 Oct 2, 2017
eeabf9b
Enabled SERIAL_ASYNCH for the NUCLEO 433RC target
helmut64 Oct 4, 2017
d928ea1
Added bootloader support for STM32L433RC_P and STM32L432KC targets
helmut64 Oct 5, 2017
e7a0531
Added NVIC_FLASH_VECTOR_ADDRESS into system_clock.c for 433RC_P and 4…
helmut64 Oct 5, 2017
c41827f
Added linker updated files for 433RC and 432KC to use the
helmut64 Oct 5, 2017
099db62
Added MORPHO into NUCLEO_L433RC_P target because it has
helmut64 Oct 8, 2017
4a0c4e3
Added missing ifdef for STM32L432 case.
helmut64 Oct 9, 2017
9037ea1
Merge branch 'NUCLEO_STM32L433_SUPPORT' of https://github.com/helmut6…
helmut64 Nov 11, 2017
d8a9e35
[M487/NUC472] Refine trng_get_bytes for consistency and readability
cyliangtw Nov 13, 2017
d49899a
Provide fix for Timer and LowPowerTimer tests (time accumulation).
mprse Nov 13, 2017
d962f67
Move Timer test, modify ASERT macros, fix comments.
mprse Nov 13, 2017
78e1362
Provide fix for Issue #5468.
mprse Nov 13, 2017
a855251
Copy edit HeartRateService.h
Nov 13, 2017
c0f6b25
DISCO_L072CZ: align SetSysClock_PLL_HSE() with SetSysClock_PLL_HSI()
bcostm Nov 13, 2017
104295b
DISCO_L072CZ: add comment in clock_source config
bcostm Nov 13, 2017
edb8650
Fix bug for issue 5462, initial pin value not retained
nvlsianpu Nov 13, 2017
13d43d7
Merge pull request #5144 from dave-wu/ev-cog-ad4050lz
theotherjimmy Nov 13, 2017
ee76bd8
Merge pull request #5231 from jrobeson/add-rblab-blenano2
theotherjimmy Nov 13, 2017
757a4e3
Merge pull request #5464 from Archcady/Fix_lockup
theotherjimmy Nov 13, 2017
4185c1a
Merge pull request #5471 from marcuschangarm/rtl8195_flash_page
theotherjimmy Nov 13, 2017
f091255
Merge pull request #5473 from marcuschangarm/rtl8195am_ota
theotherjimmy Nov 13, 2017
1394bf9
Merge pull request #5474 from sarahmarshy/sigio-test-fix
theotherjimmy Nov 13, 2017
49b0522
Use ethernet as default config if target has LWIP feature
Oct 17, 2017
b3e8dec
Updated get_test_config function returns comment
Oct 17, 2017
5fbc88f
Updated if statements for conciseness
Oct 17, 2017
fbdd019
Removed special config for K64F
Oct 17, 2017
0ef4e28
STM32: Add support of CAN3 on STM32F413/F767
bcostm Nov 13, 2017
be2a6ae
STM32: Use CAN3_BASE + typos
bcostm Nov 14, 2017
3aa4bf4
Platform: fix end of line whitespace
pan- Nov 14, 2017
5310451
Platform: Add MBED_PRETTY_FUNCTION macro.
pan- Nov 14, 2017
80c9f8b
Platform: Turn NonCopyable compile time error into warnings.
pan- Nov 14, 2017
c0164d6
Remove mbed-cloud-client-example-internal.
adbridge Nov 14, 2017
82a58ac
Added support for ADI EV-COG-AD3029LZ platform.
dave-wu Sep 19, 2017
f0aed41
DISCO_L072CZ: remove dead code
bcostm Nov 15, 2017
2e2b408
STM32: fix compilation error with STM32F1
bcostm Nov 15, 2017
2d8d8ae
STM32: fix error with CAN_3 not defined
bcostm Nov 15, 2017
be42c6d
STM32: HAL smartcard, fix memory corruption in Receive
LMESTM Nov 15, 2017
a7f31c9
malloc test refactoring
maciejbocianski Nov 15, 2017
41eb565
Merge pull request #5342 from ARMmbed/feature_cortex_a
0xc0170 Nov 15, 2017
4016742
Cleaned up some formatting issues.
dave-wu Nov 15, 2017
51430cd
Updated code as per Python style guide
Nov 13, 2017
d4f7291
Corrected the input to remove command
Nov 15, 2017
93cf15d
Fix and add test for ConditionVariable
c1728p9 Nov 15, 2017
2880945
[M487/NUC472/NANO130] fix TRUE/FALSE redefinition
cyliangtw Nov 8, 2017
452e290
FATFileSystem: provide working dir_rewind and dir_seek
Nov 14, 2017
45aa213
Added SystemCoreClock as an extern.
dave-wu Nov 16, 2017
5f86ae5
STM32L072CZ error in ARM sct file name
jeromecoutant Nov 16, 2017
7635319
DISCO_L072CZ_LRWAN1 can use LSE from LORA module (more precise than LSI)
jeromecoutant Nov 16, 2017
f36922c
Merge pull request #5510 from 0xc0170/fix_nuvoton_truefalse
0xc0170 Nov 16, 2017
2f9cf47
Merge pull request #5508 from c1728p9/condition_variable_fix
0xc0170 Nov 16, 2017
dc6dd59
Merge pull request #5505 from LMESTM/fix_smartcard_HAL
0xc0170 Nov 16, 2017
d6d9afc
Merge pull request #5499 from adbridge/master
0xc0170 Nov 16, 2017
114e019
Merge pull request #5486 from bcostm/fix_CAN3
0xc0170 Nov 16, 2017
1fa09fa
Merge pull request #5487 from nvlsianpu/bugfix_5462_initial_pin_value
0xc0170 Nov 16, 2017
4198695
Merge pull request #5485 from pan-/non-copyable-warning
0xc0170 Nov 16, 2017
01bc434
Merge pull request #5482 from bcostm/fix_disco_l072cz_extclock
0xc0170 Nov 16, 2017
bc92e40
Merge pull request #5475 from pan-/doc_heart_rate_service
0xc0170 Nov 16, 2017
b76b3f7
Merge pull request #5472 from pan-/doc_battery_service
0xc0170 Nov 16, 2017
d8d8c28
Merge pull request #5452 from 0xc0170/fix_i2c_onsemi
0xc0170 Nov 16, 2017
eb5d3ff
Merge pull request #5403 from mprse/timer_test_delta_fix
0xc0170 Nov 16, 2017
81dbd03
Merge pull request #5392 from pan-/improve-ble-docs
0xc0170 Nov 16, 2017
2a7fcdf
Merge pull request #5296 from pan-/generic-access-service-abstraction…
0xc0170 Nov 16, 2017
56aa7c3
Merge pull request #5261 from maciejbocianski/ticker_tests2
0xc0170 Nov 16, 2017
3bedff3
Merge pull request #4825 from SiliconLabs/feature/mbedtls-hw-accel
0xc0170 Nov 16, 2017
6720bfd
Merge pull request #5335 from yennster/test-configs-update
theotherjimmy Nov 16, 2017
313458b
STM32F407VG: Fix RTC
fbmrk Nov 17, 2017
b025ea1
Merge pull request #5137 from dave-wu/master
0xc0170 Nov 17, 2017
dc9eab7
STM32 USBDevice: Add DISCO_F429ZI
bcostm Nov 17, 2017
57722eb
STM32 USBDevice: Update targets.json for DISCO_F429ZI
bcostm Nov 17, 2017
2e2744c
STM32F0 ADC: remove adc_inited flag
bcostm Nov 14, 2017
36110e1
STM32F1 ADC: remove adc_inited flag
bcostm Nov 14, 2017
f12391a
STM32F2 ADC: remove adc_inited flag
bcostm Nov 14, 2017
7005bc2
STM32F3 ADC: remove adc_inited flag
bcostm Nov 14, 2017
d5ff05a
STM32F4 ADC: remove adc_inited flag
bcostm Nov 14, 2017
75f80ab
STM32F7 ADC: remove adc_inited flag
bcostm Nov 14, 2017
4b82479
STM32L0 ADC: remove adc_inited flag
bcostm Nov 7, 2017
52d942e
STM32L1 ADC: remove adc_inited flag
bcostm Nov 14, 2017
072ec2e
STM32L4 ADC: remove adc_inited flag
bcostm Nov 14, 2017
4dbe95d
STM32: rename analogin_api.c in analogin_device.c
bcostm Nov 14, 2017
34fdcc9
STM32: move analogin_read functions in a common file
bcostm Nov 14, 2017
2bbedab
STM32: add analogin_api.c file in STM folder
bcostm Nov 14, 2017
1d3eb50
STM32: fix linker error with adc_read()
bcostm Nov 14, 2017
c54e907
STM32 ADC: replace flags type from int to bool
bcostm Nov 17, 2017
d62b473
lpc546xx: fix adc
Nov 16, 2017
c4351d3
BLE: Update GattAttribute documentation.
pan- Nov 17, 2017
8411134
lpc546xx: correct register name (DIGIMODE)
Nov 17, 2017
83409c5
Fixed: errno update failure with IAR8.2
Nov 17, 2017
beb0b20
Use retarget defines where possible
c1728p9 Nov 18, 2017
5c2f2c3
lpc546xx: remove obsolete line
Nov 18, 2017
bc10335
heap_and_stack test refactoring
maciejbocianski Nov 8, 2017
8a1c29c
TARGET_STM32L4: added missing #ifdef in serial_device.c
MikeDK Nov 20, 2017
29ae97c
NUCLEO_L432KC: added SERIAL_ASYNC to targets.json
MikeDK Nov 20, 2017
593eab2
Merge pull request #5123 from maciejbocianski/signal_tests
theotherjimmy Nov 20, 2017
41dcd25
Merge pull request #5196 from kegilbert/multicast-ipv6-2
theotherjimmy Nov 20, 2017
08f3402
Merge pull request #5407 from deepikabhavnani/importer_script
theotherjimmy Nov 20, 2017
ac891af
Merge pull request #5503 from infinnovation/rewinddir
theotherjimmy Nov 20, 2017
800be4e
Merge pull request #5512 from jeromecoutant/PR_L072
theotherjimmy Nov 20, 2017
a519b84
Merge pull request #5518 from fbmrk/issue_5514
theotherjimmy Nov 20, 2017
abe431f
Prevent traceback when memap fails to parse
c1728p9 Nov 18, 2017
d153af3
BLE: Update GattServer documentation.
pan- Nov 21, 2017
036ea46
Update GattAttribute.h
Nov 21, 2017
70041c1
Update GattCharacteristic.h
Nov 21, 2017
1da844b
Update GattServer.h
Nov 21, 2017
8e7d74c
Update GattService.h
Nov 21, 2017
8b86d44
[M487] Fix premature lp_ticker interrupt
ccli8 Oct 23, 2017
bc9c9ca
[M487] Remove trailing space in lp_ticker/us_ticker
ccli8 Nov 8, 2017
23408e4
Merge pull request #5299 from pan-/ble-generic-event-filter
theotherjimmy Nov 22, 2017
308833b
Merge pull request #5323 from maciejbocianski/malloc_tests
theotherjimmy Nov 22, 2017
cfa9e47
Merge pull request #5483 from maciejbocianski/heap_and_stack_tests
theotherjimmy Nov 22, 2017
ced2f74
Merge pull request #5513 from bcostm/fix_adc_inited
theotherjimmy Nov 22, 2017
a834425
Merge pull request #5516 from gorazdko/lpc546xx-fix-adc
theotherjimmy Nov 22, 2017
5e7851c
Merge pull request #5521 from bcostm/dev_usbdevice_disco-f429zi
theotherjimmy Nov 22, 2017
b6e50f5
Merge pull request #5525 from deepikabhavnani/errno_fix
theotherjimmy Nov 22, 2017
4b57c58
Merge pull request #5528 from c1728p9/simplify_retarget
theotherjimmy Nov 22, 2017
369187c
Merge pull request #5535 from MikeDK/nucleo_l432kc_async_serial_fix
theotherjimmy Nov 22, 2017
941f572
Merge pull request #5539 from c1728p9/prevent_traceback
theotherjimmy Nov 22, 2017
b7a7d4e
Merge pull request #5553 from 0xc0170/OpenNuvoton-nuvoton_fix_lpticker
theotherjimmy Nov 22, 2017
1ea4e4c
Merge pull request #5549 from pan-/ble-gatt-server-doc-update
theotherjimmy Nov 22, 2017
ab1b3ae
Merge pull request #5454 from OpenNuvoton/trng_get_unalignment
theotherjimmy Nov 22, 2017
e78998e
Definition for stat was missing in header file
Nov 22, 2017
4e22295
Merge pull request #5561 from deepikabhavnani/retarget_fix
0xc0170 Nov 23, 2017
3fcc1f5
Copied TARGET_STM32L432 to TARGET_STM32L433
helmut64 Sep 30, 2017
e62ecb9
Added proper Pin and Peripheral defines for the STM433RC Nucleo.
helmut64 Sep 30, 2017
a5fbe3b
Added stm32l433xx.h defined STM32L433xx
helmut64 Sep 30, 2017
3abeed8
Renmed 432 startup files to 433
helmut64 Sep 30, 2017
4771a71
Updated startup.s files for the 433 vectors (ARM/GCC/IAR)
helmut64 Sep 30, 2017
bd01946
disabled CAN define like in other STM platforms, we use CAN1 instead
helmut64 Oct 1, 2017
315cb32
Added TARGET_STM32L433RC stack size define into mbed_rtx.h
helmut64 Oct 1, 2017
913ba01
Added NUCLEO_L433RC into build targets
helmut64 Oct 1, 2017
1c887d2
Added support for 433 100 pins versions and 48 pin versions via extra…
helmut64 Oct 1, 2017
03b083e
Changed PinMap mapping to be weak linking. This allows
helmut64 Oct 1, 2017
d5c22cb
Disabled LPUART on PA_2/PA_3 because this is in conflict with SERIAL_…
helmut64 Oct 1, 2017
7b738b1
Updated 433RC name to accurate names
helmut64 Oct 2, 2017
0337938
Added missing PC5, PD2 pins,
helmut64 Oct 2, 2017
aeea67c
Renamed folder TARGET_NUCLEO_L433RC to TARGET_NUCLEO_L433RC_P
helmut64 Oct 2, 2017
6f808b9
removed the TIM6/TIM7 TODOs, no PWM support this this.
helmut64 Oct 2, 2017
4b10455
Removed illegal entered char
helmut64 Oct 2, 2017
229ebff
Added the alternative pin names and adjusted the mappings.
helmut64 Oct 2, 2017
aa6929f
Enabled SERIAL_ASYNCH for the NUCLEO 433RC target
helmut64 Oct 4, 2017
4319066
Added bootloader support for STM32L433RC_P and STM32L432KC targets
helmut64 Oct 5, 2017
c68cf5d
Added NVIC_FLASH_VECTOR_ADDRESS into system_clock.c for 433RC_P and 4…
helmut64 Oct 5, 2017
21ad784
Added linker updated files for 433RC and 432KC to use the
helmut64 Oct 5, 2017
533bae6
Added MORPHO into NUCLEO_L433RC_P target because it has
helmut64 Oct 8, 2017
a0c6446
Added missing ifdef for STM32L432 case.
helmut64 Oct 9, 2017
9ea50c6
Copied TARGET_STM32L432 to TARGET_STM32L433
helmut64 Sep 30, 2017
247754c
Added proper Pin and Peripheral defines for the STM433RC Nucleo.
helmut64 Sep 30, 2017
bb0ce82
Added stm32l433xx.h defined STM32L433xx
helmut64 Sep 30, 2017
8c8d7d9
Renmed 432 startup files to 433
helmut64 Sep 30, 2017
3989123
Updated startup.s files for the 433 vectors (ARM/GCC/IAR)
helmut64 Sep 30, 2017
0da13bc
disabled CAN define like in other STM platforms, we use CAN1 instead
helmut64 Oct 1, 2017
03bb435
Added NUCLEO_L433RC into build targets
helmut64 Oct 1, 2017
91bb04c
Added support for 433 100 pins versions and 48 pin versions via extra…
helmut64 Oct 1, 2017
98517a8
Changed PinMap mapping to be weak linking. This allows
helmut64 Oct 1, 2017
9d491c8
Disabled LPUART on PA_2/PA_3 because this is in conflict with SERIAL_…
helmut64 Oct 1, 2017
6a8155f
Updated 433RC name to accurate names
helmut64 Oct 2, 2017
340c99a
Added missing PC5, PD2 pins,
helmut64 Oct 2, 2017
7800a36
Renamed folder TARGET_NUCLEO_L433RC to TARGET_NUCLEO_L433RC_P
helmut64 Oct 2, 2017
f22fc61
removed the TIM6/TIM7 TODOs, no PWM support this this.
helmut64 Oct 2, 2017
a5ba0fc
Removed illegal entered char
helmut64 Oct 2, 2017
524356d
Added the alternative pin names and adjusted the mappings.
helmut64 Oct 2, 2017
0391b4e
Enabled SERIAL_ASYNCH for the NUCLEO 433RC target
helmut64 Oct 4, 2017
6b54a6e
Added bootloader support for STM32L433RC_P and STM32L432KC targets
helmut64 Oct 5, 2017
c695e01
Added NVIC_FLASH_VECTOR_ADDRESS into system_clock.c for 433RC_P and 4…
helmut64 Oct 5, 2017
d406d76
Added linker updated files for 433RC and 432KC to use the
helmut64 Oct 5, 2017
428040d
Added MORPHO into NUCLEO_L433RC_P target because it has
helmut64 Oct 8, 2017
37cc297
Merge branch 'NUCLEO_STM32L433_SUPPORT' of https://github.com/helmut6…
helmut64 Nov 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
Notes:
* Pull requests will not be accepted until the submitter has agreed to the [contributer agreement](https://github.com/ARMmbed/mbed-os/blob/master/CONTRIBUTING.md).
* This is just a template, so feel free to use/remove the unnecessary things
- Pull requests will not be accepted until the submitter has agreed to the [contributer agreement](https://github.com/ARMmbed/mbed-os/blob/master/CONTRIBUTING.md).
- This is just a template, so feel free to use/remove the unnecessary things

## Description
A few sentences describing the overall goals of the pull request's commits.

A few sentences describing the overall goals of the pull request's commits.

## Status
**READY/IN DEVELOPMENT/HOLD**

**READY/IN DEVELOPMENT/HOLD**

## Migrations

If this PR changes any APIs or behaviors, give a short description of what *API users* should do when this PR is merged.

YES | NO


## Related PRs

List related PRs against other branches:

branch | PR
------ | ------
other_pr_production | [link]()
other_pr_master | [link]()


## Todos

- [ ] Tests
- [ ] Documentation


## Deploy notes
Notes regarding the deployment of this PR. These should note any
required changes in the build environment, tools, compilers, etc.

Notes regarding the deployment of this PR. These should note any required changes in the build environment, tools, compilers and so on.

## Steps to test or reproduce

Outline the steps to test or reproduce the PR here.
5 changes: 4 additions & 1 deletion TESTS/events/queue/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

using namespace utest::v1;

#define TEST_EQUEUE_SIZE 1024
// TEST_EQUEUE_SIZE was reduced below 1024B to fit this test to devices with small RAM (RAM <= 16kB)
// additionally TEST_EQUEUE_SIZE was expressed in EVENTS_EVENT_SIZE to increase readability
// (for more details about EVENTS_EVENT_SIZE see EventQueue constructor)
#define TEST_EQUEUE_SIZE (18*EVENTS_EVENT_SIZE)

// flag for called
volatile bool touched = false;
Expand Down
15 changes: 9 additions & 6 deletions TESTS/mbed_drivers/echo/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@ using namespace utest::v1;
// Echo server (echo payload to host)
template<int N>
void test_case_echo_server_x() {
char _key[10] = {};
char _key[11] = {};
char _value[128] = {};
const int echo_count = N;
const char _key_const[] = "echo_count";
int expected_key = 1;

greentea_send_kv(_key_const, echo_count);
// Handshake with host
greentea_send_kv("echo_count", echo_count);
greentea_parse_kv(_key, _value, sizeof(_key), sizeof(_value));
do {
greentea_parse_kv(_key, _value, sizeof(_key), sizeof(_value));
expected_key = strcmp(_key_const, _key);
} while (expected_key);
TEST_ASSERT_EQUAL_INT(echo_count, atoi(_value));

for (int i=0; i < echo_count; ++i) {
Expand All @@ -48,12 +53,10 @@ utest::v1::status_t greentea_failure_handler(const Case *const source, const fai

Case cases[] = {
Case("Echo server: x16", test_case_echo_server_x<16>, greentea_failure_handler),
Case("Echo server: x32", test_case_echo_server_x<32>, greentea_failure_handler),
Case("Echo server: x64", test_case_echo_server_x<64>, greentea_failure_handler),
};

utest::v1::status_t greentea_test_setup(const size_t number_of_cases) {
GREENTEA_SETUP(180, "echo");
GREENTEA_SETUP(30, "echo");
return greentea_test_setup_handler(number_of_cases);
}

Expand Down
221 changes: 221 additions & 0 deletions TESTS/mbed_drivers/lp_ticker/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
/* mbed Microcontroller Library
* Copyright (c) 2013-2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "utest/utest.h"
#include "unity/unity.h"


#if !DEVICE_LOWPOWERTIMER
#error [NOT_SUPPORTED] Low power ticker not supported for this target
#endif

using utest::v1::Case;

static const int test_timeout = 10;

#define TICKER_COUNT 16
#define MULTI_TICKER_TIME_MS 100

/* Due to poor accuracy of LowPowerTicker on many platforms
there is no sense to tune tolerance value as it was in Ticker tests.

Tolerance value is set to 2000us to cover this diversity */
#define TOLERANCE_US 2000


volatile uint32_t ticker_callback_flag;
volatile uint32_t multi_counter;
Timer gtimer;



void sem_release(Semaphore *sem)
{
sem->release();
}


void stop_gtimer_set_flag(void)
{
gtimer.stop();
core_util_atomic_incr_u32((uint32_t*)&ticker_callback_flag, 1);
}

void increment_multi_counter(void)
{
core_util_atomic_incr_u32((uint32_t*)&multi_counter, 1);;
}

/** Test many tickers run one after the other

Given many Tickers
When schedule them one after the other with the same time intervals
Then tickers properly execute callbacks
When schedule them one after the other with the different time intervals
Then tickers properly execute callbacks
*/
void test_multi_ticker(void)
{
LowPowerTicker ticker[TICKER_COUNT];
const uint32_t extra_wait = 10; // extra 10ms wait time

multi_counter = 0;
for (int i = 0; i < TICKER_COUNT; i++) {
ticker[i].attach_us(callback(increment_multi_counter), MULTI_TICKER_TIME_MS * 1000);
}

Thread::wait(MULTI_TICKER_TIME_MS + extra_wait);
for (int i = 0; i < TICKER_COUNT; i++) {
ticker[i].detach();
}
TEST_ASSERT_EQUAL(TICKER_COUNT, multi_counter);

multi_counter = 0;
for (int i = 0; i < TICKER_COUNT; i++) {
ticker[i].attach_us(callback(increment_multi_counter), (MULTI_TICKER_TIME_MS + i) * 1000);
}

Thread::wait(MULTI_TICKER_TIME_MS + TICKER_COUNT + extra_wait);
for (int i = 0; i < TICKER_COUNT; i++) {
ticker[i].detach();
}
TEST_ASSERT_EQUAL(TICKER_COUNT, multi_counter);
}

/** Test multi callback time

Given a Ticker
When the callback is attached multiple times
Then ticker properly execute callback multiple times
*/
void test_multi_call_time(void)
{
LowPowerTicker ticker;
int time_diff;
const int attach_count = 10;

for (int i = 0; i < attach_count; i++) {
ticker_callback_flag = 0;
gtimer.reset();

gtimer.start();
ticker.attach_us(callback(stop_gtimer_set_flag), MULTI_TICKER_TIME_MS * 1000);
while(!ticker_callback_flag);
time_diff = gtimer.read_us();

TEST_ASSERT_UINT32_WITHIN(TOLERANCE_US, MULTI_TICKER_TIME_MS * 1000, time_diff);
}
}

/** Test if detach cancel scheduled callback event

Given a Ticker with callback attached
When the callback is detached
Then the callback is not being called
*/
void test_detach(void)
{
LowPowerTicker ticker;
int32_t ret;
const float ticker_time_s = 0.1f;
const uint32_t wait_time_ms = 500;
Semaphore sem(0, 1);

ticker.attach(callback(sem_release, &sem), ticker_time_s);

ret = sem.wait();
TEST_ASSERT_TRUE(ret > 0);

ret = sem.wait();
ticker.detach(); /* cancel */
TEST_ASSERT_TRUE(ret > 0);

ret = sem.wait(wait_time_ms);
TEST_ASSERT_EQUAL(0, ret);
}

/** Test single callback time via attach

Given a Ticker
When callback attached with time interval specified
Then ticker properly executes callback within a specified time interval
*/
template<us_timestamp_t DELAY_US>
void test_attach_time(void)
{
LowPowerTicker ticker;
ticker_callback_flag = 0;

gtimer.reset();
gtimer.start();
ticker.attach(callback(stop_gtimer_set_flag), ((float)DELAY_US) / 1000000.0f);
while(!ticker_callback_flag);
ticker.detach();
const int time_diff = gtimer.read_us();

TEST_ASSERT_UINT64_WITHIN(TOLERANCE_US, DELAY_US, time_diff);
}

/** Test single callback time via attach_us

Given a Ticker
When callback attached with time interval specified
Then ticker properly executes callback within a specified time interval
*/
template<us_timestamp_t DELAY_US>
void test_attach_us_time(void)
{
LowPowerTicker ticker;
ticker_callback_flag = 0;

gtimer.reset();
gtimer.start();
ticker.attach_us(callback(stop_gtimer_set_flag), DELAY_US);
while(!ticker_callback_flag);
ticker.detach();
const int time_diff = gtimer.read_us();

TEST_ASSERT_UINT64_WITHIN(TOLERANCE_US, DELAY_US, time_diff);
}

// Test cases
Case cases[] = {
Case("Test attach for 0.001s and time measure", test_attach_time<1000>),
Case("Test attach_us for 1ms and time measure", test_attach_us_time<1000>),
Case("Test attach for 0.01s and time measure", test_attach_time<10000>),
Case("Test attach_us for 10ms and time measure", test_attach_us_time<10000>),
Case("Test attach for 0.1s and time measure", test_attach_time<100000>),
Case("Test attach_us for 100ms and time measure", test_attach_us_time<100000>),
Case("Test attach for 0.5s and time measure", test_attach_time<500000>),
Case("Test attach_us for 500ms and time measure", test_attach_us_time<500000>),
Case("Test detach", test_detach),
Case("Test multi call and time measure", test_multi_call_time),
Case("Test multi ticker", test_multi_ticker),
};

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
GREENTEA_SETUP(test_timeout, "timing_drift_auto");
return utest::v1::greentea_test_setup_handler(number_of_cases);
}

utest::v1::Specification specification(greentea_test_setup, cases, utest::v1::greentea_test_teardown_handler);

int main()
{
utest::v1::Harness::run(specification);
}
7 changes: 6 additions & 1 deletion TESTS/mbed_drivers/lp_timeout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ void lp_timeout_1s_deepsleep(void)
*/
timer.start();
lpt.attach(&cb_done, 1);
deepsleep();
/* Make sure deepsleep is allowed, to go to deepsleep */
bool deep_sleep_allowed = sleep_manager_can_deep_sleep();
TEST_ASSERT_TRUE_MESSAGE(deep_sleep_allowed, "Deep sleep should be allowed");
sleep();
while (!complete);

/* It takes longer to wake up from deep sleep */
Expand All @@ -75,6 +78,8 @@ void lp_timeout_1s_sleep(void)

sleep_manager_lock_deep_sleep();
lpt.attach(&cb_done, 1);
bool deep_sleep_allowed = sleep_manager_can_deep_sleep();
TEST_ASSERT_FALSE_MESSAGE(deep_sleep_allowed, "Deep sleep should be disallowed");
sleep();
while (!complete);
sleep_manager_unlock_deep_sleep();
Expand Down
Loading