Commit Graph
8 Commits
Author SHA1 Message Date
David Sidrane c8432ae273 esc35-v1 Use common/nuttx_stubs to not link scheduler 2017-03-24 16:22:47 +01:00
Beat Küng b0439836f6 refactor drv_led.h: rename to drv_board_led.h
This makes it clear that it's used to control the board LED's, not external
LED's.
2017-03-12 00:08:35 +01:00
Beat Küng df8f0da70c param & param_shmem: enable locking
We need to protect access to the param_values array. This is dynamically
allocated and resized (utarray_reserve() calls realloc). If some thread
was iterating the array while another was resizing the array, the first one
would iterate on a freed array, thus accessing invalid memory.

On NuttX this could lead to hardfaults in rare conditions.

Unfortunately we need to initialize the semaphore on startup, by calling
sem_init(). This adds a param_init() method called by every board/config
that uses the params (at least I think I've found all of them)
2017-02-17 11:27:08 +01:00
David Sidrane 278d6bb717 esc35-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
Daniel Agar ac06d665a3 astyle src/drivers/boards 2017-01-29 01:18:32 +01:00
David Sidrane ae872448fd esc35-v1 bootloader uses common board api for UUID 2017-01-25 07:43:11 +01:00
Beat Küng 8d1f35bff6 board cmake: remove board_name.c from all boards
leftover after rebase
2016-12-21 11:35:10 +01:00
David Sidrane cd8b759fed Adding esc35-v1 board and bootloader 2016-12-21 08:34:21 +01:00